{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beatapi/json-schema/beatapi-workflow-list-response-schema.json",
  "title": "WorkflowListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beatapi-workflows-api-openapi.yml#/components/schemas/WorkflowListResponse",
  "type": "object",
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "$ref": "#/$defs/WorkflowList"
    }
  },
  "$defs": {
    "Workflow": {
      "type": "object",
      "required": [
        "id",
        "object",
        "name",
        "description"
      ],
      "properties": {
        "id": {
          "type": "string",
          "enum": [
            "music-video",
            "ecommerce-video",
            "video-analysis"
          ]
        },
        "object": {
          "type": "string",
          "enum": [
            "workflow"
          ]
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      }
    },
    "WorkflowList": {
      "type": "object",
      "required": [
        "object",
        "data"
      ],
      "properties": {
        "object": {
          "type": "string",
          "enum": [
            "list"
          ]
        },
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Workflow"
          }
        }
      }
    }
  }
}