{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/itsbaba-com/json-schema/itsbaba-com-medical-verify-request-schema.json",
  "title": "MedicalVerifyRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hc-openapi.json#/components/schemas/MedicalVerifyRequest",
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20000,
      "description": "The English source, up to 20,000 characters."
    },
    "translation": {
      "type": "string",
      "minLength": 1,
      "maxLength": 40000,
      "description": "The Hebrew to check, up to 40,000 characters."
    },
    "protected_terms": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "maxItems": 500,
      "description": "Terms that must appear verbatim. Up to 500."
    },
    "redact_terms": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "maxItems": 200,
      "description": "Names replaced before the reviewer sees the text. Up to 200."
    },
    "glossary": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "minLength": 1,
        "maxLength": 200
      },
      "description": "English term → required Hebrew rendering."
    },
    "date_order": {
      "type": "string",
      "enum": [
        "MDY",
        "DMY"
      ],
      "default": "MDY",
      "description": "How to read ambiguous numeric dates in the source."
    },
    "verification": {
      "type": "string",
      "enum": [
        "strict",
        "standard"
      ],
      "default": "standard",
      "description": "`standard` (default) runs the deterministic checks. `strict` adds an independent model review for meaning changes."
    }
  },
  "required": [
    "source",
    "translation"
  ]
}