{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/healthrecordrights-com/json-schema/healthrecordrights-com-compare-row-schema.json",
  "title": "CompareRow",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/healthrecordrights-com-openapi.json#/components/schemas/CompareRow",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "question": {
      "type": "string"
    },
    "comparison": {
      "type": "string",
      "enum": [
        "differs",
        "same",
        "cannot_compare"
      ],
      "description": "cannot_compare: at least one answer was not checked."
    },
    "answers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "usps": {
            "type": "string"
          },
          "checked": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "short": {
            "type": "string"
          },
          "answer": {
            "type": [
              "string",
              "null"
            ]
          },
          "pendingDates": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "citations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "pageUrl": {
            "type": "string"
          }
        }
      }
    }
  }
}