Spotify Namespace Reference
The Spotify namespace provides podcast-specific metadata for Spotify's podcast platform, including episode limits and country targeting information.
| Namespace URI | http://www.spotify.com/ns/rss |
|---|---|
| Specification | Spotify Podcast Delivery Specification |
| Prefix | <spotify:*> |
| Available in | RSS |
| Property | spotify |
Types
INFO
For details on type parameters (TStrict) and Requirable<T> markers, see TypeScript Reference.
ts
export namespace SpotifyNs {
export type Limit = {
recentCount?: number
}
export type Partner<TStrict extends boolean = false> = Strict<
{
id: Requirable<string> // Required in spec.
},
TStrict
>
export type Sandbox<TStrict extends boolean = false> = Strict<
{
enabled: Requirable<boolean> // Required in spec.
},
TStrict
>
export type FeedAccess<TStrict extends boolean = false> = {
partner?: Partner<TStrict>
sandbox?: Sandbox<TStrict>
}
export type Entitlement<TStrict extends boolean = false> = Strict<
{
name: Requirable<string> // Required in spec.
},
TStrict
>
export type ItemAccess<TStrict extends boolean = false> = {
entitlement?: Entitlement<TStrict>
}
export type Feed<TStrict extends boolean = false> = {
limit?: Limit
countryOfOrigin?: string
access?: FeedAccess<TStrict>
}
export type Item<TStrict extends boolean = false> = {
access?: ItemAccess<TStrict>
}
}Related
- iTunes Namespace - Traditional podcast metadata
- Podcast Namespace - Podcasting 2.0 features
- Parsing Namespaces - How namespace parsing works