{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/helena-bio/json-schema/helena-bio-section-response-schema.json",
  "title": "SectionResponse",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/helena-bio-openapi.json#/components/schemas/SectionResponse",
  "properties": {
    "gene_id": {
      "type": "string",
      "pattern": "^HGNC:[1-9][0-9]*$",
      "title": "Gene Id"
    },
    "section": {
      "type": "string",
      "enum": [
        "overview",
        "disease_validity",
        "structure",
        "constraint",
        "dosage",
        "mechanisms",
        "clinical_variants",
        "clinical_variant_consequences",
        "expression",
        "gwas",
        "phenotypes",
        "protein_pathways",
        "literature"
      ],
      "title": "Section"
    },
    "status": {
      "type": "string",
      "enum": [
        "available",
        "source_has_no_record",
        "unavailable",
        "not_integrated",
        "not_applicable"
      ],
      "title": "Status"
    },
    "coverage": {
      "type": "string",
      "enum": [
        "complete",
        "partial",
        "truncated",
        "unknown"
      ],
      "title": "Coverage"
    },
    "coverage_scope": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "title": "Coverage Scope"
    },
    "freshness": {
      "$ref": "#/$defs/Freshness"
    },
    "source_ids": {
      "items": {
        "type": "string",
        "maxLength": 200,
        "minLength": 1
      },
      "type": "array",
      "maxItems": 50,
      "title": "Source Ids"
    },
    "data": {
      "anyOf": [
        {
          "oneOf": [
            {
              "$ref": "#/$defs/OverviewData"
            },
            {
              "$ref": "#/$defs/DiseaseData"
            },
            {
              "$ref": "#/$defs/StructureData"
            },
            {
              "$ref": "#/$defs/ConstraintData"
            },
            {
              "$ref": "#/$defs/DosageData"
            },
            {
              "$ref": "#/$defs/MechanismsData"
            },
            {
              "$ref": "#/$defs/ClinicalVariantsData"
            },
            {
              "$ref": "#/$defs/ClinicalConsequencesData"
            },
            {
              "$ref": "#/$defs/ExpressionData"
            },
            {
              "$ref": "#/$defs/GwasData"
            },
            {
              "$ref": "#/$defs/PhenotypesData"
            },
            {
              "$ref": "#/$defs/ProteinPathwaysData"
            }
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Data"
    },
    "limitations": {
      "items": {
        "type": "string",
        "maxLength": 2000,
        "minLength": 1
      },
      "type": "array",
      "maxItems": 30,
      "title": "Limitations"
    },
    "request_id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,64}$",
      "title": "Request Id"
    },
    "snapshot_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "title": "Snapshot Id"
    },
    "pagination": {
      "anyOf": [
        {
          "$ref": "#/$defs/variant_analysis_service__presentation__schemas__public_gene_schemas__Pagination"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "gene_id",
    "section",
    "status",
    "coverage",
    "coverage_scope",
    "freshness",
    "source_ids",
    "data",
    "limitations",
    "request_id",
    "snapshot_id",
    "pagination"
  ],
  "$defs": {
    "ClinicalAxis": {
      "properties": {
        "axis": {
          "type": "string",
          "enum": [
            "germline",
            "somatic_clinical_impact",
            "oncogenicity"
          ],
          "title": "Axis"
        },
        "represented_variations": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Represented Variations"
        },
        "classification_counts": {
          "items": {
            "$ref": "#/$defs/DistributionBin"
          },
          "type": "array",
          "maxItems": 1000,
          "title": "Classification Counts"
        },
        "review_status_counts": {
          "items": {
            "$ref": "#/$defs/DistributionBin"
          },
          "type": "array",
          "maxItems": 1000,
          "title": "Review Status Counts"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "axis",
        "represented_variations",
        "classification_counts",
        "review_status_counts"
      ],
      "title": "ClinicalAxis"
    },
    "ClinicalConsequenceRecord": {
      "properties": {
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "so_id": {
          "type": "string",
          "pattern": "^SO:[0-9]{7}$",
          "title": "So Id"
        },
        "term": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Term"
        },
        "represented_variations": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Represented Variations"
        },
        "axes": {
          "items": {
            "$ref": "#/$defs/ClinicalAxis"
          },
          "type": "array",
          "maxItems": 3,
          "minItems": 3,
          "title": "Axes"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "source_id",
        "so_id",
        "term",
        "represented_variations",
        "axes"
      ],
      "title": "ClinicalConsequenceRecord"
    },
    "ClinicalConsequencesData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "clinical_variant_consequences",
          "title": "Kind"
        },
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "count_unit": {
          "type": "string",
          "const": "source_consequence_bin",
          "title": "Count Unit",
          "default": "source_consequence_bin"
        },
        "eligible_variations": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Eligible Variations"
        },
        "membership_rule": {
          "type": "string",
          "const": "single_native_geneinfo_unique_ncbi_crosswalk",
          "title": "Membership Rule"
        },
        "consequence_scope": {
          "type": "string",
          "const": "provider_transcript_collapsed_MC",
          "title": "Consequence Scope"
        },
        "records": {
          "items": {
            "$ref": "#/$defs/ClinicalConsequenceRecord"
          },
          "type": "array",
          "maxItems": 1000,
          "title": "Records"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "source_id",
        "eligible_variations",
        "membership_rule",
        "consequence_scope",
        "records"
      ],
      "title": "ClinicalConsequencesData"
    },
    "ClinicalVariantExample": {
      "properties": {
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "variation_id": {
          "type": "string",
          "pattern": "^[1-9][0-9]*$",
          "title": "Variation Id"
        },
        "name": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Name"
        },
        "variant_type": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Variant Type"
        },
        "germline": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Germline"
        },
        "germline_review_status": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Germline Review Status"
        },
        "somatic_clinical_impact": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Somatic Clinical Impact"
        },
        "somatic_review_status": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Somatic Review Status"
        },
        "oncogenicity": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Oncogenicity"
        },
        "oncogenicity_review_status": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Oncogenicity Review Status"
        },
        "source_url": {
          "type": "string",
          "maxLength": 2000,
          "title": "Source Url"
        },
        "resolver_allele": {
          "anyOf": [
            {
              "$ref": "#/$defs/ResolverAllele"
            },
            {
              "type": "null"
            }
          ]
        },
        "resolver_status": {
          "type": "string",
          "enum": [
            "supported_exact_allele_requires_resolution",
            "unsupported_or_no_unique_grch38_allele"
          ],
          "title": "Resolver Status"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "source_id",
        "variation_id",
        "name",
        "variant_type",
        "germline",
        "germline_review_status",
        "somatic_clinical_impact",
        "somatic_review_status",
        "oncogenicity",
        "oncogenicity_review_status",
        "source_url",
        "resolver_allele",
        "resolver_status"
      ],
      "title": "ClinicalVariantExample"
    },
    "ClinicalVariantsData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "clinical_variants",
          "title": "Kind"
        },
        "count_unit": {
          "type": "string",
          "const": "selected_variant_example",
          "title": "Count Unit",
          "default": "selected_variant_example"
        },
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "unique_variation_total": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Unique Variation Total"
        },
        "membership_rule": {
          "type": "string",
          "const": "explicit_hgnc_or_unique_ncbi_gene_crosswalk",
          "title": "Membership Rule"
        },
        "axes": {
          "items": {
            "$ref": "#/$defs/ClinicalAxis"
          },
          "type": "array",
          "maxItems": 3,
          "minItems": 3,
          "title": "Axes"
        },
        "variant_type_counts": {
          "items": {
            "$ref": "#/$defs/DistributionBin"
          },
          "type": "array",
          "maxItems": 1000,
          "title": "Variant Type Counts"
        },
        "example_selection": {
          "type": "string",
          "const": "lowest_variation_id_bounded_50",
          "title": "Example Selection"
        },
        "records": {
          "items": {
            "$ref": "#/$defs/ClinicalVariantExample"
          },
          "type": "array",
          "maxItems": 50,
          "title": "Records"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "source_id",
        "unique_variation_total",
        "membership_rule",
        "axes",
        "variant_type_counts",
        "example_selection",
        "records"
      ],
      "title": "ClinicalVariantsData"
    },
    "CodingSegment": {
      "properties": {
        "rank": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Rank"
        },
        "start": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Start"
        },
        "end": {
          "type": "integer",
          "minimum": 1.0,
          "title": "End"
        },
        "phase": {
          "type": "integer",
          "enum": [
            0,
            1,
            2
          ],
          "title": "Phase"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "rank",
        "start",
        "end",
        "phase"
      ],
      "title": "CodingSegment"
    },
    "ConstraintData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "constraint",
          "title": "Kind"
        },
        "count_unit": {
          "type": "string",
          "const": "source_metric_record",
          "title": "Count Unit",
          "default": "source_metric_record"
        },
        "records": {
          "items": {
            "$ref": "#/$defs/ConstraintMetric"
          },
          "type": "array",
          "maxItems": 5000,
          "title": "Records"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "records"
      ],
      "title": "ConstraintData"
    },
    "ConstraintMetric": {
      "properties": {
        "source_gene_id": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Gene Id"
        },
        "source_gene_namespace": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "ncbi_gene",
                "ensembl_gene"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Gene Namespace"
        },
        "source_canonical": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Canonical"
        },
        "source_mane_select": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Mane Select"
        },
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "gene_id": {
          "type": "string",
          "pattern": "^HGNC:[1-9][0-9]*$",
          "title": "Gene Id"
        },
        "transcript_id": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Transcript Id"
        },
        "selection_rule": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Selection Rule"
        },
        "pli": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1.0,
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Pli"
        },
        "oe_lof": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Oe Lof"
        },
        "oe_lof_lower": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Oe Lof Lower"
        },
        "oe_lof_upper": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Oe Lof Upper"
        },
        "observed_lof": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Observed Lof"
        },
        "oe_missense": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Oe Missense"
        },
        "oe_missense_lower": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Oe Missense Lower"
        },
        "oe_missense_upper": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Oe Missense Upper"
        },
        "observed_missense": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Observed Missense"
        },
        "expected_lof": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Lof"
        },
        "missense_z": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Missense Z"
        },
        "quality_flags": {
          "items": {
            "type": "string",
            "maxLength": 200,
            "minLength": 1
          },
          "type": "array",
          "title": "Quality Flags"
        },
        "expected_synonymous": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Synonymous"
        },
        "expected_missense": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Missense"
        },
        "display_status": {
          "type": "string",
          "enum": [
            "available",
            "caution",
            "unreliable"
          ],
          "title": "Display Status",
          "default": "available"
        },
        "gene_flags": {
          "items": {
            "type": "string",
            "maxLength": 200,
            "minLength": 1
          },
          "type": "array",
          "maxItems": 100,
          "title": "Gene Flags"
        },
        "constraint_flags": {
          "items": {
            "type": "string",
            "maxLength": 200,
            "minLength": 1
          },
          "type": "array",
          "maxItems": 100,
          "title": "Constraint Flags"
        },
        "reported_metrics": {
          "additionalProperties": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "propertyNames": {
            "enum": [
              "pli",
              "oe_lof",
              "oe_lof_lower",
              "oe_lof_upper",
              "missense_z",
              "oe_missense",
              "oe_missense_lower",
              "oe_missense_upper"
            ]
          },
          "type": "object",
          "title": "Reported Metrics"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "source_id",
        "gene_id",
        "transcript_id",
        "selection_rule",
        "pli",
        "oe_lof",
        "oe_lof_lower",
        "oe_lof_upper",
        "observed_lof",
        "expected_lof",
        "missense_z",
        "quality_flags"
      ],
      "title": "ConstraintMetric"
    },
    "DiseaseAssertion": {
      "properties": {
        "assertion_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Assertion Id"
        },
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "disease_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Disease Id"
        },
        "disease_name": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Disease Name"
        },
        "inheritance": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Inheritance"
        },
        "classification": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Classification"
        },
        "curation_date": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Curation Date"
        },
        "panel": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Panel"
        },
        "criteria_version": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Criteria Version"
        },
        "report_url": {
          "type": "string",
          "maxLength": 2000,
          "title": "Report Url"
        },
        "mechanism": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Mechanism"
        },
        "allelic_requirement": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Allelic Requirement"
        },
        "mirrored_assertion_id": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Mirrored Assertion Id"
        },
        "original_disease_id": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Original Disease Id"
        },
        "submitter": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Submitter"
        },
        "mechanism_support": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Mechanism Support"
        },
        "variant_consequence": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Variant Consequence"
        },
        "pmids": {
          "items": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$"
          },
          "type": "array",
          "maxItems": 500,
          "title": "Pmids"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "assertion_id",
        "source_id",
        "disease_id",
        "disease_name",
        "inheritance",
        "classification",
        "curation_date",
        "panel",
        "criteria_version",
        "report_url"
      ],
      "title": "DiseaseAssertion"
    },
    "DiseaseData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "disease_validity",
          "title": "Kind"
        },
        "count_unit": {
          "type": "string",
          "const": "source_assertion",
          "title": "Count Unit",
          "default": "source_assertion"
        },
        "records": {
          "items": {
            "$ref": "#/$defs/DiseaseAssertion"
          },
          "type": "array",
          "maxItems": 5000,
          "title": "Records"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "records"
      ],
      "title": "DiseaseData"
    },
    "DistributionBin": {
      "properties": {
        "label": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Label"
        },
        "count": {
          "type": "integer",
          "minimum": 0.0,
          "title": "Count"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "label",
        "count"
      ],
      "title": "DistributionBin"
    },
    "DosageAssertion": {
      "properties": {
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "assertion_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Assertion Id"
        },
        "axis": {
          "type": "string",
          "enum": [
            "haploinsufficiency",
            "triplosensitivity"
          ],
          "title": "Axis"
        },
        "score": {
          "type": "string",
          "enum": [
            "0",
            "1",
            "2",
            "3",
            "30",
            "40",
            "Not yet evaluated",
            "-1"
          ],
          "title": "Score"
        },
        "description": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        },
        "disease_id": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Disease Id"
        },
        "evaluated_at": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Evaluated At"
        },
        "pmids": {
          "items": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$"
          },
          "type": "array",
          "maxItems": 100,
          "title": "Pmids"
        },
        "report_url": {
          "type": "string",
          "maxLength": 2000,
          "title": "Report Url"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "source_id",
        "assertion_id",
        "axis",
        "score",
        "description",
        "disease_id",
        "evaluated_at",
        "pmids",
        "report_url"
      ],
      "title": "DosageAssertion"
    },
    "DosageData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "dosage",
          "title": "Kind"
        },
        "count_unit": {
          "type": "string",
          "const": "source_dosage_assertion",
          "title": "Count Unit",
          "default": "source_dosage_assertion"
        },
        "records": {
          "items": {
            "$ref": "#/$defs/DosageAssertion"
          },
          "type": "array",
          "maxItems": 5000,
          "title": "Records"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "records"
      ],
      "title": "DosageData"
    },
    "Exon": {
      "properties": {
        "rank": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Rank"
        },
        "start": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Start"
        },
        "end": {
          "type": "integer",
          "minimum": 1.0,
          "title": "End"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "rank",
        "start",
        "end"
      ],
      "title": "Exon"
    },
    "ExpressionData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "expression",
          "title": "Kind"
        },
        "count_unit": {
          "type": "string",
          "const": "provider_expression_category",
          "title": "Count Unit",
          "default": "provider_expression_category"
        },
        "records": {
          "items": {
            "$ref": "#/$defs/ExpressionRecord"
          },
          "type": "array",
          "maxItems": 5000,
          "title": "Records"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "records"
      ],
      "title": "ExpressionData"
    },
    "ExpressionRecord": {
      "properties": {
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "ensembl_gene_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Ensembl Gene Id"
        },
        "tissue_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Tissue Id"
        },
        "tissue_label": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Tissue Label"
        },
        "median_tpm": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Median Tpm"
        },
        "unit": {
          "type": "string",
          "const": "TPM",
          "title": "Unit"
        },
        "statistic": {
          "type": "string",
          "const": "median",
          "title": "Statistic"
        },
        "sample_count": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Sample Count"
        },
        "category_type": {
          "type": "string",
          "const": "provider_expression_category",
          "title": "Category Type"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "source_id",
        "ensembl_gene_id",
        "tissue_id",
        "tissue_label",
        "median_tpm",
        "unit",
        "statistic",
        "sample_count",
        "category_type"
      ],
      "title": "ExpressionRecord"
    },
    "Freshness": {
      "properties": {
        "last_source_check": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Source Check"
        },
        "stale": {
          "type": "boolean",
          "title": "Stale"
        },
        "stale_reason": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Stale Reason"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "last_source_check",
        "stale",
        "stale_reason"
      ],
      "title": "Freshness"
    },
    "GwasData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "gwas",
          "title": "Kind"
        },
        "count_unit": {
          "type": "string",
          "const": "source_association_record",
          "title": "Count Unit",
          "default": "source_association_record"
        },
        "records": {
          "items": {
            "$ref": "#/$defs/GwasRecord"
          },
          "type": "array",
          "maxItems": 50000,
          "title": "Records"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "records"
      ],
      "title": "GwasData"
    },
    "GwasRecord": {
      "properties": {
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "association_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Association Id"
        },
        "association_identity_kind": {
          "type": "string",
          "enum": [
            "provider_id",
            "full_source_row_digest"
          ],
          "title": "Association Identity Kind"
        },
        "study_accession": {
          "type": "string",
          "pattern": "^GCST[0-9]+$",
          "title": "Study Accession"
        },
        "trait": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Trait"
        },
        "trait_ids": {
          "items": {
            "type": "string",
            "maxLength": 2000,
            "minLength": 1
          },
          "type": "array",
          "maxItems": 100,
          "title": "Trait Ids"
        },
        "mapped_trait": {
          "type": "string",
          "maxLength": 10000,
          "title": "Mapped Trait"
        },
        "pmid": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^[1-9][0-9]*$"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pmid"
        },
        "reported_genes": {
          "type": "string",
          "maxLength": 10000,
          "title": "Reported Genes"
        },
        "mapped_genes": {
          "type": "string",
          "maxLength": 10000,
          "title": "Mapped Genes"
        },
        "variant": {
          "type": "string",
          "maxLength": 10000,
          "title": "Variant"
        },
        "p_value": {
          "type": "string",
          "maxLength": 200,
          "title": "P Value"
        },
        "p_value_context": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "P Value Context"
        },
        "odds_ratio_or_beta": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Odds Ratio Or Beta"
        },
        "confidence_interval": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Confidence Interval"
        },
        "source_url": {
          "type": "string",
          "maxLength": 2000,
          "title": "Source Url"
        },
        "gene_assignment": {
          "type": "string",
          "enum": [
            "reported_gene",
            "mapped_gene"
          ],
          "title": "Gene Assignment"
        },
        "gene_assignments": {
          "items": {
            "type": "string",
            "enum": [
              "reported_gene",
              "mapped_gene"
            ]
          },
          "type": "array",
          "maxItems": 2,
          "minItems": 1,
          "title": "Gene Assignments"
        },
        "mapped_gene_context": {
          "items": {
            "type": "string",
            "enum": [
              "intergenic_neighbor",
              "within_gene",
              "provider_mapping_unspecified"
            ]
          },
          "type": "array",
          "maxItems": 3,
          "title": "Mapped Gene Context"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "source_id",
        "association_id",
        "association_identity_kind",
        "study_accession",
        "trait",
        "trait_ids",
        "mapped_trait",
        "pmid",
        "reported_genes",
        "mapped_genes",
        "variant",
        "p_value",
        "p_value_context",
        "odds_ratio_or_beta",
        "confidence_interval",
        "source_url",
        "gene_assignment",
        "gene_assignments",
        "mapped_gene_context"
      ],
      "title": "GwasRecord"
    },
    "MechanismAssertion": {
      "properties": {
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "assertion_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Assertion Id"
        },
        "disease_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Disease Id"
        },
        "disease_name": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Disease Name"
        },
        "mechanism": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Mechanism"
        },
        "support": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Support"
        },
        "allelic_requirement": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Allelic Requirement"
        },
        "variant_consequence": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Variant Consequence"
        },
        "classification": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Classification"
        },
        "report_url": {
          "type": "string",
          "maxLength": 2000,
          "title": "Report Url"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "source_id",
        "assertion_id",
        "disease_id",
        "disease_name",
        "mechanism",
        "support",
        "allelic_requirement",
        "variant_consequence",
        "classification",
        "report_url"
      ],
      "title": "MechanismAssertion"
    },
    "MechanismsData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "mechanisms",
          "title": "Kind"
        },
        "count_unit": {
          "type": "string",
          "const": "source_relation",
          "title": "Count Unit",
          "default": "source_relation"
        },
        "records": {
          "items": {
            "$ref": "#/$defs/MechanismAssertion"
          },
          "type": "array",
          "maxItems": 5000,
          "title": "Records"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "records"
      ],
      "title": "MechanismsData"
    },
    "OverviewData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "overview",
          "title": "Kind"
        },
        "summary": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 40000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Summary"
        },
        "summary_source_id": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Summary Source Id"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "summary",
        "summary_source_id"
      ],
      "title": "OverviewData"
    },
    "PhenotypeRecord": {
      "properties": {
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "assertion_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Assertion Id"
        },
        "disease_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Disease Id"
        },
        "disease_name": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Disease Name"
        },
        "phenotype_id": {
          "type": "string",
          "pattern": "^HP:[0-9]{7}$",
          "title": "Phenotype Id"
        },
        "phenotype_label": {
          "type": "null",
          "title": "Phenotype Label"
        },
        "allelic_requirement": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Allelic Requirement"
        },
        "classification": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Classification"
        },
        "curation_date": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Curation Date"
        },
        "report_url": {
          "type": "string",
          "maxLength": 2000,
          "title": "Report Url"
        },
        "pmids": {
          "items": {
            "type": "string",
            "pattern": "^[1-9][0-9]*$"
          },
          "type": "array",
          "maxItems": 1000,
          "title": "Pmids"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "source_id",
        "assertion_id",
        "disease_id",
        "disease_name",
        "phenotype_id",
        "allelic_requirement",
        "classification",
        "curation_date",
        "report_url",
        "pmids"
      ],
      "title": "PhenotypeRecord"
    },
    "PhenotypesData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "phenotypes",
          "title": "Kind"
        },
        "count_unit": {
          "type": "string",
          "const": "source_relation_phenotype",
          "title": "Count Unit",
          "default": "source_relation_phenotype"
        },
        "records": {
          "items": {
            "$ref": "#/$defs/PhenotypeRecord"
          },
          "type": "array",
          "maxItems": 10000,
          "title": "Records"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "records"
      ],
      "title": "PhenotypesData"
    },
    "ProteinCrossReference": {
      "properties": {
        "database": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Database"
        },
        "accession": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Accession"
        },
        "label": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Label"
        },
        "source_url": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Url"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "database",
        "accession",
        "label",
        "source_url"
      ],
      "title": "ProteinCrossReference"
    },
    "ProteinPathwaysData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "protein_pathways",
          "title": "Kind"
        },
        "count_unit": {
          "type": "string",
          "const": "reviewed_protein_record",
          "title": "Count Unit",
          "default": "reviewed_protein_record"
        },
        "records": {
          "items": {
            "$ref": "#/$defs/ProteinRecord"
          },
          "type": "array",
          "maxItems": 1000,
          "title": "Records"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "records"
      ],
      "title": "ProteinPathwaysData"
    },
    "ProteinRecord": {
      "properties": {
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "accession": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Accession"
        },
        "entry_name": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Entry Name"
        },
        "reviewed": {
          "type": "boolean",
          "title": "Reviewed"
        },
        "protein_name": {
          "type": "string",
          "maxLength": 2000,
          "minLength": 1,
          "title": "Protein Name"
        },
        "protein_length": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Protein Length"
        },
        "function_text": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 40000
            },
            {
              "type": "null"
            }
          ],
          "title": "Function Text"
        },
        "function_evidence": {
          "items": {
            "type": "string",
            "maxLength": 2000,
            "minLength": 1
          },
          "type": "array",
          "maxItems": 100,
          "title": "Function Evidence"
        },
        "pathway_text": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 10000
            },
            {
              "type": "null"
            }
          ],
          "title": "Pathway Text"
        },
        "cross_references": {
          "items": {
            "$ref": "#/$defs/ProteinCrossReference"
          },
          "type": "array",
          "maxItems": 500,
          "title": "Cross References"
        },
        "source_url": {
          "type": "string",
          "maxLength": 2000,
          "title": "Source Url"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "source_id",
        "accession",
        "entry_name",
        "reviewed",
        "protein_name",
        "protein_length",
        "function_text",
        "function_evidence",
        "pathway_text",
        "cross_references",
        "source_url"
      ],
      "title": "ProteinRecord"
    },
    "ResolverAllele": {
      "properties": {
        "assembly": {
          "type": "string",
          "const": "GRCh38",
          "title": "Assembly"
        },
        "chromosome": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Chromosome"
        },
        "position": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Position"
        },
        "reference": {
          "type": "string",
          "maxLength": 100,
          "pattern": "^[ACGT]+$",
          "title": "Reference"
        },
        "alternate": {
          "type": "string",
          "maxLength": 100,
          "pattern": "^[ACGT]+$",
          "title": "Alternate"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "assembly",
        "chromosome",
        "position",
        "reference",
        "alternate"
      ],
      "title": "ResolverAllele"
    },
    "StructureData": {
      "properties": {
        "kind": {
          "type": "string",
          "const": "structure",
          "title": "Kind"
        },
        "count_unit": {
          "type": "string",
          "const": "source_transcript_model",
          "title": "Count Unit",
          "default": "source_transcript_model"
        },
        "transcript_scope": {
          "type": "string",
          "enum": [
            "MANE",
            "provider_catalog",
            "multi_source_native"
          ],
          "title": "Transcript Scope"
        },
        "distinct_transcript_total": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Distinct Transcript Total"
        },
        "records": {
          "items": {
            "$ref": "#/$defs/Transcript"
          },
          "type": "array",
          "maxItems": 5000,
          "title": "Records"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "kind",
        "transcript_scope",
        "records"
      ],
      "title": "StructureData"
    },
    "Transcript": {
      "properties": {
        "transcript_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Transcript Id"
        },
        "source_id": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Source Id"
        },
        "assembly": {
          "type": "string",
          "enum": [
            "GRCh37",
            "GRCh38"
          ],
          "title": "Assembly"
        },
        "assembly_accession": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Assembly Accession"
        },
        "annotation_release": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Annotation Release"
        },
        "coordinate_system": {
          "type": "string",
          "const": "1-based-closed",
          "title": "Coordinate System"
        },
        "contig": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Contig"
        },
        "strand": {
          "type": "string",
          "enum": [
            "+",
            "-"
          ],
          "title": "Strand"
        },
        "start": {
          "type": "integer",
          "minimum": 1.0,
          "title": "Start"
        },
        "end": {
          "type": "integer",
          "minimum": 1.0,
          "title": "End"
        },
        "mane_status": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "Select",
                "Plus Clinical"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Mane Status"
        },
        "refseq_transcript": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Refseq Transcript"
        },
        "refseq_protein": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Refseq Protein"
        },
        "protein_id": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Protein Id"
        },
        "protein_length": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 1.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Protein Length"
        },
        "exons": {
          "items": {
            "$ref": "#/$defs/Exon"
          },
          "type": "array",
          "maxItems": 1000,
          "minItems": 1,
          "title": "Exons"
        },
        "coding_segments": {
          "items": {
            "$ref": "#/$defs/CodingSegment"
          },
          "type": "array",
          "maxItems": 1000,
          "title": "Coding Segments"
        },
        "stop_codon_segments": {
          "items": {
            "$ref": "#/$defs/Exon"
          },
          "type": "array",
          "maxItems": 3,
          "title": "Stop Codon Segments"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "transcript_id",
        "source_id",
        "assembly",
        "assembly_accession",
        "annotation_release",
        "coordinate_system",
        "contig",
        "strand",
        "start",
        "end",
        "mane_status",
        "refseq_transcript",
        "protein_id",
        "exons"
      ],
      "title": "Transcript"
    },
    "variant_analysis_service__presentation__schemas__public_gene_schemas__Pagination": {
      "properties": {
        "observed_total": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Observed Total"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Total"
        },
        "returned": {
          "type": "integer",
          "maximum": 50.0,
          "minimum": 0.0,
          "title": "Returned"
        },
        "count_unit": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 200,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ],
          "title": "Count Unit"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Next Cursor"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "total",
        "returned",
        "count_unit",
        "next_cursor"
      ],
      "title": "Pagination"
    }
  }
}