Character

A complete superhero or villain record in the akabab/superhero-api dataset.

Games And ComicsSuperheroesComic BooksOpen SourceStatic APIGitHub PagesPublic APIs

Properties

Name Type Description
id integer
name string
slug string
powerstats object
appearance object
biography object
work object
connections object
images object
View JSON Schema on GitHub

JSON Schema

superheroes-character-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://akabab.github.io/superhero-api/api/character-schema.json",
  "title": "Character",
  "description": "A complete superhero or villain record in the akabab/superhero-api dataset.",
  "type": "object",
  "required": ["id", "name", "slug", "powerstats", "appearance", "biography", "work", "connections", "images"],
  "properties": {
    "id": { "type": "integer", "minimum": 1, "maximum": 731 },
    "name": { "type": "string" },
    "slug": { "type": "string", "pattern": "^[0-9]+-[a-z0-9-]+$" },
    "powerstats": { "$ref": "superheroes-powerstats-schema.json" },
    "appearance": { "$ref": "superheroes-appearance-schema.json" },
    "biography": { "$ref": "superheroes-biography-schema.json" },
    "work": { "$ref": "superheroes-work-schema.json" },
    "connections": { "$ref": "superheroes-connections-schema.json" },
    "images": { "$ref": "superheroes-images-schema.json" }
  }
}