{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clypmint-com/json-schema/clypmint-com-style-list-schema.json",
  "title": "StyleList",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clypmint-com-openapi.yml#/components/schemas/StyleList",
  "type": "object",
  "properties": {
    "styles": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Style"
      }
    },
    "narrators": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "enum": [
              "matilda",
              "sarah",
              "jessica",
              "alice",
              "liam",
              "chris",
              "brian",
              "george",
              "roger",
              "laura",
              "charlie",
              "river",
              "will",
              "eric",
              "bella",
              "daniel",
              "lily",
              "bill",
              "adam",
              "callum",
              "harry"
            ]
          },
          "preview_url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "name",
          "preview_url"
        ],
        "additionalProperties": true
      }
    }
  },
  "required": [
    "styles"
  ],
  "$defs": {
    "Style": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "format": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "faceless",
            "motion",
            "talking",
            null
          ]
        },
        "jobs": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "best_for": {
          "type": [
            "array",
            "string",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "style_version": {
          "type": "integer",
          "minimum": 1
        },
        "inputs": {
          "type": "object",
          "additionalProperties": true
        },
        "formats": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "poster_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "preview_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "preview_source": {
          "type": "string",
          "enum": [
            "reference",
            "native",
            "sample"
          ]
        },
        "preview_label": {
          "type": "string"
        },
        "own": {
          "type": "boolean",
          "description": "A style this account made."
        }
      },
      "required": [
        "id",
        "name"
      ]
    }
  }
}