{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clypmint-com/json-schema/clypmint-com-video-list-schema.json",
  "title": "VideoList",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clypmint-com-openapi.yml#/components/schemas/VideoList",
  "type": "object",
  "properties": {
    "videos": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/VideoSummary"
      }
    }
  },
  "required": [
    "videos"
  ],
  "$defs": {
    "VideoSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "state": {
          "type": "string",
          "enum": [
            "editing",
            "ready",
            "failed"
          ]
        },
        "progress": {
          "type": "number"
        },
        "duration": {
          "type": [
            "number",
            "null"
          ]
        },
        "ready": {
          "type": "boolean"
        },
        "studio_url": {
          "type": "string",
          "format": "uri",
          "description": "The video in Clypmint (sign-in required)."
        }
      },
      "required": [
        "id",
        "state",
        "ready"
      ]
    }
  }
}