{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evalgate-com/json-schema/evalgate-com-get-api-annotations-tasks-id-items-response200-application-json-schema.json",
  "title": "GetApiAnnotationsTasksIdItemsResponse200ApplicationJson",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evalgate-com-annotations-api-openapi.yml#/components/schemas/GetApiAnnotationsTasksIdItemsResponse200ApplicationJson",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "taskId": {
            "type": "number"
          },
          "content": {
            "type": "string"
          },
          "annotation": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "type": "object",
                "properties": {
                  "labels": {
                    "type": "object",
                    "properties": {
                      "taxonomyVersion": {
                        "type": "string"
                      },
                      "assertionLabels": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "assertionKey": {
                              "oneOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "safety"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "pii"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "hallucination"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "toxicity"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "instruction_following"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "json_schema"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "readability"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "functional"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "judge"
                                  ]
                                }
                              ]
                            },
                            "verdict": {
                              "oneOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "rejected"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "not_applicable"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "confirmed"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "uncertain"
                                  ]
                                }
                              ]
                            },
                            "evidence": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "trajectory"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "input"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "output"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "expected_output"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "messages"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "tool_calls"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "assertion_result"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "human_feedback"
                                    ]
                                  }
                                ]
                              }
                            },
                            "severity": {
                              "oneOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "medium"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "high"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "critical"
                                  ]
                                },
                                {
                                  "type": "string",
                                  "enum": [
                                    "low"
                                  ]
                                }
                              ]
                            },
                            "notes": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "assertionKey",
                            "verdict",
                            "evidence"
                          ]
                        }
                      },
                      "failureModes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "calibrationLabel": {
                        "oneOf": [
                          {
                            "type": "string",
                            "enum": [
                              "standard"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "gold"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "adjudication"
                            ]
                          }
                        ]
                      },
                      "legacyLabels": {
                        "type": "object",
                        "additionalProperties": {
                          "$ref": "#/$defs/JsonValue"
                        }
                      }
                    },
                    "additionalProperties": false,
                    "required": [
                      "taxonomyVersion",
                      "assertionLabels"
                    ]
                  },
                  "score": {
                    "type": "number"
                  },
                  "feedback": {
                    "type": "string"
                  },
                  "answers": {
                    "$ref": "#/$defs/JsonValue"
                  },
                  "deferred": {
                    "oneOf": [
                      {
                        "type": "boolean",
                        "enum": [
                          false
                        ]
                      },
                      {
                        "type": "boolean",
                        "enum": [
                          true
                        ]
                      }
                    ]
                  },
                  "deferredBy": {
                    "type": "string"
                  },
                  "deferredAt": {
                    "type": "string"
                  },
                  "sourceReported": {
                    "type": "object",
                    "additionalProperties": {
                      "$ref": "#/$defs/JsonValue"
                    }
                  },
                  "actorKind": {
                    "type": "string"
                  },
                  "actorUserId": {
                    "type": "string"
                  },
                  "answeredAt": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "annotatedBy": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ]
          },
          "annotatedAt": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "type": "string",
                "format": "date-time"
              }
            ]
          },
          "subjectKind": {
            "type": "string"
          },
          "subjectRef": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/$defs/JsonValue"
            }
          },
          "contentHash": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "type": "string"
              }
            ]
          },
          "questionSetVersion": {
            "type": "number"
          },
          "writeRevision": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "required": [
          "id",
          "taskId",
          "content",
          "annotation",
          "annotatedBy",
          "annotatedAt",
          "subjectKind",
          "subjectRef",
          "contentHash",
          "questionSetVersion",
          "writeRevision",
          "status",
          "createdAt"
        ]
      }
    },
    "task": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "annotationSettings": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "object",
              "properties": {
                "guidelines": {
                  "type": "string"
                },
                "labelSchema": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/$defs/JsonValue"
                  }
                },
                "questionSet": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/$defs/JsonValue"
                  }
                },
                "allowMultipleAnnotators": {
                  "oneOf": [
                    {
                      "type": "boolean",
                      "enum": [
                        false
                      ]
                    },
                    {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  ]
                },
                "labelTaxonomyVersion": {
                  "type": "string"
                },
                "requiredEvidence": {
                  "oneOf": [
                    {
                      "type": "boolean",
                      "enum": [
                        false
                      ]
                    },
                    {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  ]
                },
                "assignment": {
                  "type": "string"
                },
                "enableReview": {
                  "oneOf": [
                    {
                      "type": "boolean",
                      "enum": [
                        false
                      ]
                    },
                    {
                      "type": "boolean",
                      "enum": [
                        true
                      ]
                    }
                  ]
                }
              },
              "additionalProperties": false
            }
          ]
        },
        "totalItems": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "number"
            }
          ]
        },
        "completedItems": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "number"
            }
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "id",
        "name",
        "type",
        "status",
        "annotationSettings",
        "totalItems",
        "completedItems"
      ]
    },
    "hasMore": {
      "type": "boolean"
    },
    "limit": {
      "type": "number"
    },
    "offset": {
      "type": "number"
    }
  },
  "additionalProperties": false,
  "required": [
    "items",
    "task",
    "hasMore",
    "limit",
    "offset"
  ],
  "$defs": {
    "JsonValue": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/JsonValue"
          }
        },
        {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/JsonValue"
          }
        }
      ]
    }
  }
}