{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/staycharted-com/json-schema/staycharted-com-review-page-schema.json",
  "title": "ReviewPage",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/staycharted-com-openapi.yaml#/components/schemas/ReviewPage",
  "type": "object",
  "properties": {
    "open": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether the customer's plan has the Review Queue."
    },
    "cutoff": {
      "type": [
        "number",
        "null"
      ],
      "description": "Answers below this confidence come here."
    },
    "counts": {
      "type": "object",
      "additionalProperties": true
    },
    "total": {
      "type": "integer"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "groupKey": {
            "type": "string",
            "description": "Pass back to answer it."
          },
          "itemId": {
            "type": "string"
          },
          "size": {
            "type": "integer",
            "description": "How many times this same question was asked."
          },
          "confidence": {
            "type": [
              "number",
              "null"
            ]
          },
          "predictedLabel": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedLabel": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The channels it came from."
          },
          "text": {
            "type": [
              "string",
              "null"
            ]
          },
          "inputText": {
            "type": [
              "string",
              "null"
            ]
          },
          "imageHash": {
            "type": [
              "string",
              "null"
            ]
          },
          "firstAt": {
            "type": "string",
            "format": "date-time"
          },
          "alternatives": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "additionalProperties": true
            },
            "description": "The model's next candidates."
          }
        }
      }
    }
  }
}