{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "ClinVar Report Schema",
    "type": "object",
    "properties": {
        "schema_version": {
            "type": "string"
        },
        "notes": {
            "type": "object"
        },
        "metadata": {
            "type": "object",
            "properties": {
                "genome_build": {
                    "type": "string"
                },
                "notes": {
                    "type": "string"
                }
            }
        },
        "variants": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "chrom": {
                        "type": "string"
                    },
                    "ref_allele": {
                        "type": "string"
                    },
                    "alt_allele": {
                        "type": "string"
                    },
                    "zygosity": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "pos": {
                        "type": "integer"
                    },
                    "acc_url": {
                        "type": "string"
                    },
                    "allele_freq": {
                        "type": "string"
                    },
                    "clinical_significance": {
                        "type": "string"
                    }
                }
            }
        }
    },
    "required": [
        "schema_version"
    ]
}