{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mocapless-com/json-schema/mocapless-com-playable-game-schema.json",
  "title": "PlayableGame",
  "description": "What the public runtime gets: the character's preview and one skeleton\nclip per state. No downloads, no account details.",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mocapless-com-openapi.json#/components/schemas/PlayableGame",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "template": {
      "type": "string",
      "title": "Template"
    },
    "family": {
      "type": "string",
      "title": "Family"
    },
    "modelUrl": {
      "type": "string",
      "title": "Modelurl"
    },
    "thumbnailUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Thumbnailurl"
    },
    "clips": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Clips"
    },
    "hipHeight": {
      "type": "number",
      "title": "Hipheight",
      "default": 0.0
    },
    "height": {
      "type": "number",
      "title": "Height",
      "default": 0.0
    },
    "plays": {
      "type": "integer",
      "title": "Plays",
      "default": 0
    },
    "settings": {
      "additionalProperties": true,
      "type": "object",
      "title": "Settings",
      "default": {}
    },
    "scores": {
      "items": {
        "$ref": "#/$defs/ScoreRow"
      },
      "type": "array",
      "title": "Scores",
      "default": []
    },
    "ghosts": {
      "additionalProperties": {
        "$ref": "#/$defs/GhostRow"
      },
      "type": "object",
      "title": "Ghosts",
      "default": {}
    },
    "listed": {
      "type": "boolean",
      "title": "Listed",
      "default": false
    },
    "remixOf": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Remixof"
    },
    "cast": {
      "additionalProperties": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "object",
      "title": "Cast",
      "default": {}
    }
  },
  "type": "object",
  "required": [
    "name",
    "template",
    "family",
    "modelUrl",
    "clips"
  ],
  "$defs": {
    "GhostRow": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "score": {
          "type": "integer",
          "title": "Score"
        },
        "seconds": {
          "type": "number",
          "title": "Seconds",
          "default": 0.0
        },
        "path": {
          "items": {
            "items": {
              "type": "number"
            },
            "type": "array"
          },
          "type": "array",
          "title": "Path"
        }
      },
      "type": "object",
      "required": [
        "name",
        "score",
        "path"
      ],
      "title": "GhostRow"
    },
    "ScoreRow": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "score": {
          "type": "integer",
          "title": "Score"
        },
        "seconds": {
          "type": "number",
          "title": "Seconds",
          "default": 0.0
        }
      },
      "type": "object",
      "required": [
        "name",
        "score"
      ],
      "title": "ScoreRow"
    }
  }
}