@portpowered/reference-data 0.4.7 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/generated/capabilities.json +579 -4
  2. package/generated/openapi.json +369 -40
  3. package/generated/public/docs/for-ai/capability-interfaces/media-player/1.0.md +1 -0
  4. package/generated/public/docs/for-ai/capability-interfaces/media-playlist/1.0.md +3 -0
  5. package/generated/public/docs/for-ai/capability-interfaces/media-search/1.0.md +2 -0
  6. package/generated/public/docs/for-ai/capability-interfaces/route-discovery/1.0.md +1 -1
  7. package/generated/public/docs/for-ai/schemas/m-1.md +6 -6
  8. package/generated/public/docs/for-ai/schemas/m-2.md +6 -0
  9. package/generated/public/docs/for-ai/schemas/p-2.md +2 -0
  10. package/generated/public/docs/for-ai/schemas/s-3.md +1 -0
  11. package/generated/public/docs/for-ai/schemas.md +4 -4
  12. package/generated/public/docs/references/capability-interfaces/media-player/1.0/attributes/now-playing.yaml +30 -0
  13. package/generated/public/docs/references/capability-interfaces/media-player/1.0/configuration.yaml +30 -0
  14. package/generated/public/docs/references/capability-interfaces/media-player/1.0/messages/play-media.yaml +11 -5
  15. package/generated/public/docs/references/capability-interfaces/media-player/1.0.yaml +73 -4
  16. package/generated/public/docs/references/capability-interfaces/media-player.yaml +73 -4
  17. package/generated/public/docs/references/capability-interfaces/media-playlist/1.0/messages/get-playlist.yaml +9 -0
  18. package/generated/public/docs/references/capability-interfaces/media-playlist/1.0/messages/list-playlists.yaml +15 -0
  19. package/generated/public/docs/references/capability-interfaces/media-playlist/1.0/messages/playlist-contents.yaml +114 -0
  20. package/generated/public/docs/references/capability-interfaces/media-playlist/1.0/messages/playlists.yaml +35 -0
  21. package/generated/public/docs/references/capability-interfaces/media-playlist/1.0.yaml +184 -0
  22. package/generated/public/docs/references/capability-interfaces/media-playlist.yaml +184 -0
  23. package/generated/public/docs/references/capability-interfaces/media-search/1.0/messages/audio-media-results.yaml +67 -0
  24. package/generated/public/docs/references/capability-interfaces/media-search/1.0/messages/get-media.yaml +32 -0
  25. package/generated/public/docs/references/capability-interfaces/media-search/1.0/messages/media-details.yaml +118 -0
  26. package/generated/public/docs/references/capability-interfaces/media-search/1.0/messages/search-media.yaml +15 -1
  27. package/generated/public/docs/references/capability-interfaces/media-search/1.0.yaml +235 -1
  28. package/generated/public/docs/references/capability-interfaces/media-search.yaml +235 -1
  29. package/generated/public/docs/references/capability-interfaces/recordings/1.0/messages/list-recordings-response.yaml +11 -5
  30. package/generated/public/docs/references/capability-interfaces/recordings/1.0.yaml +10 -5
  31. package/generated/public/docs/references/capability-interfaces/recordings.yaml +10 -5
  32. package/generated/public/docs/references/capability-interfaces/route-discovery/1.0.yaml +1 -1
  33. package/generated/public/docs/references/capability-interfaces/route-discovery.yaml +1 -1
  34. package/generated/public/docs/references/manifest.json +203 -83
  35. package/generated/public/docs/references/openapi.yaml +304 -38
  36. package/generated/public/docs/references/schemas/CreateMessageTarget.json +4 -0
  37. package/generated/public/docs/references/schemas/MediaId.json +3 -1
  38. package/generated/public/docs/references/schemas/MediaPlayerInterfaceConfiguration.json +7 -0
  39. package/generated/public/docs/references/schemas/MediaPlayerInterfaceNowPlayingAttribute.json +27 -0
  40. package/generated/public/docs/references/schemas/MediaPlaylistInterfaceGetPlaylistMessage.json +11 -0
  41. package/generated/public/docs/references/schemas/MediaPlaylistInterfaceListPlaylistsMessage.json +24 -0
  42. package/generated/public/docs/references/schemas/MediaPlaylistInterfacePlaylistContentsMessage.json +37 -0
  43. package/generated/public/docs/references/schemas/MediaPlaylistInterfacePlaylistsMessage.json +26 -0
  44. package/generated/public/docs/references/schemas/MediaSearchInterfaceAudioMediaResultsMessage.json +17 -0
  45. package/generated/public/docs/references/schemas/MediaSearchInterfaceGetMediaMessage.json +30 -0
  46. package/generated/public/docs/references/schemas/MediaSearchInterfaceMediaDetailsMessage.json +43 -0
  47. package/generated/public/docs/references/schemas/MediaSearchInterfaceSearchMediaMessage.json +13 -1
  48. package/generated/public/docs/references/schemas/Playlist.json +8 -0
  49. package/generated/public/docs/references/schemas/PodcastEpisode.json +30 -0
  50. package/generated/public/docs/references/schemas/PodcastShow.json +22 -0
  51. package/generated/public/docs/references/schemas/RouteDiscoveryInterfaceDiscoverRoutesMessage.json +1 -1
  52. package/generated/public/docs/references/schemas/SupportedMediaResource.json +34 -0
  53. package/generated/public/docs/references/schemas/configuration-6.json +6 -2
  54. package/generated/public/docs/references/schemas/index.json +54 -0
  55. package/generated/resources/media-player/configuration.json +37 -0
  56. package/generated/resources/media-player/message-play-media.json +3 -1
  57. package/generated/resources/media-player/state-now-playing.json +27 -0
  58. package/generated/resources/media-playlist/message-get-playlist.json +11 -0
  59. package/generated/resources/media-playlist/message-list-playlists.json +18 -0
  60. package/generated/resources/media-playlist/message-playlist-contents.json +140 -0
  61. package/generated/resources/media-playlist/message-playlists.json +46 -0
  62. package/generated/resources/media-search/message-audio-media-results.json +76 -0
  63. package/generated/resources/media-search/message-get-media.json +29 -0
  64. package/generated/resources/media-search/message-media-details.json +146 -0
  65. package/generated/resources/media-search/message-search-media.json +13 -1
  66. package/generated/resources/recordings/message-list-recordings-response.json +3 -1
  67. package/package.json +8 -3
