{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/helena-bio/json-schema/helena-bio-clin-var-lite-export-request-schema.json",
  "title": "ClinVarLiteExportRequest",
  "description": "Reviewed public data for one germline ClinVar Lite assertion.",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/helena-bio-openapi.json#/components/schemas/ClinVarLiteExportRequest",
  "properties": {
    "variant_idx": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Variant Idx"
    },
    "hgvs_name": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1,
      "title": "Hgvs Name"
    },
    "rationale": {
      "type": "string",
      "maxLength": 5000,
      "minLength": 10,
      "title": "Rationale"
    },
    "evidence_codes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 50,
      "title": "Evidence Codes"
    },
    "mode_of_inheritance": {
      "type": "string",
      "maxLength": 80,
      "title": "Mode Of Inheritance"
    },
    "expert_review_confirmed": {
      "type": "boolean",
      "title": "Expert Review Confirmed"
    },
    "hgvs_validated": {
      "type": "boolean",
      "title": "Hgvs Validated"
    },
    "expected_classification": {
      "type": "string",
      "enum": [
        "P",
        "LP",
        "VUS",
        "LB",
        "B"
      ],
      "title": "Expected Classification"
    },
    "condition_id_type": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ],
      "title": "Condition Id Type"
    },
    "condition_id_value": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Condition Id Value"
    },
    "preferred_condition_name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Preferred Condition Name"
    },
    "collection_method": {
      "type": "string",
      "title": "Collection Method",
      "default": "clinical testing"
    },
    "allele_origin": {
      "type": "string",
      "title": "Allele Origin",
      "default": "germline"
    },
    "affected_status": {
      "type": "string",
      "title": "Affected Status",
      "default": "unknown"
    },
    "number_of_individuals": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Number Of Individuals"
    },
    "citations": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 100,
      "title": "Citations"
    },
    "gene_symbol": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Gene Symbol"
    },
    "local_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Local Id"
    },
    "public_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Public Url"
    },
    "variation_identifiers": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 100,
      "title": "Variation Identifiers"
    },
    "alternate_designations": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 100,
      "title": "Alternate Designations"
    },
    "clinvar_accession": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ],
      "title": "Clinvar Accession"
    },
    "record_status": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "novel",
            "update"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Record Status"
    }
  },
  "type": "object",
  "required": [
    "variant_idx",
    "hgvs_name",
    "rationale",
    "mode_of_inheritance",
    "expert_review_confirmed",
    "hgvs_validated",
    "expected_classification",
    "number_of_individuals"
  ]
}