{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cueframe-ai/json-schema/cueframe-ai-compose-select-response-schema.json",
  "title": "ComposeSelectResponse",
  "description": "POST /projects/:id/compose/jobs/:jobId/select response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cueframe-ai-compose-api-openapi.yml#/components/schemas/ComposeSelectResponse",
  "type": "object",
  "properties": {
    "newCompositionEtag": {
      "type": "string"
    },
    "mergeResult": {
      "type": "object",
      "properties": {
        "replayedEdits": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "droppedEdits": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "trackId": {
                "type": "string"
              },
              "clipId": {
                "type": "string"
              },
              "wordStartMs": {
                "type": "number"
              },
              "reason": {
                "type": "string",
                "enum": [
                  "target_removed",
                  "conflict"
                ]
              }
            },
            "required": [
              "trackId",
              "reason"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "replayedEdits",
        "droppedEdits"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "newCompositionEtag"
  ],
  "additionalProperties": false
}