{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coloringbookify-com/json-schema/coloringbookify-com-character-list-envelope-schema.json",
  "title": "CharacterListEnvelope",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coloringbookify-com-characters-api-openapi.yml#/components/schemas/CharacterListEnvelope",
  "allOf": [
    {
      "$ref": "#/$defs/PaginatedEnvelope"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Character"
          }
        }
      }
    }
  ],
  "$defs": {
    "Character": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "handle": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "visual_description": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": "string"
        },
        "archived": {
          "type": "boolean"
        },
        "public_preview": {
          "type": "boolean"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "links": {
          "$ref": "#/$defs/Links"
        }
      }
    },
    "Links": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "PaginatedEnvelope": {
      "type": "object",
      "properties": {
        "data": {
          "type": "array"
        },
        "meta": {
          "type": "object",
          "properties": {
            "limit": {
              "type": "integer"
            },
            "next_cursor": {
              "type": [
                "string",
                "null"
              ]
            },
            "has_more": {
              "type": "boolean"
            }
          }
        }
      }
    }
  }
}