Skip to content

Class: type_definition

an element that whose instances are atomic scalar values that can be mapped to primitive types

  • type_uri (uri in data) · uriorcurie

    The IRI (URI) that defines the possible values for the type definition

  • alias · string

    The alternative name to be used in serializations of an instance instead of the canonical name.

  • typeof · type_definition (reference)

    A parent type from which type properties are inherited

  • base · string

    python base type in the LinkML runtime that implements this type definition

  • repr · string

    the name of the python object that implements this type definition

  • union_of · list of type_definition (reference)

    indicates that the domain element consists exactly of the members of the element in the range.

  • name (identifier) · string · required

    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.

  • conforms_to · string

    An established standard to which the element conforms.

  • definition_uri · uriorcurie

    The native IRI (URI) of the element. This is always within the namespace of the containing schema. Contrast with the assigned IRI, via class_uri or slot_uri

  • implements · list of uriorcurie

    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.

  • instantiates · list of uriorcurie

    An element in another schema which this element instantiates.

  • local_names · list of local_name

    Attributed labels of an element

  • id_prefixes · list of ncname

    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

  • id_prefixes_are_closed · boolean

    If true, then the id_prefixes slot is treated as being closed, and any use of an id that does not have this prefix is considered a violation.

Used by Slot Cardinality
schema_definition default_range 0..1
schema_definition types 0..*
type_definition typeof 0..1
type_definition union_of 0..*
type_mapping mapped_type (type in data) 0..1