-
Notifications
You must be signed in to change notification settings - Fork 32
/
vrs.json
965 lines (965 loc) · 33.6 KB
/
vrs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "GA4GH-VRS-Definitions",
"type": "object",
"definitions": {
"Variation": {
"description": "A representation of the state of one or more biomolecules.",
"oneOf": [
{
"$ref": "#/definitions/Allele"
},
{
"$ref": "#/definitions/CopyNumberChange"
},
{
"$ref": "#/definitions/CopyNumberCount"
},
{
"$ref": "#/definitions/Genotype"
},
{
"$ref": "#/definitions/Haplotype"
},
{
"$ref": "#/definitions/Text"
},
{
"$ref": "#/definitions/VariationSet"
}
],
"discriminator": {
"propertyName": "type"
}
},
"MolecularVariation": {
"description": "A variation on a contiguous molecule.",
"oneOf": [
{
"$ref": "#/definitions/Allele"
},
{
"$ref": "#/definitions/Haplotype"
}
],
"discriminator": {
"propertyName": "type"
}
},
"UtilityVariation": {
"description": "A collection of Variation subclasses that cannot be constrained to a specific class of biological variation, but are necessary for some applications of VRS.",
"oneOf": [
{
"$ref": "#/definitions/Text"
},
{
"$ref": "#/definitions/VariationSet"
}
],
"discriminator": {
"propertyName": "type"
}
},
"SystemicVariation": {
"description": "A Variation of multiple molecules in the context of a system, e.g. a genome, sample, or homologous chromosomes.",
"oneOf": [
{
"$ref": "#/definitions/CopyNumberChange"
},
{
"$ref": "#/definitions/CopyNumberCount"
},
{
"$ref": "#/definitions/Genotype"
}
],
"discriminator": {
"propertyName": "type"
}
},
"Allele": {
"description": "The state of a molecule at a Location.",
"type": "object",
"properties": {
"_id": {
"$ref": "#/definitions/CURIE",
"description": "Variation Id. MUST be unique within document."
},
"type": {
"type": "string",
"const": "Allele",
"default": "Allele",
"description": "MUST be \"Allele\""
},
"location": {
"oneOf": [
{
"$ref": "#/definitions/CURIE"
},
{
"$ref": "#/definitions/ChromosomeLocation"
},
{
"$ref": "#/definitions/SequenceLocation"
}
],
"description": "Where Allele is located"
},
"state": {
"oneOf": [
{
"$ref": "#/definitions/ComposedSequenceExpression"
},
{
"$ref": "#/definitions/DerivedSequenceExpression"
},
{
"$ref": "#/definitions/LiteralSequenceExpression"
},
{
"$ref": "#/definitions/RepeatedSequenceExpression"
},
{
"$ref": "#/definitions/SequenceState"
}
],
"description": "An expression of the sequence state",
"deprecated": [
{
"$ref": "#/definitions/SequenceState"
}
]
}
},
"required": [
"location",
"state",
"type"
],
"additionalProperties": false
},
"Haplotype": {
"description": "A set of non-overlapping Allele members that co-occur on the same molecule.",
"type": "object",
"properties": {
"_id": {
"$ref": "#/definitions/CURIE",
"description": "Variation Id. MUST be unique within document."
},
"type": {
"type": "string",
"const": "Haplotype",
"default": "Haplotype",
"description": "MUST be \"Haplotype\""
},
"members": {
"type": "array",
"minItems": 2,
"uniqueItems": true,
"ordered": false,
"items": {
"oneOf": [
{
"$ref": "#/definitions/Allele"
},
{
"$ref": "#/definitions/CURIE"
}
]
},
"description": "List of Alleles, or references to Alleles, that comprise this Haplotype."
}
},
"required": [
"members",
"type"
],
"additionalProperties": false
},
"Text": {
"description": "A free-text definition of variation.",
"type": "object",
"properties": {
"_id": {
"$ref": "#/definitions/CURIE",
"description": "Variation Id. MUST be unique within document."
},
"type": {
"type": "string",
"const": "Text",
"default": "Text",
"description": "MUST be \"Text\""
},
"definition": {
"type": "string",
"description": "A textual representation of variation not representable by other subclasses of Variation."
}
},
"required": [
"definition",
"type"
],
"additionalProperties": false
},
"VariationSet": {
"description": "An unconstrained set of Variation members.",
"type": "object",
"properties": {
"_id": {
"$ref": "#/definitions/CURIE",
"description": "Variation Id. MUST be unique within document."
},
"type": {
"type": "string",
"const": "VariationSet",
"default": "VariationSet",
"description": "MUST be \"VariationSet\""
},
"members": {
"type": "array",
"uniqueItems": true,
"ordered": false,
"items": {
"oneOf": [
{
"$ref": "#/definitions/Allele"
},
{
"$ref": "#/definitions/CURIE"
},
{
"$ref": "#/definitions/CopyNumberChange"
},
{
"$ref": "#/definitions/CopyNumberCount"
},
{
"$ref": "#/definitions/Genotype"
},
{
"$ref": "#/definitions/Haplotype"
},
{
"$ref": "#/definitions/Text"
},
{
"$ref": "#/definitions/VariationSet"
}
]
},
"description": "List of Variation objects or identifiers. Attribute is required, but MAY be empty."
}
},
"required": [
"members",
"type"
],
"additionalProperties": false
},
"CopyNumberCount": {
"type": "object",
"description": "The absolute count of discrete copies of a Location or Feature, within a system (e.g. genome, cell, etc.).",
"properties": {
"_id": {
"$ref": "#/definitions/CURIE",
"description": "Variation Id. MUST be unique within document."
},
"type": {
"type": "string",
"const": "CopyNumberCount",
"default": "CopyNumberCount",
"description": "MUST be \"CopyNumberCount\""
},
"subject": {
"oneOf": [
{
"$ref": "#/definitions/CURIE"
},
{
"$ref": "#/definitions/ChromosomeLocation"
},
{
"$ref": "#/definitions/Gene"
},
{
"$ref": "#/definitions/SequenceLocation"
}
],
"description": "A location for which the number of systemic copies is described."
},
"copies": {
"oneOf": [
{
"$ref": "#/definitions/DefiniteRange"
},
{
"$ref": "#/definitions/IndefiniteRange"
},
{
"$ref": "#/definitions/Number"
}
],
"description": "The integral number of copies of the subject in a system"
}
},
"required": [
"copies",
"subject",
"type"
],
"additionalProperties": false
},
"CopyNumberChange": {
"type": "object",
"maturity": "draft",
"description": "An assessment of the copy number of a Location or a Feature within a system (e.g. genome, cell, etc.) relative to a baseline ploidy.",
"properties": {
"_id": {
"$ref": "#/definitions/CURIE",
"description": "Variation Id. MUST be unique within document."
},
"type": {
"type": "string",
"const": "CopyNumberChange",
"default": "CopyNumberChange",
"description": "MUST be \"CopyNumberChange\""
},
"subject": {
"oneOf": [
{
"$ref": "#/definitions/CURIE"
},
{
"$ref": "#/definitions/ChromosomeLocation"
},
{
"$ref": "#/definitions/Gene"
},
{
"$ref": "#/definitions/SequenceLocation"
}
],
"description": "A location for which the number of systemic copies is described."
},
"copy_change": {
"type": "string",
"enum": [
"efo:0030069",
"efo:0020073",
"efo:0030068",
"efo:0030067",
"efo:0030064",
"efo:0030070",
"efo:0030071",
"efo:0030072"
],
"description": "MUST be one of \"efo:0030069\" (complete genomic loss), \"efo:0020073\" (high-level loss), \"efo:0030068\" (low-level loss), \"efo:0030067\" (loss), \"efo:0030064\" (regional base ploidy), \"efo:0030070\" (gain), \"efo:0030071\" (low-level gain), \"efo:0030072\" (high-level gain)."
}
},
"required": [
"copy_change",
"subject",
"type"
],
"additionalProperties": false
},
"Genotype": {
"description": "A quantified set of MolecularVariation associated with a genomic locus.",
"type": "object",
"properties": {
"_id": {
"$ref": "#/definitions/CURIE",
"description": "Variation Id. MUST be unique within document."
},
"type": {
"type": "string",
"const": "Genotype",
"default": "Genotype",
"description": "MUST be \"Genotype\""
},
"members": {
"type": "array",
"uniqueItems": true,
"minItems": 1,
"ordered": false,
"items": {
"$ref": "#/definitions/GenotypeMember"
},
"description": "Each GenotypeMember in `members` describes a MolecularVariation and the count of that variation at the locus."
},
"count": {
"oneOf": [
{
"$ref": "#/definitions/DefiniteRange"
},
{
"$ref": "#/definitions/IndefiniteRange"
},
{
"$ref": "#/definitions/Number"
}
],
"description": "The total number of copies of all MolecularVariation at this locus, MUST be greater than or equal to the sum of GenotypeMember copy counts and MUST be greater than or equal to 1. If greater than the total of GenotypeMember counts, this field describes additional MolecularVariation that exist but are not explicitly described."
}
},
"required": [
"count",
"members",
"type"
],
"additionalProperties": false
},
"Location": {
"description": "A contiguous segment of a biological sequence.",
"oneOf": [
{
"$ref": "#/definitions/ChromosomeLocation"
},
{
"$ref": "#/definitions/SequenceLocation"
}
],
"discriminator": {
"propertyName": "type"
}
},
"ChromosomeLocation": {
"description": "A Location on a chromosome defined by a species and chromosome name.",
"type": "object",
"properties": {
"_id": {
"$ref": "#/definitions/CURIE",
"description": "Location Id. MUST be unique within document."
},
"type": {
"type": "string",
"const": "ChromosomeLocation",
"default": "ChromosomeLocation",
"description": "MUST be \"ChromosomeLocation\""
},
"species_id": {
"$ref": "#/definitions/CURIE",
"default": "taxonomy:9606",
"description": "CURIE representing a species from the [NCBI species taxonomy](https://registry.identifiers.org/registry/taxonomy). Default: \"taxonomy:9606\" (human)"
},
"chr": {
"type": "string",
"description": "The symbolic chromosome name. For humans, For humans, chromosome names MUST be one of 1..22, X, Y (case-sensitive)"
},
"interval": {
"$ref": "#/definitions/CytobandInterval",
"description": "The chromosome region defined by a CytobandInterval"
}
},
"required": [
"chr",
"interval",
"species_id",
"type"
],
"additionalProperties": false
},
"SequenceLocation": {
"description": "A Location defined by an interval on a referenced Sequence.",
"type": "object",
"properties": {
"_id": {
"$ref": "#/definitions/CURIE",
"description": "Location Id. MUST be unique within document."
},
"type": {
"type": "string",
"const": "SequenceLocation",
"default": "SequenceLocation",
"description": "MUST be \"SequenceLocation\""
},
"sequence_id": {
"$ref": "#/definitions/CURIE",
"description": "A VRS Computed Identifier for the reference Sequence."
},
"interval": {
"oneOf": [
{
"$ref": "#/definitions/SequenceInterval"
},
{
"$ref": "#/definitions/SimpleInterval"
}
],
"description": "Reference sequence region defined by a SequenceInterval."
}
},
"required": [
"interval",
"sequence_id",
"type"
],
"additionalProperties": false
},
"SequenceInterval": {
"description": "A SequenceInterval represents a span on a Sequence. Positions are always represented by contiguous spans using interbase coordinates or coordinate ranges.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "SequenceInterval",
"default": "SequenceInterval",
"description": "MUST be \"SequenceInterval\""
},
"start": {
"oneOf": [
{
"$ref": "#/definitions/DefiniteRange"
},
{
"$ref": "#/definitions/IndefiniteRange"
},
{
"$ref": "#/definitions/Number"
}
],
"description": "The start coordinate or range of the interval. The minimum value of this coordinate or range is 0. MUST represent a coordinate or range less than the value of `end`."
},
"end": {
"oneOf": [
{
"$ref": "#/definitions/DefiniteRange"
},
{
"$ref": "#/definitions/IndefiniteRange"
},
{
"$ref": "#/definitions/Number"
}
],
"description": "The end coordinate or range of the interval. The minimum value of this coordinate or range is 0. MUST represent a coordinate or range greater than the value of `start`."
}
},
"required": [
"end",
"start",
"type"
],
"additionalProperties": false
},
"CytobandInterval": {
"description": "A contiguous span on a chromosome defined by cytoband features. The span includes the constituent regions described by the start and end cytobands, as well as any intervening regions.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "CytobandInterval",
"default": "CytobandInterval",
"description": "MUST be \"CytobandInterval\""
},
"start": {
"$ref": "#/definitions/HumanCytoband",
"description": "The start cytoband region. MUST specify a region nearer the terminal end (telomere) of the chromosome p-arm than `end`."
},
"end": {
"$ref": "#/definitions/HumanCytoband",
"description": "The end cytoband region. MUST specify a region nearer the terminal end (telomere) of the chromosome q-arm than `start`."
}
},
"example": {
"type": "CytobandInterval",
"start": "q22.2",
"end": "q22.3"
},
"required": [
"end",
"start",
"type"
],
"additionalProperties": false
},
"SequenceExpression": {
"description": "An expression describing a Sequence.",
"oneOf": [
{
"$ref": "#/definitions/ComposedSequenceExpression"
},
{
"$ref": "#/definitions/DerivedSequenceExpression"
},
{
"$ref": "#/definitions/LiteralSequenceExpression"
},
{
"$ref": "#/definitions/RepeatedSequenceExpression"
}
],
"discriminator": {
"propertyName": "type"
}
},
"LiteralSequenceExpression": {
"description": "An explicit expression of a Sequence.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "LiteralSequenceExpression",
"default": "LiteralSequenceExpression",
"description": "MUST be \"LiteralSequenceExpression\""
},
"sequence": {
"$ref": "#/definitions/Sequence",
"description": "the literal Sequence expressed"
}
},
"required": [
"sequence",
"type"
],
"additionalProperties": false
},
"DerivedSequenceExpression": {
"description": "An approximate expression of a sequence that is derived from a referenced sequence location. Use of this class indicates that the derived sequence is *approximately equivalent* to the reference indicated, and is typically used for describing large regions in contexts where the use of an approximate sequence is inconsequential.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "DerivedSequenceExpression",
"default": "DerivedSequenceExpression",
"description": "MUST be \"DerivedSequenceExpression\""
},
"location": {
"$ref": "#/definitions/SequenceLocation",
"description": "The location from which the approximate sequence is derived"
},
"reverse_complement": {
"type": "boolean",
"description": "A flag indicating if the expressed sequence is the reverse complement of the sequence referred to by `location`"
}
},
"required": [
"location",
"reverse_complement",
"type"
],
"additionalProperties": false
},
"RepeatedSequenceExpression": {
"description": "An expression of a sequence comprised of a tandem repeating subsequence.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "RepeatedSequenceExpression",
"default": "RepeatedSequenceExpression",
"description": "MUST be \"RepeatedSequenceExpression\""
},
"seq_expr": {
"oneOf": [
{
"$ref": "#/definitions/DerivedSequenceExpression"
},
{
"$ref": "#/definitions/LiteralSequenceExpression"
}
],
"description": "An expression of the repeating subsequence"
},
"count": {
"oneOf": [
{
"$ref": "#/definitions/DefiniteRange"
},
{
"$ref": "#/definitions/IndefiniteRange"
},
{
"$ref": "#/definitions/Number"
}
],
"description": "The count of repeated units, as an integer or inclusive range"
}
},
"required": [
"count",
"seq_expr",
"type"
],
"additionalProperties": false
},
"ComposedSequenceExpression": {
"description": "An expression of a sequence composed from multiple other Sequence Expressions objects. MUST have at least one component that is not a ref:`LiteralSequenceExpression`. CANNOT be composed from nested composed sequence expressions.",
"additionalProperties": false,
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "ComposedSequenceExpression",
"default": "ComposedSequenceExpression",
"description": "MUST be \"ComposedSequenceExpression\""
},
"components": {
"type": "array",
"uniqueItems": true,
"minItems": 2,
"ordered": true,
"items": {
"oneOf": [
{
"$ref": "#/definitions/DerivedSequenceExpression"
},
{
"$ref": "#/definitions/LiteralSequenceExpression"
},
{
"$ref": "#/definitions/RepeatedSequenceExpression"
}
]
},
"contains": {
"oneOf": [
{
"$ref": "#/definitions/RepeatedSequenceExpression"
},
{
"$ref": "#/definitions/DerivedSequenceExpression"
}
]
},
"description": "An ordered list of SequenceExpression components comprising the expression."
}
},
"required": [
"components"
]
},
"GenotypeMember": {
"description": "A class for expressing the count of a specific MolecularVariation present *in-trans* at a genomic locus represented by a Genotype.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "GenotypeMember",
"default": "GenotypeMember",
"description": "MUST be \"GenotypeMember\"."
},
"count": {
"oneOf": [
{
"$ref": "#/definitions/DefiniteRange"
},
{
"$ref": "#/definitions/IndefiniteRange"
},
{
"$ref": "#/definitions/Number"
}
],
"description": "The number of copies of the `variation` at a Genotype locus."
},
"variation": {
"oneOf": [
{
"$ref": "#/definitions/Allele"
},
{
"$ref": "#/definitions/Haplotype"
}
],
"description": "A MolecularVariation at a Genotype locus."
}
},
"required": [
"count",
"type",
"variation"
],
"additionalProperties": false
},
"Feature": {
"description": "A named entity that can be mapped to a Location. Genes, protein domains, exons, and chromosomes are some examples of common biological entities that may be Features.",
"oneOf": [
{
"$ref": "#/definitions/Gene"
}
],
"discriminator": {
"propertyName": "type"
}
},
"Gene": {
"description": "A reference to a Gene as defined by an authority. For human genes, the use of [hgnc](https://registry.identifiers.org/registry/hgnc) as the gene authority is RECOMMENDED.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "Gene",
"default": "Gene",
"description": "MUST be \"Gene\""
},
"gene_id": {
"$ref": "#/definitions/CURIE",
"description": "A CURIE reference to a Gene concept"
}
},
"required": [
"gene_id",
"type"
],
"additionalProperties": false
},
"Number": {
"description": "A simple integer value as a VRS class.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "Number",
"default": "Number",
"description": "MUST be \"Number\""
},
"value": {
"type": "integer",
"description": "The value represented by Number"
}
},
"required": [
"type",
"value"
],
"additionalProperties": false
},
"DefiniteRange": {
"description": "A bounded, inclusive range of numbers.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "DefiniteRange",
"default": "DefiniteRange",
"description": "MUST be \"DefiniteRange\""
},
"min": {
"type": "number",
"description": "The minimum value; inclusive"
},
"max": {
"type": "number",
"description": "The maximum value; inclusive"
}
},
"required": [
"max",
"min",
"type"
],
"additionalProperties": false
},
"IndefiniteRange": {
"description": "A half-bounded range of numbers represented as a number bound and associated comparator. The bound operator is interpreted as follows: '>=' are all numbers greater than and including `value`, '<=' are all numbers less than and including `value`.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "IndefiniteRange",
"default": "IndefiniteRange",
"description": "MUST be \"IndefiniteRange\""
},
"value": {
"type": "number",
"description": "The bounded value; inclusive"
},
"comparator": {
"type": "string",
"enum": [
"<=",
">="
],
"description": "MUST be one of \"<=\" or \">=\", indicating which direction the range is indefinite"
}
},
"required": [
"comparator",
"type",
"value"
],
"additionalProperties": false
},
"CURIE": {
"description": "A [W3C Compact URI](https://www.w3.org/TR/curie/) formatted string. A CURIE string has the structure ``prefix``:``reference``, as defined by the W3C syntax.",
"type": "string",
"pattern": "^\\w[^:]*:.+$",
"example": "ensembl:ENSG00000139618"
},
"HumanCytoband": {
"description": "A character string representing cytobands derived from the *International System for Human Cytogenomic Nomenclature* (ISCN) [guidelines](http://doi.org/10.1159/isbn.978-3-318-06861-0).",
"type": "string",
"pattern": "^cen|[pq](ter|([1-9][0-9]*(\\.[1-9][0-9]*)?))$",
"example": "q22.3"
},
"Residue": {
"description": "A character representing a specific residue (i.e., molecular species) or groupings of these (\"ambiguity codes\"), using [one-letter IUPAC abbreviations](https://en.wikipedia.org/wiki/International_Union_of_Pure_and_Applied_Chemistry#Amino_acid_and_nucleotide_base_codes) for nucleic acids and amino acids.",
"type": "string",
"pattern": "[A-Z*\\-]"
},
"Sequence": {
"description": "A character string of Residues that represents a biological sequence using the conventional sequence order (5\u2019-to-3\u2019 for nucleic acid sequences, and amino-to-carboxyl for amino acid sequences). IUPAC ambiguity codes are permitted in Sequences.",
"type": "string",
"pattern": "^[A-Z*\\-]*$"
},
"SequenceState": {
"deprecated": true,
"description": "DEPRECATED. A Sequence as a State. This is the State class to use for representing \"ref-alt\" style variation, including SNVs, MNVs, del, ins, and delins. This class is deprecated. Use LiteralSequenceExpression instead.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "SequenceState",
"default": "SequenceState",
"description": "MUST be \"SequenceState\""
},
"sequence": {
"$ref": "#/definitions/Sequence",
"description": "A string of Residues"
}
},
"example": {
"type": "SequenceState",
"sequence": "C"
},
"required": [
"sequence",
"type"
],
"additionalProperties": false
},
"SimpleInterval": {
"deprecated": true,
"description": "DEPRECATED: A SimpleInterval represents a span of sequence. Positions are always represented by contiguous spans using interbase coordinates. This class is deprecated. Use SequenceInterval instead.",
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "SimpleInterval",
"default": "SimpleInterval",
"description": "MUST be \"SimpleInterval\""
},
"start": {
"type": "integer",
"description": "The start coordinate"
},
"end": {
"type": "integer",
"description": "The end coordinate"
}
},
"example": {
"type": "SimpleInterval",
"start": 11,
"end": 22
},
"required": [
"end",
"start",
"type"
],
"additionalProperties": false
}
}
}