Subset: BasicSubset
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
- Title: basic subset
- Members: 107
Classes
Section titled “Classes”| Class | Description |
|---|---|
| schema_definition | A collection of definitions that make up a schema or a data model. |
| class_definition | an element whose instances are complex objects that may have slot-value assignments |
| slot_definition | an element that describes how instances are related to other instances |
| type_definition | an element that whose instances are atomic scalar values that can be mapped to primitive types |
| enum_definition | an element whose instances must be drawn from a specified set of permissible values |
| subset_definition | an element that can be used to group other metamodel elements |
| prefix | prefix URI tuple |
| permissible_value | a permissible value, accompanied by intended text and an optional mapping to a concept URI |
| unique_key | a collection of slots whose values uniquely identify an instance of a class |
| alt_description | an attributed description |
| common_metadata | Generic metadata shared across definitions |
| definition | abstract base class for core metaclasses |
| element | A named element in the model |
| example | usage example and description |
| Slot | Description |
|---|---|
| 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 |
| title | A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation. |
| description | a textual description of the element’s purpose and use |
| 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. |
| 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. |
| 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. |
| license | license for the schema |
| 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 |
| aliases | Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment. |
| alt_descriptions | A sourced alternative description for an element |
| categories | Controlled terms used to categorize an element. |
| code_set | the identifier of an enumeration code set. |
| code_set_tag | the version tag of the enumeration code set |
| code_set_version | the version identifier of the enumeration code set |
| comments | notes and comments about an element intended primarily for external consumption |
| conforms_to | An established standard to which the element conforms. |
| contributors | agent that contributed to the element |
| created_by | agent that created the element |
| created_on | time at which the element was created |
| deprecated | Description of why and when this element will no longer be used |
| examples | example usages of an element |
| generation_date | date and time that the schema was loaded/generated |
| keywords | Keywords or tags used to describe the element |
| last_updated_on | time at which the element was last updated |
| modified_by | agent that modified the element |
| notes | editorial notes about an element intended primarily for internal consumption |
| see_also | A list of related entities or URLs that may be of relevance |
| singular_name | a name that is used in the singular form |
| slot_group | allows for grouping of related slots into a grouping slot that serves the role of a group |
| source | A related resource from which the element is derived. |
| source_file | name, uri or description of the source of the schema |
| source_file_date | modification date of the source of the schema |
| source_file_size | size in bytes of the source of the schema |
| status | status of the element |
| todos | Outstanding issues that needs resolution |
| version | particular version of schema |
| abstract | Indicates the class or slot cannot be directly instantiated and is intended for grouping purposes. |
| default_curi_maps | ordered list of prefixcommon biocontexts to be fetched to resolve id prefixes and inline prefix variables |
| 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 |
| 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. |
| 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 |
| in_subset | used to indicate membership of a term in a defined subset of terms used for a particular domain or application. |
| 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. |
| maximum_value | For ordinal ranges, the value must be equal to or lower than this |
| metamodel_version | Version of the metamodel used to load the schema |
| 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 |
| 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 |
| slot_usage | the refinement of a slot in the context of the containing class definition. |
| attributes | Inline definition of slots |
| types | An index to the collection of all type definitions in the schema |
| slot_definitions | An index to the collection of all slot definitions in the schema |
| subsets | An index to the collection of all subset definitions in the schema |
| pv_formula | Defines the specific formula to be used to generate the permissible values. |
| allowed | Whether or not something is allowed. Usage defined by context. |
| alt_description_source | the source of an attributed description |
| alt_description_text | text of an attributed description |
| owned_by | agent that owns or is the steward of the element |
| publisher | An entity responsible for making the resource available |
| 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. |
| value | example value |
| value_description | description of what the value is doing |
| value_object | direct object representation of the example |
| Enum | Description |
|---|---|
| pv_formula_options | The formula used to generate the set of permissible values from the code_set values |