{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/editsquare/main/json-schema/editsquare-render-schema.json",
  "title": "Render",
  "x-generated": "2026-10-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/editsquare-api-openapi.json#/components/schemas/Render",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "initializing",
        "ready",
        "queued",
        "processing",
        "finalizing",
        "complete",
        "failed"
      ]
    },
    "type": {
      "type": "string",
      "enum": [
        "local",
        "cloud"
      ]
    },
    "project": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "team": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "team"
      ]
    },
    "output": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Signed URLs for the finished video, keyed by variant (the master plus any smaller encodes). Present once the render is complete. The URLs are time-limited."
    },
    "created_by": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "number"
    },
    "updated_at": {
      "type": [
        "number",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "name",
    "status",
    "type",
    "project",
    "created_by",
    "created_at",
    "updated_at"
  ]
}