Rotten Tomatoes · Schema

Cast

Full cast information for a movie returned by the Rotten Tomatoes API.

MoviesTelevisionReviewsRatingsTomatometerAudience ScoreEntertainmentMedia

Properties

Name Type Description
cast array Array of cast members for the movie.
links object Links to related resources.
View JSON Schema on GitHub

JSON Schema

cast.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/rottentomatoes/main/json-schema/cast.json",
  "title": "Cast",
  "description": "Full cast information for a movie returned by the Rotten Tomatoes API.",
  "type": "object",
  "properties": {
    "cast": {
      "type": "array",
      "description": "Array of cast members for the movie.",
      "items": {
        "$ref": "#/definitions/CastMember"
      }
    },
    "links": {
      "type": "object",
      "description": "Links to related resources.",
      "properties": {
        "self": {
          "type": "string",
          "format": "uri"
        },
        "movie": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  },
  "definitions": {
    "CastMember": {
      "type": "object",
      "description": "A cast member appearing in a movie.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Full name of the cast member."
        },
        "id": {
          "type": "string",
          "description": "Unique identifier for the cast member in Rotten Tomatoes."
        },
        "characters": {
          "type": "array",
          "description": "List of character names this person portrays in the movie.",
          "items": {
            "type": "string"
          }
        }
      },
      "required": ["name"]
    }
  }
}