generated from linkml/linkml-template
-
Notifications
You must be signed in to change notification settings - Fork 16
/
meta.yaml
3094 lines (2825 loc) · 88 KB
/
meta.yaml
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
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
id: https://w3id.org/linkml/meta
title: LinkML Schema Metamodel
name: meta
description: |-
The metamodel for schemas defined using the Linked Data Modeling Language framework.
For more information on LinkML:
* [linkml.io](https://linkml.io) main website
* [specification](https://w3id.org/linkml/docs/specification/)
LinkML is self-describing. Every LinkML schema consists of elements
that instantiate classes in this metamodel.
Core metaclasses:
* [SchemaDefinition](https://w3id.org/linkml/SchemaDefinition)
* [ClassDefinition](https://w3id.org/linkml/ClassDefinition)
* [SlotDefinition](https://w3id.org/linkml/SlotDefinition)
* [TypeDefinition](https://w3id.org/linkml/TypeDefinition)
There are many subsets of *profiles* of the metamodel, for different purposes:
* [MinimalSubset](https://w3id.org/linkml/MinimalSubset)
* [BasicSubset](https://w3id.org/linkml/BasicSubset)
* [BasicSubset](https://w3id.org/linkml/BasicSubset)
For canonical reference documentation on any metamodel construct,
refer to the official URI for each construct, e.g.
[https://w3id.org/linkml/is_a](https://w3id.org/linkml/is_a)
license: https://creativecommons.org/publicdomain/zero/1.0/
version: 2.0.0
prefixes:
linkml: https://w3id.org/linkml/
skos: http://www.w3.org/2004/02/skos/core#
skosxl: http://www.w3.org/2008/05/skos-xl#
OIO: http://www.geneontology.org/formats/oboInOwl#
NCIT: http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#
pav: http://purl.org/pav/
oslc: http://open-services.net/ns/core#
schema: http://schema.org/
bibo: http://purl.org/ontology/bibo/
swrl: http://www.w3.org/2003/11/swrl#
sh: http://www.w3.org/ns/shacl#
owl: http://www.w3.org/2002/07/owl#
qb: http://purl.org/linked-data/cube#
prov: http://www.w3.org/ns/prov#
vann: https://vocab.org/vann/
qudt: http://qudt.org/schema/qudt/
cdisc: http://rdf.cdisc.org/mms#
SIO: http://semanticscience.org/resource/SIO_
default_prefix: linkml
default_range: string
default_curi_maps:
- semweb_context
emit_prefixes:
- linkml
- rdf
- rdfs
- xsd
- skos
- dcterms
- OIO
- owl
- pav
imports:
- linkml:types
- linkml:mappings
- linkml:extensions
- linkml:annotations
# - linkml:validation
- linkml:units
subsets:
MinimalSubset:
rank: 0
title: minimal subset
description: |-
The absolute minimal set of elements necessary for defining any schema.
schemas conforming to the minimal subset consist of classes, with all slots
inlined as attributes. There are no enums.
BasicSubset:
rank: 1
title: basic subset
description: |-
An extension of MinimalSubset that avoids advanced constructs and can be implemented by a broad variety of tools.
This subset roughly corresponds to the union of most standard constructs used in relational datamodel modeling,
object oriented modeling, and simple JSON-style modeling, while avoiding more advanced constructs from these languages.
It is often possible to translate from a more expressive schema to a BasicSubset schema, through a schema derivation
process
SpecificationSubset:
rank: 2
title: specification subset
description: |-
A subset that includes all the metamodel elements that form part of the normative LinkML specification.
The complete LinkML specification can be found at [linkml:specification](https://w3id.org/linkml/specification)
RelationalModelProfile:
rank: 3
title: relational model profile
description: |-
A profile that includes all the metamodel elements whose semantics can be expressed using the classic Relational Model.
The Relational Model excludes collections (multivalued slots) as first class entities. Instead, these must be
mapped to backreferences
The classic Relational Model excludes inheritance and polymorphism -- these must be rolled down to
concrete classes or otherwise transformed.
ObjectOrientedProfile:
rank: 4
title: object oriented profile
description: |-
A profile that includes all the metamodel elements whose semantics can be expressed using a minimal
implementation of the object oriented metamodel as employed by languages such as Java and Python, or
in modeling frameworks like UML
OwlProfile:
title: owl profile
description: |-
A profile that includes all the metamodel elements whose semantics can be expressed in OWL
# ==================================
# Slots #
# ==================================
slots:
# -----------------------------------
# Common metadata shared by all elements
# -----------------------------------
name:
rank: 1
aliases:
- short name
- unique name
domain: element
identifier: true
description: >-
the unique name of the element within the context of the schema. Name is combined with the default prefix to
form the globally unique subject of the target class.
slot_uri: rdfs:label
in_subset:
- SpecificationSubset
- OwlProfile
- MinimalSubset
- BasicSubset
- RelationalModelProfile
- ObjectOrientedProfile
exact_mappings:
- schema:name
see_also:
- https://en.wikipedia.org/wiki/Data_element_name
- https://linkml.io/linkml/faq/modeling.html#why-are-my-class-names-translated-to-camelcase
title:
rank: 3
aliases:
- long name
domain: element
description: >-
A concise human-readable display label for the element. The title should mirror the name,
and should use ordinary textual punctuation.
slot_uri: dcterms:title
in_subset:
- BasicSubset
conforms_to:
domain: element
description: An established standard to which the element conforms.
slot_uri: dcterms:conformsTo
in_subset:
- BasicSubset
see_also:
- linkml:implements
implements:
domain: element
range: uriorcurie
description: >-
An element in another schema which this element conforms to. The referenced element is not imported
into the schema for the implementing element. However, the referenced schema may be used to check
conformance of the implementing element.
multivalued: true
instantiates:
domain: element
range: uriorcurie
description: >-
An element in another schema which this element instantiates.
multivalued: true
categories:
range: uriorcurie
singular_name: category
slot_uri: dcterms:subject
multivalued: true
description: >-
Controlled terms used to categorize an element.
comments:
- if you wish to use uncontrolled terms or terms that lack identifiers then use the keywords element
in_subset:
- BasicSubset
keywords:
domain: element
singular_name: keyword
description: >-
Keywords or tags used to describe the element
slot_uri: schema:keywords
range: string
multivalued: true
in_subset:
- BasicSubset
definition_uri:
domain: element
description: >-
The native URI of the element. This is always within the namespace of the containing schema.
Contrast with the assigned URI, via class_uri or slot_uri
comments:
- Formed by combining the default_prefix with the normalized element name
range: uriorcurie
readonly: filled in by the schema loader or schema view
see_also:
- linkml:class_uri
- linkml:slot_uri
id_prefixes:
domain: element
multivalued: true
range: ncname
description: >-
An allowed list of prefixes for which identifiers must conform. The identifier of this class or slot must begin with the URIs referenced by this prefix
comments:
- Order of elements may be used to indicate priority order
- If identifiers are treated as CURIEs, then the CURIE must start with one of the indicated prefixes followed by `:` (_should_ start if the list is open)
- If identifiers are treated as URIs, then the URI string must start with the expanded for of the prefix (_should_ start if the list is open)
see_also:
- https://github.com/linkml/linkml/issues/194
- https://github.com/linkml/linkml-model/issues/28
in_subset:
- SpecificationSubset
- BasicSubset
description:
rank: 5
aliases:
- definition
domain: element
description: >-
a textual description of the element's purpose and use
slot_uri: skos:definition
exact_mappings:
- dcterms:description
- schema:description
recommended: true
in_subset:
- BasicSubset
structured_aliases:
slot_uri: skosxl:altLabel
range: structured_alias
multivalued: true
inlined: true
description: >-
A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.
see_also:
- linkml:aliases
aliases:
aliases:
- synonyms
- alternate names
- alternative labels
- designations
domain: element
description: >-
Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful
to support search and alignment.
comments:
- not be confused with the metaslot alias.
range: string
multivalued: true
slot_uri: skos:altLabel
exact_mappings:
- schema:alternateName
in_subset:
- BasicSubset
deprecated:
domain: element
range: string
description: >-
Description of why and when this element will no longer be used
comments:
- note that linkml does not use a boolean to indicate deprecation status - the presence of a string value in this field is sufficient to indicate deprecation.
close_mappings:
- owl:deprecated
in_subset:
- BasicSubset
todos:
domain: element
range: string
description: Outstanding issues that needs resolution
multivalued: true
in_subset:
- BasicSubset
notes:
domain: element
multivalued: true
description: editorial notes about an element intended primarily for internal consumption
slot_uri: skos:editorialNote
in_subset:
- BasicSubset
comments:
domain: element
multivalued: true
description: notes and comments about an element intended primarily for external consumption
slot_uri: skos:note
exact_mappings:
- rdfs:comment
in_subset:
- BasicSubset
in_subset:
domain: element
multivalued: true
range: subset_definition
description: >-
used to indicate membership of a term in a defined subset of terms used for a particular domain
or application.
comments:
- an example of use in the translator_minimal subset in the biolink model, holding the minimal set of predicates used in a translator knowledge graph
slot_uri: OIO:inSubset
in_subset:
- BasicSubset
from_schema:
domain: element
range: uri
readonly: supplied by the schema loader or schema view
description: id of the schema that defined the element
notes:
- A stronger model would be range schema_definition, but this doesn't address the import model
slot_uri: skos:inScheme
in_subset:
- SpecificationSubset
imported_from:
domain: element
range: string
readonly: supplied by the schema loader or schema view
description: >-
the imports entry that this element was derived from. Empty means primary source
see_also:
domain: element
multivalued: true
range: uriorcurie
description: A list of related entities or URLs that may be of relevance
slot_uri: rdfs:seeAlso
in_subset:
- BasicSubset
owned_by:
aliases:
- steward
- owner
domain: element
range: uriorcurie
description: agent that owns or is the steward of the element
close_mappings:
- rdfs:isDefinedBy
in_subset:
- BasicSubset
created_by:
domain: element
range: uriorcurie
description: agent that created the element
slot_uri: pav:createdBy
in_subset:
- BasicSubset
contributors:
domain: element
range: uriorcurie
description: agent that contributed to the element
slot_uri: dcterms:contributor
multivalued: true
in_subset:
- BasicSubset
created_on:
domain: element
range: datetime
description: time at which the element was created
slot_uri: pav:createdOn
in_subset:
- BasicSubset
last_updated_on:
domain: element
range: datetime
description: time at which the element was last updated
slot_uri: pav:lastUpdatedOn
in_subset:
- BasicSubset
modified_by:
domain: element
range: uriorcurie
description: agent that modified the element
slot_uri: oslc:modifiedBy
in_subset:
- BasicSubset
status:
aliases:
- workflow status
domain: element
range: uriorcurie
description: status of the element
slot_uri: bibo:status
examples:
- value: "bibo:draft"
see_also:
- https://www.hl7.org/fhir/valueset-publication-status.html ## Draft, Active, Retired, Unknown
- https://www.hl7.org/fhir/versions.html#std-process ## Draft, Trial Use, Normative, Informative, Deprecated
in_subset:
- BasicSubset
literal_form:
aliases:
- alias_name
- string_value
domain: structured_alias
range: string
required: true
slot_uri: skosxl:literalForm
description: >-
The literal lexical form of a structured alias; i.e the actual alias value.
alias_predicate:
alias: predicate
recommended: true
slot_uri: rdf:predicate
domain: structured_alias
range: alias_predicate_enum
description: >-
The relationship between an element and its alias.
in_language:
slot_uri: schema:inLanguage
range: string
description: >-
the primary language used in the sources
comments:
- Recommended to use a string from IETF BCP 47
conforms_to: https://www.rfc-editor.org/rfc/bcp/bcp47.txt
source:
aliases:
- origin
- derived from
domain: element
range: uriorcurie
description: A related resource from which the element is derived.
slot_uri: dcterms:source
close_mappings:
- prov:wasDerivedFrom
- schema:isBasedOn
comments:
- The described resource may be derived from the related resource in whole or in part
in_subset:
- BasicSubset
publisher:
domain: element
range: uriorcurie
description: An entity responsible for making the resource available
slot_uri: dcterms:publisher
in_subset:
- BasicSubset
# --------------------------------------------------------------
# Slots that are common to slot definition and class definition
# --------------------------------------------------------------
is_a:
rank: 11
domain: definition
range: definition
abstract: true
description: >-
A primary parent class or slot from which inheritable metaslots are propagated from.
While multiple inheritance is not allowed, mixins can be provided effectively providing the same thing.
The semantics are the same when translated to formalisms that allow MI (e.g. RDFS/OWL). When translating to a SI
framework (e.g. java classes, python classes) then is a is used.
When translating a framework without polymorphism (e.g. json-schema, solr document schema) then is a and mixins
are recursively unfolded
in_subset:
- SpecificationSubset
- BasicSubset
- ObjectOrientedProfile
- OwlProfile
abstract:
domain: definition
range: boolean
description: >-
Indicates the class or slot cannot be directly instantiated and is intended for grouping purposes.
in_subset:
- SpecificationSubset
- BasicSubset
- ObjectOrientedProfile
mixin:
aliases:
- trait
domain: definition
range: boolean
description: >-
Indicates the class or slot is intended to be inherited from without being an is_a parent. mixins should not be inherited from using is_a, except by other mixins.
see_also:
- https://en.wikipedia.org/wiki/Mixin
in_subset:
- SpecificationSubset
- BasicSubset
- ObjectOrientedProfile
mixins:
rank: 13
aliases:
- traits
domain: definition
multivalued: true
range: definition
description: >-
A collection of secondary parent classes or slots from which inheritable metaslots are propagated from.
comments:
- mixins act in the same way as parents (is_a). They allow a model to have a primary strict hierarchy, while keeping the benefits of multiple inheritance
see_also:
- https://en.wikipedia.org/wiki/Mixin
in_subset:
- SpecificationSubset
- BasicSubset
- ObjectOrientedProfile
- OwlProfile
apply_to:
domain: definition
multivalued: true
range: definition
description: >-
Used to extend class or slot definitions. For example, if we have a core schema where a gene has two slots for
identifier and symbol, and we have a specialized schema for my_organism where we wish to add a slot
systematic_name, we can avoid subclassing by defining a class gene_my_organism, adding the slot to this class,
and then adding an apply_to pointing to the gene class. The new slot will be 'injected into' the gene class.
status: testing
values_from:
domain: definition
multivalued: true
range: uriorcurie
description: >-
The identifier of a "value set" -- a set of identifiers that form the possible values for the range of a slot.
Note: this is different than 'subproperty_of' in that 'subproperty_of' is intended to be a single ontology term
while 'values_from' is the identifier of an entire value set. Additionally, this is different than an enumeration
in that in an enumeration, the values of the enumeration are listed directly in the model itself.
Setting this property on a slot does not guarantee an expansion of the ontological hierarchy into an
enumerated list of possible values in every serialization of the model.
status: testing
# -----------------------------------
# Enum definition slots
# -----------------------------------
code_set:
domain: enum_expression
range: uriorcurie
description: >-
the identifier of an enumeration code set.
in_subset:
- SpecificationSubset
- BasicSubset
code_set_version:
domain: enum_expression
range: string
description: >-
the version identifier of the enumeration code set
comments:
- we assume that version identifiers lexically sort in temporal order. Recommend semver when possible
in_subset:
- BasicSubset
code_set_tag:
domain: enum_expression
range: string
description: >-
the version tag of the enumeration code set
comments:
- enum_expression cannot have both a code_set_tag and a code_set_version
in_subset:
- BasicSubset
pv_formula:
domain: enum_expression
range: pv_formula_options
description: >-
Defines the specific formula to be used to generate the permissible values.
comments:
- you cannot have BOTH the permissible_values and permissible_value_formula tag
- code_set must be supplied for this to be valid
in_subset:
- SpecificationSubset
- BasicSubset
permissible_values:
aliases:
- coded values
domain: enum_expression
range: permissible_value
multivalued: true
inlined: true
description: >-
A list of possible values for a slot range
in_subset:
- SpecificationSubset
- BasicSubset
exact_mappings:
- cdisc:PermissibleValue
enum_uri:
aliases:
- public ID
domain: enum_definition
range: uriorcurie
description: URI of the enum that provides a semantic interpretation of the element in a linked data context. The URI may come from any namespace and may be shared between schemas
ifabsent: class_curie
in_subset:
- SpecificationSubset
- BasicSubset
include:
description: An enum expression that yields a list of permissible values that are to be included, after subtracting the minus set
domain: enum_expression
range: anonymous_enum_expression
multivalued: true
in_subset:
- SpecificationSubset
minus:
description: An enum expression that yields a list of permissible values that are to be subtracted from the enum
domain: enum_expression
range: anonymous_enum_expression
multivalued: true
in_subset:
- SpecificationSubset
inherits:
description: An enum definition that is used as the basis to create a new enum
comments:
- All permissible values for all inherited enums are copied to form the initial seed set
domain: enum_expression
range: enum_definition
multivalued: true
in_subset:
- SpecificationSubset
matches:
description: Specifies a match query that is used to calculate the list of permissible values
domain: enum_expression
range: match_query
in_subset:
- SpecificationSubset
identifier_pattern:
description: A regular expression that is used to obtain a set of identifiers from a source_ontology to construct a set of permissible values
domain: match_query
range: string
in_subset:
- SpecificationSubset
concepts:
description: A list of identifiers that are used to construct a set of permissible values
domain: enum_expression
range: uriorcurie
multivalued: true
in_subset:
- SpecificationSubset
reachable_from:
description: Specifies a query for obtaining a list of permissible values based on graph reachability
domain: enum_expression
range: reachability_query
in_subset:
- SpecificationSubset
source_ontology:
aliases:
- terminology
- vocabulary
description: An ontology or vocabulary or terminology that is used in a query to obtain a set of permissible values
comments:
- examples include schema.org, wikidata, or an OBO ontology
- for obo ontologies we recommend CURIEs of the form obo:cl, obo:envo, etc
range: uriorcurie
in_subset:
- SpecificationSubset
is_direct:
aliases:
- non-transitive
description: True if the reachability query should only include directly related nodes, if False then include also transitively connected
domain: reachability_query
range: boolean
in_subset:
- SpecificationSubset
traverse_up:
aliases:
- ancestors
description: True if the direction of the reachability query is reversed and ancestors are retrieved
domain: reachability_query
range: boolean
in_subset:
- SpecificationSubset
include_self:
aliases:
- reflexive
description: True if the query is reflexive
domain: reachability_query
range: boolean
in_subset:
- SpecificationSubset
relationship_types:
description: A list of relationship types (properties) that are used in a reachability query
aliases:
- predicates
- properties
domain: reachability_query
range: uriorcurie
multivalued: true
in_subset:
- SpecificationSubset
source_nodes:
description: A list of nodes that are used in the reachability query
domain: reachability_query
range: uriorcurie
multivalued: true
in_subset:
- SpecificationSubset
# -----------------------------------
# Slots for permissible_value
# -----------------------------------
text:
rank: 21
aliases:
- value
domain: permissible_value
range: string
description: >-
The actual permissible value itself
comments:
- there are no constraints on the text of the permissible value, but for many applications you may want to consider following idiomatic forms and using computer-friendly forms
identifier: true
close_mappings:
- skos:notation
in_subset:
- SpecificationSubset
- BasicSubset
meaning:
rank: 23
aliases:
- PV meaning
domain: permissible_value
range: uriorcurie
description: >-
the value meaning of a permissible value
notes:
- we may want to change the range of this (and other) elements in the model to an entitydescription type construct
in_subset:
- SpecificationSubset
- BasicSubset
see_also:
- https://en.wikipedia.org/wiki/ISO/IEC_11179
# -----------------------------------
# Schema definition slots
# -----------------------------------
id:
rank: 0
domain: schema_definition
range: uri
description: The official schema URI
required: true
in_subset:
- SpecificationSubset
- MinimalSubset
- BasicSubset
- OwlProfile
emit_prefixes:
domain: schema_definition
multivalued: true
range: ncname
description: >-
a list of Curie prefixes that are used in the representation of instances of the model. All prefixes in
this list are added to the prefix sections of the target models.
version:
domain: schema_definition
description: particular version of schema
slot_uri: pav:version
exact_mappings:
- schema:schemaVersion
in_subset:
- BasicSubset
imports:
rank: 21
domain: schema_definition
range: uriorcurie
multivalued: true
description: A list of schemas that are to be included in this schema
in_subset:
- SpecificationSubset
- BasicSubset
- OwlProfile
structured_imports:
domain: schema_definition
range: import_expression
multivalued: true
description: >-
A list of specifications for how to import elements from external schemas
status: testing
license:
rank: 31
domain: schema_definition
description: license for the schema
slot_uri: dcterms:license
in_subset:
- BasicSubset
default_curi_maps:
domain: schema_definition
multivalued: true
description: ordered list of prefixcommon biocontexts to be fetched to resolve id prefixes and inline prefix variables
in_subset:
- BasicSubset
default_prefix:
rank: 11
domain: schema_definition
range: string
ifabsent: default_ns
description: >-
The prefix that is used for all elements within a schema
in_subset:
- SpecificationSubset
- MinimalSubset
- BasicSubset
default_range:
rank: 13
domain: schema_definition
range: type_definition
description: default slot range to be used if range element is omitted from a slot definition
in_subset:
- SpecificationSubset
- MinimalSubset
- BasicSubset
subsets:
rank: 8
domain: schema_definition
multivalued: true
range: subset_definition
inlined: true
description: An index to the collection of all subset definitions in the schema
exact_mappings:
- OIO:hasSubset
in_subset:
- SpecificationSubset
- BasicSubset
types:
rank: 6
domain: schema_definition
range: type_definition
multivalued: true
inlined: true
description: An index to the collection of all type definitions in the schema
in_subset:
- BasicSubset
- ObjectOrientedProfile
- OwlProfile
enums:
rank: 5
domain: schema_definition
range: enum_definition
multivalued: true
inlined: true
description: An index to the collection of all enum definitions in the schema
in_subset:
- SpecificationSubset
- BasicSubset
- ObjectOrientedProfile
- OwlProfile
slot_definitions:
rank: 4
domain: schema_definition
multivalued: true
range: slot_definition
inlined: true
alias: slots
description: An index to the collection of all slot definitions in the schema
comments:
- note the formal name of this element is slot_definitions, but it has alias slots, which is the canonical form used in yaml/json serializes of schemas.
in_subset:
- SpecificationSubset
- BasicSubset
- OwlProfile
classes:
rank: 3
domain: schema_definition
range: class_definition
multivalued: true
inlined: true
description: An index to the collection of all class definitions in the schema
in_subset:
- SpecificationSubset
- MinimalSubset
- BasicSubset
- RelationalModelProfile
- ObjectOrientedProfile
- OwlProfile
metamodel_version:
domain: schema_definition
readonly: supplied by the schema loader or schema view
description: Version of the metamodel used to load the schema
in_subset:
- BasicSubset
source_file:
domain: schema_definition
readonly: supplied by the schema loader
description: name, uri or description of the source of the schema
in_subset:
- BasicSubset
source_file_date:
domain: schema_definition
range: datetime
readonly: supplied by the loader
description: modification date of the source of the schema
in_subset:
- BasicSubset
source_file_size:
domain: schema_definition
range: integer
readonly: supplied by the schema loader or schema view
description: size in bytes of the source of the schema
in_subset:
- BasicSubset
generation_date:
domain: schema_definition
range: datetime
readonly: supplied by the schema loader or schema view
description: date and time that the schema was loaded/generated
in_subset:
- BasicSubset
# -----------------------------------
# Class definition slots
# -----------------------------------
slots: