{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clypmint-com/json-schema/clypmint-com-change-schema.json",
  "title": "Change",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clypmint-com-openapi.yml#/components/schemas/Change",
  "type": "object",
  "properties": {
    "video_id": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "progress": {
      "type": "number"
    },
    "ready": {
      "type": "boolean"
    },
    "allowed": {
      "type": "boolean",
      "description": "False when the change was not made: the credits left do not cover it (message says what it needed and what is left), or there was nothing to change."
    },
    "message": {
      "type": "string"
    },
    "problem": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "video_id",
    "allowed"
  ]
}