Class: PermissibleValueDerivation
A specification of how to derive the value of a PV from a source enum
URI: linkmltr:PermissibleValueDerivation
classDiagram
class PermissibleValueDerivation
ElementDerivation <|-- PermissibleValueDerivation
PermissibleValueDerivation : comments
PermissibleValueDerivation : copy_directives
PermissibleValueDerivation --> CopyDirective : copy_directives
PermissibleValueDerivation : description
PermissibleValueDerivation --> None : description
PermissibleValueDerivation : expr
PermissibleValueDerivation : expression_to_expression_mappings
PermissibleValueDerivation --> KeyVal : expression_to_expression_mappings
PermissibleValueDerivation : expression_to_value_mappings
PermissibleValueDerivation --> KeyVal : expression_to_value_mappings
PermissibleValueDerivation : hide
PermissibleValueDerivation : implements
PermissibleValueDerivation : is_a
PermissibleValueDerivation --> ElementDerivation : is_a
PermissibleValueDerivation : mirror_source
PermissibleValueDerivation : mixins
PermissibleValueDerivation --> ElementDerivation : mixins
PermissibleValueDerivation : name
PermissibleValueDerivation --> None : name
PermissibleValueDerivation : overrides
PermissibleValueDerivation --> Any : overrides
PermissibleValueDerivation : populated_from
PermissibleValueDerivation : sources
PermissibleValueDerivation : value_mappings
PermissibleValueDerivation --> KeyVal : value_mappings
Inheritance
- SpecificationComponent
- ElementDerivation
- PermissibleValueDerivation
- ElementDerivation
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
name | 0..1 String |
Target permissible value text | direct |
expr | 0..1 String |
direct | |
populated_from | 0..1 String |
Source permissible value | direct |
sources | 0..* String |
direct | |
hide | 0..1 Boolean |
direct | |
copy_directives | 0..* CopyDirective |
ElementDerivation | |
overrides | 0..1 Any |
overrides source schema slots | ElementDerivation |
is_a | 0..1 ElementDerivation |
ElementDerivation | |
mixins | 0..* ElementDerivation |
ElementDerivation | |
value_mappings | 0..* KeyVal |
A mapping table that is applied directly to mappings, in order of precedence | ElementDerivation |
expression_to_value_mappings | 0..* KeyVal |
A mapping table in which the keys are expressions | ElementDerivation |
expression_to_expression_mappings | 0..* KeyVal |
A mapping table in which the keys and values are expressions | ElementDerivation |
mirror_source | 0..1 Boolean |
ElementDerivation | |
description | 0..1 String |
description of the specification component | SpecificationComponent |
implements | 0..* Uriorcurie |
A reference to a specification that this component implements | SpecificationComponent |
comments | 0..* String |
A list of comments about this component | SpecificationComponent |
Usages
used by | used in | type | used |
---|---|---|---|
EnumDerivation | permissible_value_derivations | range | PermissibleValueDerivation |
TODOs
- this is currently under-specified. We will need boolean combinators to express if-then-else
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/linkml/transformer
Mappings
Mapping Type | Mapped Value |
---|---|
self | linkmltr:PermissibleValueDerivation |
native | linkmltr:PermissibleValueDerivation |
LinkML Source
Direct
name: PermissibleValueDerivation
description: A specification of how to derive the value of a PV from a source enum
todos:
- this is currently under-specified. We will need boolean combinators to express if-then-else
from_schema: https://w3id.org/linkml/transformer
is_a: ElementDerivation
attributes:
name:
name: name
description: Target permissible value text
from_schema: https://w3id.org/linkml/transformer
key: true
domain_of:
- ElementDerivation
- SlotDerivation
- EnumDerivation
- PermissibleValueDerivation
required: true
expr:
name: expr
from_schema: https://w3id.org/linkml/transformer
domain_of:
- SlotDerivation
- EnumDerivation
- PermissibleValueDerivation
range: string
populated_from:
name: populated_from
description: Source permissible value
from_schema: https://w3id.org/linkml/transformer
domain_of:
- ClassDerivation
- SlotDerivation
- EnumDerivation
- PermissibleValueDerivation
range: string
sources:
name: sources
from_schema: https://w3id.org/linkml/transformer
multivalued: true
domain_of:
- ClassDerivation
- SlotDerivation
- EnumDerivation
- PermissibleValueDerivation
range: string
hide:
name: hide
from_schema: https://w3id.org/linkml/transformer
domain_of:
- SlotDerivation
- EnumDerivation
- PermissibleValueDerivation
range: boolean
Induced
name: PermissibleValueDerivation
description: A specification of how to derive the value of a PV from a source enum
todos:
- this is currently under-specified. We will need boolean combinators to express if-then-else
from_schema: https://w3id.org/linkml/transformer
is_a: ElementDerivation
attributes:
name:
name: name
description: Target permissible value text
from_schema: https://w3id.org/linkml/transformer
key: true
alias: name
owner: PermissibleValueDerivation
domain_of:
- ElementDerivation
- SlotDerivation
- EnumDerivation
- PermissibleValueDerivation
required: true
expr:
name: expr
from_schema: https://w3id.org/linkml/transformer
alias: expr
owner: PermissibleValueDerivation
domain_of:
- SlotDerivation
- EnumDerivation
- PermissibleValueDerivation
range: string
populated_from:
name: populated_from
description: Source permissible value
from_schema: https://w3id.org/linkml/transformer
alias: populated_from
owner: PermissibleValueDerivation
domain_of:
- ClassDerivation
- SlotDerivation
- EnumDerivation
- PermissibleValueDerivation
range: string
sources:
name: sources
from_schema: https://w3id.org/linkml/transformer
multivalued: true
alias: sources
owner: PermissibleValueDerivation
domain_of:
- ClassDerivation
- SlotDerivation
- EnumDerivation
- PermissibleValueDerivation
range: string
hide:
name: hide
from_schema: https://w3id.org/linkml/transformer
alias: hide
owner: PermissibleValueDerivation
domain_of:
- SlotDerivation
- EnumDerivation
- PermissibleValueDerivation
range: boolean
copy_directives:
name: copy_directives
from_schema: https://w3id.org/linkml/transformer
rank: 1000
multivalued: true
alias: copy_directives
owner: PermissibleValueDerivation
domain_of:
- ElementDerivation
range: CopyDirective
inlined: true
overrides:
name: overrides
description: overrides source schema slots
from_schema: https://w3id.org/linkml/transformer
rank: 1000
alias: overrides
owner: PermissibleValueDerivation
domain_of:
- ElementDerivation
range: Any
is_a:
name: is_a
from_schema: https://w3id.org/linkml/transformer
rank: 1000
slot_uri: linkml:is_a
alias: is_a
owner: PermissibleValueDerivation
domain_of:
- ElementDerivation
range: ElementDerivation
mixins:
name: mixins
from_schema: https://w3id.org/linkml/transformer
rank: 1000
slot_uri: linkml:mixins
multivalued: true
alias: mixins
owner: PermissibleValueDerivation
domain_of:
- ElementDerivation
range: ElementDerivation
inlined: false
value_mappings:
name: value_mappings
description: A mapping table that is applied directly to mappings, in order of
precedence
from_schema: https://w3id.org/linkml/transformer
rank: 1000
multivalued: true
alias: value_mappings
owner: PermissibleValueDerivation
domain_of:
- ElementDerivation
range: KeyVal
inlined: true
expression_to_value_mappings:
name: expression_to_value_mappings
description: A mapping table in which the keys are expressions
from_schema: https://w3id.org/linkml/transformer
rank: 1000
multivalued: true
alias: expression_to_value_mappings
owner: PermissibleValueDerivation
domain_of:
- ElementDerivation
range: KeyVal
inlined: true
expression_to_expression_mappings:
name: expression_to_expression_mappings
description: A mapping table in which the keys and values are expressions
from_schema: https://w3id.org/linkml/transformer
rank: 1000
multivalued: true
alias: expression_to_expression_mappings
owner: PermissibleValueDerivation
domain_of:
- ElementDerivation
range: KeyVal
inlined: true
mirror_source:
name: mirror_source
from_schema: https://w3id.org/linkml/transformer
rank: 1000
alias: mirror_source
owner: PermissibleValueDerivation
domain_of:
- ElementDerivation
range: boolean
description:
name: description
description: description of the specification component
from_schema: https://w3id.org/linkml/transformer
rank: 1000
slot_uri: dcterms:description
alias: description
owner: PermissibleValueDerivation
domain_of:
- SpecificationComponent
range: string
implements:
name: implements
description: A reference to a specification that this component implements.
from_schema: https://w3id.org/linkml/transformer
rank: 1000
multivalued: true
alias: implements
owner: PermissibleValueDerivation
domain_of:
- SpecificationComponent
range: uriorcurie
comments:
name: comments
description: A list of comments about this component. Comments are free text,
and may be used to provide additional information about the component, including
instructions for its use.
from_schema: https://w3id.org/linkml/transformer
rank: 1000
slot_uri: rdfs:comment
multivalued: true
alias: comments
owner: PermissibleValueDerivation
domain_of:
- SpecificationComponent
range: string