{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/onclarity-com/json-schema/onclarity-com-classification-tickets-page-schema.json",
  "title": "ClassificationTicketsPage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/onclarity-com-classifications-admin-api-openapi.yml#/components/schemas/ClassificationTicketsPage",
  "properties": {
    "run_id": {
      "type": "integer",
      "title": "Run Id"
    },
    "task": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Task"
    },
    "label": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Label"
    },
    "offset": {
      "type": "integer",
      "title": "Offset"
    },
    "limit": {
      "type": "integer",
      "title": "Limit"
    },
    "rows": {
      "items": {
        "$ref": "#/$defs/ClassificationLabelRow"
      },
      "type": "array",
      "title": "Rows"
    }
  },
  "type": "object",
  "required": [
    "run_id",
    "offset",
    "limit",
    "rows"
  ],
  "$defs": {
    "ClassificationLabelRow": {
      "properties": {
        "ticket_id": {
          "type": "string",
          "title": "Ticket Id"
        },
        "ds": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ds"
        },
        "task": {
          "type": "string",
          "title": "Task"
        },
        "label": {
          "title": "Label"
        },
        "explanation": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Explanation"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error"
        },
        "inputs": {
          "additionalProperties": true,
          "type": "object",
          "title": "Inputs",
          "default": {}
        }
      },
      "type": "object",
      "required": [
        "ticket_id",
        "task",
        "status"
      ],
      "title": "ClassificationLabelRow"
    }
  }
}