{
  "description": "Search for tracks, albums, artists, playlists, shows or episodes with a query.",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Freeform query string"
    },
    "type": {
      "type": "string",
      "description": "Resource kind: track, album, artist, playlist, show or episode when advertised. Defaults to track",
      "default": "track"
    },
    "album": {
      "type": "string",
      "description": "Search by album name, can only be used when searching albums, and tracks"
    },
    "artist": {
      "type": "string",
      "description": "Search by artist name, can only be used when searching artists, albums and tracks"
    },
    "year": {
      "type": "string",
      "description": "Search by year, can only be used when searching albums, years, and tracks. You can pass a range like 1990-2000"
    },
    "maxResults": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 20,
      "description": "Maximum results on one page."
    },
    "nextToken": {
      "type": "string",
      "minLength": 1,
      "description": "Copy the opaque continuation from the previous result with the same query and filters."
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}
