Schemasheets-Mappings schema

This is the datamodel for Schemasheets Configurations.

Note that for most purposes you will likely not need to consult this.

The key class is ColumnSettings

Two controlled vocabularies are specified here:

  • Cardinality - terms and abbreviations that can be used for cardinality
  • Shortcuts - species column configurations

Classes

  • ColumnSettings - configuration for an individual column in a schema sheet.
  • ValueMap - A key-value dictionary

Mixins

Slots

  • ➞applies_to_class - if a value C is specified, then this column in the relevant row is interpreted as
  • ➞applies_to_slot
  • ➞curie_prefix - CURIE prefix prepended to column value. This may be used for column that describe mapping or class/slot uri properties of the element. For example, with column settings exact_mapping: {curie_prefix: dcterms}, an element row with column value contributor, the value will be transformed to dcterms:contributor
  • ➞prefix - string to be prefixed onto the column value
  • ➞suffix - string to be suffixied onto the column value
  • ➞tag
  • ➞template - jinja templated format string
  • ➞vmap - Specifies a mapping for column values
  • map_key - key in the dictionary
  • map_value - key in the dictionary

Enums

  • Cardinality - vocabulary for describing cardinality and applicability of slots or fields.
  • Shortcuts - A vocabulary of permissible values as column descriptors that do not have an exact equivalent in the LinkML datamodel,

Subsets

Types

Built in

  • Bool
  • Decimal
  • ElementIdentifier
  • NCName
  • NodeIdentifier
  • URI
  • URIorCURIE
  • XSDDate
  • XSDDateTime
  • XSDTime
  • float
  • int
  • str

Defined

  • ElementReference (str) - A pointer to an element in a datamodel
  • Boolean (Bool) - A binary (true or false) value
  • Date (XSDDate) - a date (year, month and day) in an idealized calendar
  • Datetime (XSDDateTime) - The combination of a date and time
  • Decimal (Decimal) - A real number with arbitrary precision that conforms to the xsd:decimal specification
  • Double (float) - A real number that conforms to the xsd:double specification
  • Float (float) - A real number that conforms to the xsd:float specification
  • Integer (int) - An integer
  • Ncname (NCName) - Prefix part of CURIE
  • Nodeidentifier (NodeIdentifier) - A URI, CURIE or BNODE that represents a node in a model.
  • Objectidentifier (ElementIdentifier) - A URI or CURIE that represents an object in the model.
  • String (str) - A character string
  • Time (XSDTime) - A time object represents a (local) time of day, independent of any particular day
  • Uri (URI) - a complete URI
  • Uriorcurie (URIorCURIE) - a URI or a CURIE