changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "oneOf": [
- {
- "required": [
- "status",
- "poll_after_s",
- "cold_build_warning"
- ]
- },
- {
- "required": [
- "pagination"
- ]
- }
- ],
- "patternProperties": {
- "^(dropped_summary|transcript_id|cold_build_warning|recommended_citation|data_currency_caveat)$": {
- "type": "string"
- },
- "^(gene_name|protein_ac)$": {
- "type": [
- "string",
- "null"
- ]
- },
- "^_meta$": {
- "$ref": "#/$defs/M"
- },
- "^domains$": {
- "items": {
- "additionalProperties": false,
- "minProperties": 6,
- "patternProperties": {
- "^(ID|Name)$": {
- "type": "string"
- },
- "^(start|stop|meta_domain_alignment_depth)$": {
- "type": "integer"
- },
- "^metadomain$": {
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "^pagination$": {
- "additionalProperties": false,
- "minProperties": 6,
- "patternProperties": {
- "^(total|returned|limit|offset)$": {
- "type": "integer"
- },
- "^next_offset$": {
- "type": [
- "integer",
- "null"
- ]
- },
- "^truncated$": {
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "^poll_after_s$": {
- "type": "number"
- },
- "^positional_annotation$": {
- "items": {
- "additionalProperties": false,
- "patternProperties": {
- "^(cdna_pos|chr(_positions)?|exon_numbers|ref_(aa(_triplet)?|codon)|strand)$": {
- "type": "string"
- },
- "^(protein_pos|sw_size)$": {
- "type": "integer"
- },
- "^ClinVar$": {
- "items": {
- "additionalProperties": false,
- "patternProperties": {
- "^(alt(_aa(_triplet)?|_codon)?|clinvar_(ID|clinsig)|ref|type|url)$": {
- "type": "string"
- },
- "^pos$": {
- "type": "integer"
- }
- },
- "required": [
- "alt",
- "alt_aa",
- "alt_aa_triplet",
- "alt_codon",
- "clinvar_ID",
- "pos",
- "ref",
- "type"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "^domains$": {
- "additionalProperties": {
- "oneOf": [
- {
- "type": "null"
- },
- {
- "additionalProperties": false,
- "minProperties": 7,
- "patternProperties": {
- "^(normal|pathogenic)(_missense)?_variant_count$": {
- "type": "number"
- },
- "^consensus_pos$": {
- "items": {
- "type": "integer"
- },
- "type": "array"
- },
- "^pathogenic(_missense)?_variant_count_per_clinsig$": {
- "additionalProperties": {
- "type": "number"
- },
- "type": "object"
- }
- },
- "type": "object"
- }
- ]
- },
- "type": "object"
- },
- "^sw_coverage$": {
- "type": "number"
- },
- "^sw_dn_ds$": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "cdna_pos",
- "chr",
- "chr_positions",
- "protein_pos",
- "ref_aa",
- "ref_aa_triplet",
- "ref_codon",
- "strand",
- "sw_dn_ds",
- "sw_coverage",
- "sw_size",
- "domains"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "^refseq_ids$": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "^status$": {
- "const": "processing"
- },
- "^success$": {
- "const": true
- }
- },
- "required": [
- "success",
- "_meta",
- "transcript_id",
- "recommended_citation"
- ]
- },
- {
- "additionalProperties": false,
- "patternProperties": {
- "^(message|recovery_action|field|hint)$": {
- "type": "string"
- },
- "^_meta$": {
- "$ref": "#/$defs/M"
- },
- "^allowed_values$": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "^error_code$": {
- "enum": [
- "invalid_input",
- "not_found",
- "ambiguous_query",
- "upstream_unavailable",
- "rate_limited",
- "internal"
- ]
- },
- "^retryable$": {
- "type": "boolean"
- },
- "^success$": {
- "const": false
- }
- },
- "required": [
- "success",
- "_meta",
- "error_code",
- "message",
- "retryable",
- "recovery_action"
- ]
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "oneOf": [
+ {
+ "required": [
+ "status",
+ "poll_after_s",
+ "cold_build_warning"
+ ]
+ },
+ {
+ "required": [
+ "pagination"
+ ]
+ }
+ ],
+ "patternProperties": {
+ "^(dropped_summary|transcript_id|cold_build_warning|recommended_citation|data_currency_caveat)$": {
+ "type": "string"
+ },
+ "^(gene_name|protein_ac)$": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "^_meta$": {
+ "$ref": "#/$defs/M"
+ },
+ "^domains$": {
+ "items": {
+ "additionalProperties": false,
+ "patternProperties": {
+ "^(ID|Name)$": {
+ "type": "string"
+ },
+ "^(start|stop|meta_domain_alignment_depth)$": {
+ "type": "integer"
+ },
+ "^metadomain$": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "ID",
+ "Name",
+ "start",
+ "stop",
+ "metadomain"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "^pagination$": {
+ "additionalProperties": false,
+ "minProperties": 6,
+ "patternProperties": {
+ "^(total|returned|limit|offset)$": {
+ "type": "integer"
+ },
+ "^next_offset$": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "^truncated$": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "^poll_after_s$": {
+ "type": "number"
+ },
+ "^positional_annotation$": {
+ "items": {
+ "additionalProperties": false,
+ "patternProperties": {
+ "^(cdna_pos|chr(_positions)?|exon_numbers|ref_(aa(_triplet)?|codon)|strand)$": {
+ "type": "string"
+ },
+ "^(protein_pos|sw_size)$": {
+ "type": "integer"
+ },
+ "^ClinVar$": {
+ "items": {
+ "additionalProperties": false,
+ "patternProperties": {
+ "^(alt(_aa(_triplet)?|_codon)?|clinvar_(ID|clinsig)|ref|type|url)$": {
+ "type": "string"
+ },
+ "^pos$": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "alt",
+ "alt_aa",
+ "alt_aa_triplet",
+ "alt_codon",
+ "clinvar_ID",
+ "pos",
+ "ref",
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "^domains$": {
+ "additionalProperties": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "additionalProperties": false,
+ "minProperties": 7,
+ "patternProperties": {
+ "^(normal|pathogenic)(_missense)?_variant_count$": {
+ "type": "number"
+ },
+ "^consensus_pos$": {
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "^pathogenic(_missense)?_variant_count_per_clinsig$": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ ]
+ },
+ "type": "object"
+ },
+ "^sw_coverage$": {
+ "type": "number"
+ },
+ "^sw_dn_ds$": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "cdna_pos",
+ "chr",
+ "chr_positions",
+ "protein_pos",
+ "ref_aa",
+ "ref_aa_triplet",
+ "ref_codon",
+ "strand",
+ "sw_dn_ds",
+ "sw_coverage",
+ "sw_size",
+ "domains"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "^refseq_ids$": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "^status$": {
+ "const": "processing"
+ },
+ "^success$": {
+ "const": true
+ }
+ },
+ "required": [
+ "success",
+ "_meta",
+ "transcript_id",
+ "recommended_citation"
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "patternProperties": {
+ "^(message|recovery_action|field|hint)$": {
+ "type": "string"
+ },
+ "^_meta$": {
+ "$ref": "#/$defs/M"
+ },
+ "^allowed_values$": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "^error_code$": {
+ "enum": [
+ "invalid_input",
+ "not_found",
+ "ambiguous_query",
+ "upstream_unavailable",
+ "rate_limited",
+ "internal"
+ ]
+ },
+ "^retryable$": {
+ "type": "boolean"
+ },
+ "^success$": {
+ "const": false
+ }
+ },
+ "required": [
+ "success",
+ "_meta",
+ "error_code",
+ "message",
+ "retryable",
+ "recovery_action"
+ ]
+ }
+]