Skip to content

MinimalSubset

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.

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/meta

Classes in subset

Class Description
SchemaDefinition a collection of subset, type, slot and class definitions
ClassDefinition an element whose instances are complex objects that may have slot-value assig...
SlotDefinition an element that describes how instances are related to other instances

SchemaDefinition

a collection of subset, type, slot and class definitions

Name Cardinality and Range Description
id 1..1
Uri
The official schema URI
name 1..1
Ncname
a unique name for the schema that is both human-readable and consists of only... identifier
classes 0..*
ClassDefinition
An index to the collection of all class definitions in the schema
default_prefix 0..1
String
default and base prefix -- used for ':' identifiers, @base and @vocab
default_range 0..1
TypeDefinition
default slot range to be used if range element is omitted from a slot definit...

ClassDefinition

an element whose instances are complex objects that may have slot-value assignments

Name Cardinality and Range Description
name 1..1
String
the unique name of the element within the context of the schema identifier
attributes 0..*
SlotDefinition
Inline definition of slots

SlotDefinition

an element that describes how instances are related to other instances

Name Cardinality and Range Description
name 1..1
String
the unique name of the element within the context of the schema identifier
identifier 0..1
Boolean
True means that the key slot(s) uniquely identify the container
multivalued 0..1
Boolean
true means that slot can have more than one value
required 0..1
Boolean
true means that the slot must be present in the loaded definition
range 0..1
Element
defines the type of the object of the slot

Slots in subset

Slot Description
id The official schema URI
name the unique name of the element within the context of the schema
classes An index to the collection of all class definitions in the schema
identifier True means that the key slot(s) uniquely identify the container
multivalued true means that slot can have more than one value
required true means that the slot must be present in the loaded definition
default_prefix default and base prefix -- used for ':' identifiers, @base and @vocab
default_range default slot range to be used if range element is omitted from a slot definit...
attributes Inline definition of slots
range defines the type of the object of the slot

Enumerations in subset

Enumeration Description