Class: type_expression
An abstract class grouping named types and anonymous type expressions
- Canonical name:
TypeExpression - Names in code:
TypeExpression(Scala, TypeScript, Python, Java, Rust, GraphQL) - URI:
linkml:TypeExpression(https://w3id.org/linkml/TypeExpression) - Mixin: yes, so other classes can add its slots with
mixins - Parent: expression
- Mixed into: type_definition, anonymous_type_expression
Inheritance
Section titled “Inheritance”- expression
- type_expression
-
the string value of the slot must conform to this regular expression expressed in the string
-
the string value must contain at least this many characters (Unicode code-points).
-
the string value must contain at most this many characters (Unicode code-points).
-
an encoding of a unit
-
the slot must have range of a number and the value of the slot must equal the specified value
-
the slot must have range string and the value of the slot must equal the specified value
-
equals_string_in · list of string
the slot must have range string and the value of the slot must equal one of the specified values
-
Causes the slot value to be interpreted as a uriorcurie after prefixing with this string
-
maximum_value · Any
For ordinal ranges, the value must be equal to or lower than this
-
minimum_value · Any
For ordinal ranges, the value must be equal to or higher than this
-
structured_pattern · pattern_expression
the string value of the slot must conform to the regular expression in the pattern expression
-
any_of · list of anonymous_type_expression
holds if at least one of the expressions hold
-
exactly_one_of · list of anonymous_type_expression
holds if only one of the expressions hold
-
none_of · list of anonymous_type_expression
holds if none of the expressions hold
-
all_of · list of anonymous_type_expression
holds if all of the expressions hold