SWAPI Film

A canonical Star Wars film in the SWAPI dataset.

Star WarsOpen-SourceTeaching APIPublic APIRESTGraphQLEntertainmentDatasets

Properties

Name Type Description
title string Title of the film.
episode_id integer Episode number.
opening_crawl string Opening crawl text shown at the start of the film.
director string Name of the film's director.
producer string Comma-separated list of producer names.
release_date string Theatrical release date.
characters array URLs of characters appearing in this film.
planets array
starships array
vehicles array
species array
created string
edited string
url string
View JSON Schema on GitHub

JSON Schema

swapi-film-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/swapi/main/json-schema/swapi-film-schema.json",
  "title": "SWAPI Film",
  "description": "A canonical Star Wars film in the SWAPI dataset.",
  "type": "object",
  "required": ["title", "episode_id", "url"],
  "properties": {
    "title": {"type": "string", "description": "Title of the film.", "example": "A New Hope"},
    "episode_id": {"type": "integer", "description": "Episode number.", "example": 4},
    "opening_crawl": {"type": "string", "description": "Opening crawl text shown at the start of the film."},
    "director": {"type": "string", "description": "Name of the film's director.", "example": "George Lucas"},
    "producer": {"type": "string", "description": "Comma-separated list of producer names."},
    "release_date": {"type": "string", "format": "date", "description": "Theatrical release date.", "example": "1977-05-25"},
    "characters": {"type": "array", "items": {"type": "string", "format": "uri"}, "description": "URLs of characters appearing in this film."},
    "planets": {"type": "array", "items": {"type": "string", "format": "uri"}},
    "starships": {"type": "array", "items": {"type": "string", "format": "uri"}},
    "vehicles": {"type": "array", "items": {"type": "string", "format": "uri"}},
    "species": {"type": "array", "items": {"type": "string", "format": "uri"}},
    "created": {"type": "string", "format": "date-time"},
    "edited": {"type": "string", "format": "date-time"},
    "url": {"type": "string", "format": "uri"}
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/swapi-film"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.