@@ -53,9 +53,39 @@ messages:
53
53
  type: string
54
54
  description: ID of the playlist to retrieve
55
55
  minLength: 1
56
+ maxResults:
57
+ type: integer
58
+ minimum: 1
59
+ maximum: 50
60
+ default: 20
61
+ nextToken:
62
+ type: string
63
+ minLength: 1
64
+ description: Opaque continuation for the same playlist.
56
65
  required:
57
66
  - playlistId
58
67
  additionalProperties: false
68
+ - name: list-playlists
69
+ description: >-
70
+ List the connected customer's owned or followed playlists; use search-media for catalog
71
+ search.
72
+ directionality: in
73
+ schema:
74
+ description: >-
75
+ List the connected customer's owned or followed playlists; use search-media for catalog
76
+ search.
77
+ type: object
78
+ properties:
79
+ maxResults:
80
+ type: integer
81
+ minimum: 1
82
+ maximum: 50
83
+ default: 20
84
+ nextToken:
85
+ type: string
86
+ minLength: 1
87
+ required: []
88
+ additionalProperties: false
59
89
  - name: play-playlist
60
90
  description: null
61
91
  directionality: in
@@ -72,6 +102,160 @@ messages:
72
102
  required:
73
103
  - playlistId
74
104
  additionalProperties: false
105
+ - name: playlist-contents
106
+ description: A bounded playlist page containing playable tracks or episodes.
107
+ directionality: out
108
+ schema:
109
+ description: A bounded playlist page containing playable tracks or episodes.
110
+ type: object
111
+ properties:
112
+ playlistId:
113
+ title: MediaId
114
+ type: string
115
+ minLength: 1
116
+ example: portos-media://portpowered.com/spotify/audio/track/Ab123
117
+ pattern: >-
118
+ ^(portos-media://portpowered[.]com/[a-z][a-z0-9_-]*/(audio|video|image)/[a-z][a-z0-9_-]*/([^/?#\s]|%[0-9A-Fa-f]{2})+|https?://[^\s]+|portos://[^\s]+|youtube:video:[A-Za-z0-9_-]+)$
119
+ description: >
120
+ Exact provider resource identity. The canonical form is
121
+ portos-media://portpowered.com/provider/media-type/resource-kind/resource-id, with no
122
+ URI version. Spotify emits audio track, playlist, album, artist, show and episode
123
+ identities. Copy an ID returned by search or library discovery; do not send a search
124
+ phrase as an ID. Legacy providers retain their own input contracts until explicitly
125
+ migrated. See https://portpowered.com/docs/media.
126
+ tracks:
127
+ type: array
128
+ items:
129
+ type: object
130
+ description: Track information
131
+ properties:
132
+ id:
133
+ type: string
134
+ description: Unique identifier for the track
135
+ minLength: 1
136
+ name:
137
+ type: string
138
+ description: Track name
139
+ minLength: 1
140
+ artists:
141
+ type: array
142
+ items:
143
+ type: object
144
+ description: Artist information
145
+ properties:
146
+ id:
147
+ type: string
148
+ description: Unique identifier for the artist
149
+ minLength: 1
150
+ name:
151
+ type: string
152
+ description: Artist name
153
+ minLength: 1
154
+ required:
155
+ - id
156
+ - name
157
+ additionalProperties: false
158
+ title: Artist
159
+ description: Track artists
160
+ album:
161
+ description: Track album
162
+ type: object
163
+ properties:
164
+ id:
165
+ type: string
166
+ description: Unique identifier for the album
167
+ minLength: 1
168
+ name:
169
+ type: string
170
+ description: Album name
171
+ minLength: 1
172
+ artists:
173
+ type: array
174
+ items:
175
+ $ref: '#/properties/tracks/items/properties/artists/items'
176
+ description: Album artists
177
+ required:
178
+ - id
179
+ - name
180
+ - artists
181
+ additionalProperties: false
182
+ title: Album
183
+ required:
184
+ - id
185
+ - name
186
+ - artists
187
+ - album
188
+ additionalProperties: false
189
+ title: Track
190
+ episodes:
191
+ type: array
192
+ items:
193
+ type: object
194
+ description: Provider-qualified podcast episode with selection metadata.
195
+ properties:
196
+ id:
197
+ $ref: '#/properties/playlistId'
198
+ name:
199
+ type: string
200
+ minLength: 1
201
+ showId:
202
+ $ref: '#/properties/playlistId'
203
+ releaseDate:
204
+ type: string
205
+ description: Provider release date; precision can be year, month or day.
206
+ releaseDatePrecision:
207
+ type: string
208
+ description: Provider date precision.
209
+ required:
210
+ - id
211
+ - name
212
+ additionalProperties: false
213
+ title: PodcastEpisode
214
+ nextToken:
215
+ type: string
216
+ minLength: 1
217
+ required:
218
+ - playlistId
219
+ - tracks
220
+ - episodes
221
+ additionalProperties: false
222
+ - name: playlists
223
+ description: A page of the connected customer's playlists with exact resource IDs.
224
+ directionality: out
225
+ schema:
226
+ description: A page of the connected customer's playlists with exact resource IDs.
227
+ type: object
228
+ properties:
229
+ playlists:
230
+ type: array
231
+ items:
232
+ type: object
233
+ properties:
234
+ id:
235
+ type: string
236
+ description: Unique identifier for the playlist
237
+ minLength: 1
238
+ name:
239
+ type: string
240
+ description: Playlist name
241
+ minLength: 1
242
+ ownerId:
243
+ type: string
244
+ description: Provider-scoped owner identity, when supplied by the provider.
245
+ ownerName:
246
+ type: string
247
+ description: Owner display name, useful for distinguishing owned and followed playlists.
248
+ required:
249
+ - id
250
+ - name
251
+ additionalProperties: false
252
+ title: Playlist
253
+ nextToken:
254
+ type: string
255
+ minLength: 1
256
+ required:
257
+ - playlists
258
+ additionalProperties: false
75
259
  - name: remove-from-playlist
76
260
  description: null
77
261
  directionality: in
@@ -53,9 +53,39 @@ messages:
53
53
  type: string
54
54
  description: ID of the playlist to retrieve
55
55
  minLength: 1
56
+ maxResults:
57
+ type: integer
58
+ minimum: 1
59
+ maximum: 50
60
+ default: 20
61
+ nextToken:
62
+ type: string
63
+ minLength: 1
64
+ description: Opaque continuation for the same playlist.
56
65
  required:
57
66
  - playlistId
58
67
  additionalProperties: false
68
+ - name: list-playlists
69
+ description: >-
70
+ List the connected customer's owned or followed playlists; use search-media for catalog
71
+ search.
72
+ directionality: in
73
+ schema:
74
+ description: >-
75
+ List the connected customer's owned or followed playlists; use search-media for catalog
76
+ search.
77
+ type: object
78
+ properties:
79
+ maxResults:
80
+ type: integer
81
+ minimum: 1
82
+ maximum: 50
83
+ default: 20
84
+ nextToken:
85
+ type: string
86
+ minLength: 1
87
+ required: []
88
+ additionalProperties: false
59
89
  - name: play-playlist
60
90
  description: null
61
91
  directionality: in
@@ -72,6 +102,160 @@ messages:
72
102
  required:
73
103
  - playlistId
74
104
  additionalProperties: false
105
+ - name: playlist-contents
106
+ description: A bounded playlist page containing playable tracks or episodes.
107
+ directionality: out
108
+ schema:
109
+ description: A bounded playlist page containing playable tracks or episodes.
110
+ type: object
111
+ properties:
112
+ playlistId:
113
+ title: MediaId
114
+ type: string
115
+ minLength: 1
116
+ example: portos-media://portpowered.com/spotify/audio/track/Ab123
117
+ pattern: >-
118
+ ^(portos-media://portpowered[.]com/[a-z][a-z0-9_-]*/(audio|video|image)/[a-z][a-z0-9_-]*/([^/?#\s]|%[0-9A-Fa-f]{2})+|https?://[^\s]+|portos://[^\s]+|youtube:video:[A-Za-z0-9_-]+)$
119
+ description: >
120
+ Exact provider resource identity. The canonical form is
121
+ portos-media://portpowered.com/provider/media-type/resource-kind/resource-id, with no
122
+ URI version. Spotify emits audio track, playlist, album, artist, show and episode
123
+ identities. Copy an ID returned by search or library discovery; do not send a search
124
+ phrase as an ID. Legacy providers retain their own input contracts until explicitly
125
+ migrated. See https://portpowered.com/docs/media.
126
+ tracks:
127
+ type: array
128
+ items:
129
+ type: object
130
+ description: Track information
131
+ properties:
132
+ id:
133
+ type: string
134
+ description: Unique identifier for the track
135
+ minLength: 1
136
+ name:
137
+ type: string
138
+ description: Track name
139
+ minLength: 1
140
+ artists:
141
+ type: array
142
+ items:
143
+ type: object
144
+ description: Artist information
145
+ properties:
146
+ id:
147
+ type: string
148
+ description: Unique identifier for the artist
149
+ minLength: 1
150
+ name:
151
+ type: string
152
+ description: Artist name
153
+ minLength: 1
154
+ required:
155
+ - id
156
+ - name
157
+ additionalProperties: false
158
+ title: Artist
159
+ description: Track artists
160
+ album:
161
+ description: Track album
162
+ type: object
163
+ properties:
164
+ id:
165
+ type: string
166
+ description: Unique identifier for the album
167
+ minLength: 1
168
+ name:
169
+ type: string
170
+ description: Album name
171
+ minLength: 1
172
+ artists:
173
+ type: array
174
+ items:
175
+ $ref: '#/properties/tracks/items/properties/artists/items'
176
+ description: Album artists
177
+ required:
178
+ - id
179
+ - name
180
+ - artists
181
+ additionalProperties: false
182
+ title: Album
183
+ required:
184
+ - id
185
+ - name
186
+ - artists
187
+ - album
188
+ additionalProperties: false
189
+ title: Track
190
+ episodes:
191
+ type: array
192
+ items:
193
+ type: object
194
+ description: Provider-qualified podcast episode with selection metadata.
195
+ properties:
196
+ id:
197
+ $ref: '#/properties/playlistId'
198
+ name:
199
+ type: string
200
+ minLength: 1
201
+ showId:
202
+ $ref: '#/properties/playlistId'
203
+ releaseDate:
204
+ type: string
205
+ description: Provider release date; precision can be year, month or day.
206
+ releaseDatePrecision:
207
+ type: string
208
+ description: Provider date precision.
209
+ required:
210
+ - id
211
+ - name
212
+ additionalProperties: false
213
+ title: PodcastEpisode
214
+ nextToken:
215
+ type: string
216
+ minLength: 1
217
+ required:
218
+ - playlistId
219
+ - tracks
220
+ - episodes
221
+ additionalProperties: false
222
+ - name: playlists
223
+ description: A page of the connected customer's playlists with exact resource IDs.
224
+ directionality: out
225
+ schema:
226
+ description: A page of the connected customer's playlists with exact resource IDs.
227
+ type: object
228
+ properties:
229
+ playlists:
230
+ type: array
231
+ items:
232
+ type: object
233
+ properties:
234
+ id:
235
+ type: string
236
+ description: Unique identifier for the playlist
237
+ minLength: 1
238
+ name:
239
+ type: string
240
+ description: Playlist name
241
+ minLength: 1
242
+ ownerId:
243
+ type: string
244
+ description: Provider-scoped owner identity, when supplied by the provider.
245
+ ownerName:
246
+ type: string
247
+ description: Owner display name, useful for distinguishing owned and followed playlists.
248
+ required:
249
+ - id
250
+ - name
251
+ additionalProperties: false
252
+ title: Playlist
253
+ nextToken:
254
+ type: string
255
+ minLength: 1
256
+ required:
257
+ - playlists
258
+ additionalProperties: false
75
259
  - name: remove-from-playlist
76
260
  description: null
77
261
  directionality: in
@@ -89,12 +89,79 @@ properties:
89
89
  type: string
90
90
  description: Playlist name
91
91
  minLength: 1
92
+ ownerId:
93
+ type: string
94
+ description: Provider-scoped owner identity, when supplied by the provider.
95
+ ownerName:
96
+ type: string
97
+ description: >-
98
+ Owner display name, useful for distinguishing owned and followed
99
+ playlists.
92
100
  required:
93
101
  - id
94
102
  - name
95
103
  additionalProperties: false
96
104
  title: Playlist
97
105
  description: Playlist results
106
+ shows:
107
+ type: array
108
+ items:
109
+ type: object
110
+ description: Provider-qualified podcast series; read episodes before playback.
111
+ properties:
112
+ id:
113
+ title: MediaId
114
+ type: string
115
+ minLength: 1
116
+ example: portos-media://portpowered.com/spotify/audio/track/Ab123
117
+ pattern: >-
118
+ ^(portos-media://portpowered[.]com/[a-z][a-z0-9_-]*/(audio|video|image)/[a-z][a-z0-9_-]*/([^/?#\s]|%[0-9A-Fa-f]{2})+|https?://[^\s]+|portos://[^\s]+|youtube:video:[A-Za-z0-9_-]+)$
119
+ description: >
120
+ Exact provider resource identity. The canonical form is
121
+ portos-media://portpowered.com/provider/media-type/resource-kind/resource-id,
122
+ with no URI version. Spotify emits audio track, playlist, album,
123
+ artist, show and episode identities. Copy an ID returned by search
124
+ or library discovery; do not send a search phrase as an ID. Legacy
125
+ providers retain their own input contracts until explicitly
126
+ migrated. See https://portpowered.com/docs/media.
127
+ name:
128
+ type: string
129
+ minLength: 1
130
+ publisher:
131
+ type: string
132
+ required:
133
+ - id
134
+ - name
135
+ additionalProperties: false
136
+ title: PodcastShow
137
+ episodes:
138
+ type: array
139
+ items:
140
+ type: object
141
+ description: Provider-qualified podcast episode with selection metadata.
142
+ properties:
143
+ id:
144
+ $ref: '#/properties/shows/items/properties/id'
145
+ name:
146
+ type: string
147
+ minLength: 1
148
+ showId:
149
+ $ref: '#/properties/shows/items/properties/id'
150
+ releaseDate:
151
+ type: string
152
+ description: Provider release date; precision can be year, month or day.
153
+ releaseDatePrecision:
154
+ type: string
155
+ description: Provider date precision.
156
+ required:
157
+ - id
158
+ - name
159
+ additionalProperties: false
160
+ title: PodcastEpisode
161
+ nextToken:
162
+ type: string
163
+ minLength: 1
164
+ description: Opaque continuation for the same search; omit when exhausted.
98
165
  required:
99
166
  - artists
100
167
  - albums
@@ -0,0 +1,32 @@
1
+ description: >-
2
+ Inspect an exact media resource or traverse an album/show. Use get-playlist
3
+ for playlist contents.
4
+ type: object
5
+ properties:
6
+ mediaId:
7
+ title: MediaId
8
+ type: string
9
+ minLength: 1
10
+ example: portos-media://portpowered.com/spotify/audio/track/Ab123
11
+ pattern: >-
12
+ ^(portos-media://portpowered[.]com/[a-z][a-z0-9_-]*/(audio|video|image)/[a-z][a-z0-9_-]*/([^/?#\s]|%[0-9A-Fa-f]{2})+|https?://[^\s]+|portos://[^\s]+|youtube:video:[A-Za-z0-9_-]+)$
13
+ description: >
14
+ Exact provider resource identity. The canonical form is
15
+ portos-media://portpowered.com/provider/media-type/resource-kind/resource-id,
16
+ with no URI version. Spotify emits audio track, playlist, album, artist,
17
+ show and episode identities. Copy an ID returned by search or library
18
+ discovery; do not send a search phrase as an ID. Legacy providers retain
19
+ their own input contracts until explicitly migrated. See
20
+ https://portpowered.com/docs/media.
21
+ maxResults:
22
+ type: integer
23
+ minimum: 1
24
+ maximum: 50
25
+ default: 20
26
+ nextToken:
27
+ type: string
28
+ minLength: 1
29
+ description: Opaque continuation for the same resource.
30
+ required:
31
+ - mediaId
32
+ additionalProperties: false
@@ -0,0 +1,118 @@
1
+ description: Exact media resource details and a bounded page of its children.
2
+ type: object
3
+ properties:
4
+ mediaId:
5
+ title: MediaId
6
+ type: string
7
+ minLength: 1
8
+ example: portos-media://portpowered.com/spotify/audio/track/Ab123
9
+ pattern: >-
10
+ ^(portos-media://portpowered[.]com/[a-z][a-z0-9_-]*/(audio|video|image)/[a-z][a-z0-9_-]*/([^/?#\s]|%[0-9A-Fa-f]{2})+|https?://[^\s]+|portos://[^\s]+|youtube:video:[A-Za-z0-9_-]+)$
11
+ description: >
12
+ Exact provider resource identity. The canonical form is
13
+ portos-media://portpowered.com/provider/media-type/resource-kind/resource-id,
14
+ with no URI version. Spotify emits audio track, playlist, album, artist,
15
+ show and episode identities. Copy an ID returned by search or library
16
+ discovery; do not send a search phrase as an ID. Legacy providers retain
17
+ their own input contracts until explicitly migrated. See
18
+ https://portpowered.com/docs/media.
19
+ name:
20
+ type: string
21
+ resourceKind:
22
+ type: string
23
+ description: Provider resource kind from the media URI.
24
+ tracks:
25
+ type: array
26
+ items:
27
+ type: object
28
+ description: Track information
29
+ properties:
30
+ id:
31
+ type: string
32
+ description: Unique identifier for the track
33
+ minLength: 1
34
+ name:
35
+ type: string
36
+ description: Track name
37
+ minLength: 1
38
+ artists:
39
+ type: array
40
+ items:
41
+ type: object
42
+ description: Artist information
43
+ properties:
44
+ id:
45
+ type: string
46
+ description: Unique identifier for the artist
47
+ minLength: 1
48
+ name:
49
+ type: string
50
+ description: Artist name
51
+ minLength: 1
52
+ required:
53
+ - id
54
+ - name
55
+ additionalProperties: false
56
+ title: Artist
57
+ description: Track artists
58
+ album:
59
+ description: Track album
60
+ type: object
61
+ properties:
62
+ id:
63
+ type: string
64
+ description: Unique identifier for the album
65
+ minLength: 1
66
+ name:
67
+ type: string
68
+ description: Album name
69
+ minLength: 1
70
+ artists:
71
+ type: array
72
+ items:
73
+ $ref: '#/properties/tracks/items/properties/artists/items'
74
+ description: Album artists
75
+ required:
76
+ - id
77
+ - name
78
+ - artists
79
+ additionalProperties: false
80
+ title: Album
81
+ required:
82
+ - id
83
+ - name
84
+ - artists
85
+ - album
86
+ additionalProperties: false
87
+ title: Track
88
+ episodes:
89
+ type: array
90
+ items:
91
+ type: object
92
+ description: Provider-qualified podcast episode with selection metadata.
93
+ properties:
94
+ id:
95
+ $ref: '#/properties/mediaId'
96
+ name:
97
+ type: string
98
+ minLength: 1
99
+ showId:
100
+ $ref: '#/properties/mediaId'
101
+ releaseDate:
102
+ type: string
103
+ description: Provider release date; precision can be year, month or day.
104
+ releaseDatePrecision:
105
+ type: string
106
+ description: Provider date precision.
107
+ required:
108
+ - id
109
+ - name
110
+ additionalProperties: false
111
+ title: PodcastEpisode
112
+ nextToken:
113
+ type: string
114
+ minLength: 1
115
+ required:
116
+ - mediaId
117
+ - resourceKind
118
+ additionalProperties: false
@@ -5,7 +5,9 @@ properties:
5
5
  description: Freeform query string
6
6
  type:
7
7
  type: string
8
- description: Supported types, track, album, artist, playlist. Defaults to track
8
+ description: >-
9
+ Resource kind: track, album, artist, playlist, show or episode when
10
+ advertised. Defaults to track
9
11
  default: track
10
12
  album:
11
13
  type: string
@@ -20,6 +22,18 @@ properties:
20
22
  description: >-
21
23
  Search by year, can only be used when searching albums, years, and tracks.
22
24
  You can pass a range like 1990-2000
25
+ maxResults:
26
+ type: integer
27
+ minimum: 1
28
+ maximum: 50
29
+ default: 20
30
+ description: Maximum results on one page.
31
+ nextToken:
32
+ type: string
33
+ minLength: 1
34
+ description: >-
35
+ Copy the opaque continuation from the previous result with the same query
36
+ and filters.
23
37
  required:
24
38
  - query
25
39
  additionalProperties: false