{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scale-ai/json-schema/scale-ai-annotation-task-batch-update-request-schema.json",
  "title": "AnnotationTaskBatchUpdateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scale-ai-annotation-tasks-api-openapi.yml#/components/schemas/AnnotationTaskBatchUpdateRequest",
  "properties": {
    "ids": {
      "title": "Ids",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "audit_assignment": {
      "$ref": "#/$defs/AnnotationTaskAuditAssignmentRequest"
    },
    "assigned_to": {
      "title": "Assigned To",
      "type": "string"
    },
    "status": {
      "title": "Status",
      "type": "string",
      "enum": [
        "PENDING_REDO",
        "COMPLETED"
      ]
    }
  },
  "type": "object",
  "$defs": {
    "AnnotationTaskAuditAssignmentRequest": {
      "properties": {
        "evaluation_id": {
          "type": "string",
          "title": "Evaluation Id"
        },
        "queue_id": {
          "type": "string",
          "title": "Queue Id"
        },
        "evaluation_item_ids": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Evaluation Item Ids"
        },
        "level_1_assigned_to": {
          "title": "Level 1 Assigned To",
          "type": "string"
        },
        "level_2_assigned_to": {
          "title": "Level 2 Assigned To",
          "type": "string"
        }
      },
      "type": "object",
      "required": [
        "evaluation_id",
        "queue_id",
        "evaluation_item_ids"
      ],
      "title": "AnnotationTaskAuditAssignmentRequest"
    }
  }
}