{
  "description": "Inspect an exact media resource or traverse an album/show. Use get-playlist for playlist contents.",
  "type": "object",
  "properties": {
    "mediaId": {
      "title": "MediaId",
      "type": "string",
      "minLength": 1,
      "example": "portos-media://portoperatingsystem.com/spotify/audio/track/Ab123",
      "pattern": "^(portos-media://(portpowered[.]com|portoperatingsystem[.]com)/[a-z][a-z0-9_-]*/(audio|video|image)/[a-z][a-z0-9_-]*/([^/?#\\s]|%[0-9A-Fa-f]{2})+|https?://[^\\s]+|portos://[^\\s]+)$",
      "description": "Exact provider resource identity. The canonical form is portos-media://portoperatingsystem.com/provider/media-type/resource-kind/resource-id, with no URI version. Spotify emits audio track, playlist, album, artist, show and episode identities. The prior authority remains readable. YouTube and YouTube Music share provider youtube, with video/video and video/channel resource kinds. Copy an ID returned by search or library discovery; do not send a search phrase as an ID. See https://portoperatingsystem.com/docs/media.\n"
    },
    "maxResults": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 20
    },
    "nextToken": {
      "type": "string",
      "minLength": 1,
      "description": "Opaque continuation for the same resource."
    }
  },
  "required": [
    "mediaId"
  ],
  "additionalProperties": false
}
