| id |
The official schema URI |
| name |
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. |
| prefix_prefix |
The prefix components of a prefix expansions. This is the part that appears before the colon in a CURIE. |
| class_uri |
IRI (URI) of the class that provides a semantic interpretation of the element in a linked data context. The IRI may come from any namespace and may be shared between schemas |
| prefix_reference |
The namespace to which a prefix expands to. |
| slot_uri |
IRI (URI) of the class that provides a semantic interpretation of the slot in a linked data context. The IRI may come from any namespace and may be shared between schemas. |
| type_uri |
The IRI (URI) that defines the possible values for the type definition |
| identifier |
True means that the slot is the identifier slot of its class. Such a slot uniquely identifies instances of the class throughout an entire document, meaning there cannot be two (or more) instances of the class (or instances of any of its descendants) with the same value for the identifier slot anywhere in the document. |
| alias |
The alternative name to be used in serializations of an instance instead of the canonical name. |
| multivalued |
true means that slot can have more than one value and should be represented using a list or collection structure. |
| typeof |
A parent type from which type properties are inherited |
| base |
python base type in the LinkML runtime that implements this type definition |
| required |
true means that the slot must be present in instances of the class definition |
| recommended |
true means that the slot should be present in instances of the class definition, but this is not required |
| prefixes |
A collection of prefix expansions that specify how CURIEs can be expanded to URIs |
| repr |
the name of the python object that implements this type definition |
| default_prefix |
The prefix that is used for all elements within a schema |
| is_a |
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 |
| default_range |
default slot range to be used if range element is omitted from a slot definition |
| mixins |
A collection of secondary parent classes or slots from which inheritable metaslots are propagated from. |
| settings |
A collection of global variable settings |
| imports |
A list of schemas that are to be included in this schema |
| text |
The actual permissible value itself |
| meaning |
the value meaning of a permissible value |
| inlined |
True means that keyed or identified slot appears in an outer structure by value. False means that only the key or identifier for the slot appears within the domain, referencing a structure that appears elsewhere. |
| inlined_as_list |
True means that an inlined slot is represented as a list of range instances. False means that an inlined slot is represented as a dictionary, whose key is the slot key or identifier and whose value is the range instance. |
| inlined_as_simple_dict |
True means that an inlined slot is represented as a simple dict whose values are all atoms |
| tree_root |
Indicates that this is the Container class which forms the root of the serialized document structure in tree serializations |
| pattern |
the string value of the slot must conform to this regular expression expressed in the string |
| rank |
the relative order in which the element occurs, lower values are given precedence |
| code_set |
the identifier of an enumeration code set. |
| from_schema |
id of the schema that defined the element |
| slot_group |
allows for grouping of related slots into a grouping slot that serves the role of a group |
| preconditions |
an expression that must hold in order for the rule to be applicable to an instance |
| postconditions |
an expression that must hold for an instance of the class, if the preconditions hold |
| elseconditions |
an expression that must hold for an instance of the class, if the preconditions no not hold |
| abstract |
Indicates the class or slot cannot be directly instantiated and is intended for grouping purposes. |
| all_members |
the value of the slot is multivalued with all members satisfying the condition |
| asymmetric |
If s is antisymmetric, and i.s=v where i is different from v, v.s cannot have value i |
| bindings |
A collection of enum bindings that specify how a slot can be bound to a permissible value from an enumeration. LinkML provides enums to allow string values to be restricted to one of a set of permissible values (specified statically or dynamically). Enum bindings allow enums to be bound to any object, including complex nested objects. For example, given a (generic) class Concept with slots id and label, it may be desirable to restrict the values the id takes on in a given context. For example, a HumanSample class may have a slot for representing sample site, with a range of concept, but the values of that slot may be restricted to concepts from a particular branch of an anatomy ontology. |
| classification_rules |
The collection of classification rules that apply to all members of this class. Classification rules allow for automatically assigning the instantiated type of an instance. |
| designates_type |
True means that the key slot(s) is used to determine the instantiation (types) relation between objects and a ClassDefinition |
| disjoint_with |
Two classes are disjoint if they have no instances in common, two slots are disjoint if they can never hold between the same two instances |
| domain |
defines the type of the subject of the slot. Given the following slot definition S1: domain: C1 range: C2 the declaration X: S1: Y |
| enum_range |
An inlined enumeration |
| enum_uri |
IRI (URI) of the enum that provides a semantic interpretation of the element in a linked data context. The IRI may come from any namespace and may be shared between schemas |
| equals_expression |
the value of the slot must equal the value of the evaluated expression |
| equals_string |
the slot must have range string and the value of the slot must equal the specified value |
| equals_string_in |
the slot must have range string and the value of the slot must equal one of the specified values |
| exact_cardinality |
the exact number of entries for a multivalued slot |
| extra_slots |
How a class instance handles extra data not specified in the class definition. Note that this does not define the constraints that are placed on additional slots defined by inheriting classes. |
| has_member |
the value of the slot is multivalued with at least one member satisfying the condition |
| id_prefixes |
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 |
| ifabsent |
function that provides a default value for the slot. * [Tt]rue – boolean True * [Ff]alse – boolean False * bnode – blank node identifier * class_curie – CURIE for the containing class * class_uri – URI for the containing class * default_ns – schema default namespace * default_range – schema default range * int(value) – integer value * slot_uri – URI for the slot * slot_curie – CURIE for the slot * string(value) – string value * EnumName(PermissibleValue) – enum value |
| implicit_prefix |
Causes the slot value to be interpreted as a uriorcurie after prefixing with this string |
| inherited |
true means that the value of a slot is inherited by subclasses |
| inverse |
indicates that any instance of d s r implies that there is also an instance of r s’ d |
| irreflexive |
If s is irreflexive, then there exists no i such i.s=i |
| is_grouping_slot |
true if this slot is a grouping slot |
| key |
True means that the slot is the “singular unique key” (also known more simply as the “key slot”) of its class. Such a slot uniquely identifies instances of the class within a single container, meaning there cannot be two (or more) instances of the class (or instances of any of its descendants) with the same value for the key slot within the container. |
| list_elements_ordered |
If True, then the order of elements of a multivalued slot is guaranteed to be preserved. If False, the order may still be preserved but this is not guaranteed |
| list_elements_unique |
If True, then there must be no duplicates in the elements of a multivalued slot |
| locally_reflexive |
If s is locally_reflexive, then i.s=i for all instances i where s is a class slot for the type of i |
| maximum_cardinality |
the maximum number of entries for a multivalued slot |
| maximum_value |
For ordinal ranges, the value must be equal to or lower than this |
| minimum_cardinality |
the minimum number of entries for a multivalued slot |
| minimum_value |
For ordinal ranges, the value must be equal to or higher than this |
| mixin |
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. |
| range |
defines the type of the object of the slot. Given the following slot definition S1: domain: C1 range: C2 the declaration X: S1: Y |
| range_expression |
A range that is described as a boolean expression combining existing ranges |
| reflexive |
If s is reflexive, then i.s=i for all instances i |
| reflexive_transitive_form_of |
transitive_form_of including the reflexive case |
| rules |
the collection of rules that apply to all members of this class |
| shared |
If True, then the relationship between the slot domain and range is many to one or many to many |
| slot_conditions |
expresses constraints on a group of slots for a class expression |
| string_serialization |
Used on a slot that stores the string serialization of the containing object. The syntax follows python formatted strings, with slot names enclosed in {}s. These are expanded using the values of those slots. We call the slot with the serialization the s-slot, the slots used in the {}s are v-slots. If both s-slots and v-slots are populated on an object then the value of the s-slot should correspond to the expansion. Implementations of frameworks may choose to use this property to either (a) PARSE: implement automated normalizations by parsing denormalized strings into complex objects (b) GENERATE: implement automated to_string labeling of complex objects For example, a Measurement class may have 3 fields: unit, value, and string_value. The string_value slot may have a string_serialization of {value}{unit} such that if unit=cm and value=2, the value of string_value shouldd be 2cm |
| structured_pattern |
the string value of the slot must conform to the regular expression in the pattern expression |
| symmetric |
If s is symmetric, and i.s=v, then v.s=i |
| transitive |
If s is transitive, and i.s=z, and s.s=j, then i.s=j |
| transitive_form_of |
If s transitive_form_of d, then (1) s holds whenever d holds (2) s is transitive (3) d holds whenever s holds and there are no intermediates, and s is not reflexive |
| union_of |
indicates that the domain element consists exactly of the members of the element in the range. |
| unique_keys |
A collection of named unique keys for this class. Such unique keys may be spread over several slots, which is why they are also called “compound keys”. A unique key uniquely identifies instances of the class within a given container, meaning there cannot be two (or more) instances of the class with the same values for all the slots that make up the unique key. |
| classes |
An index to the collection of all class definitions in the schema |
| permissible_values |
A list of possible values for a slot range |
| slots |
collection of slot names that are applicable to a class |
| enums |
An index to the collection of all enum definitions in the schema |
| inherits |
An enum definition that is used as the basis to create a new enum |
| slot_usage |
the refinement of a slot in the context of the containing class definition. |
| attributes |
Inline definition of slots |
| minus |
An enum expression that yields a list of permissible values that are to be subtracted from the enum |
| concepts |
A list of identifiers that are used to construct a set of permissible values |
| slot_definitions |
An index to the collection of all slot definitions in the schema |
| reachable_from |
Specifies a query for obtaining a list of permissible values based on graph reachability |
| subsets |
An index to the collection of all subset definitions in the schema |
| include |
An enum expression that yields a list of permissible values that are to be included, after subtracting the minus set |
| matches |
Specifies a match query that is used to calculate the list of permissible values |
| pv_formula |
Defines the specific formula to be used to generate the permissible values. |
| any_of |
holds if at least one of the expressions hold |
| exactly_one_of |
holds if only one of the expressions hold |
| none_of |
holds if none of the expressions hold |
| all_of |
holds if all of the expressions hold |
| allowed |
Whether or not something is allowed. Usage defined by context. |
| bidirectional |
in addition to preconditions entailing postconditions, the postconditions entail the preconditions |
| binds_value_of |
A path to a slot that is being bound to a permissible value from an enumeration. |
| equals_number_in |
the slot must have range number and the value of the slot must equal one of the specified values |
| identifier_pattern |
A regular expression that is used to obtain a set of identifiers from a source_ontology to construct a set of permissible values |
| inapplicable |
true means that values for this slot must not be present |
| include_self |
True if the query is reflexive |
| interpolated |
if true then the pattern is first string interpolated |
| is_direct |
True if the reachability query should only include directly related nodes, if False then include also transitively connected |
| obligation_level |
The level of obligation or recommendation strength for a metadata element |
| open_world |
if true, the the postconditions may be omitted in instance data, but it is valid for an inference engine to add these |
| partial_match |
if not true then the pattern must match the whole string, as if enclosed in ^…$ |
| relationship_types |
A list of relationship types (properties) that are used in a reachability query |
| setting_key |
the variable name for a setting |
| setting_value |
The value assigned for a setting |
| source_nodes |
A list of nodes that are used in the reachability query |
| source_ontology |
An ontology or vocabulary or terminology that is used in a query to obtain a set of permissible values |
| syntax |
the string value of the slot must conform to this regular expression expressed in the string. May be interpolated. |
| traverse_up |
True if the direction of the reachability query is reversed and ancestors are retrieved |
| unique_key_name |
name of the unique key |
| unique_key_slots |
list of slot names that form a key. The tuple formed from the values of all these slots should be unique. |