Class: PrefixDerivation
A specification of how to derive a target prefix declaration. Currently a placeholder with no additional fields.
URI: [linkmlmap:class/PrefixDerivation](https://w3id.org/linkml/transformer/class/PrefixDerivation)
## Inheritance
* [SpecificationComponent](../classes/SpecificationComponent.md)
* [ElementDerivation](../classes/ElementDerivation.md)
* **PrefixDerivation**
## Slots
| Name | Cardinality and Range | Description | Inheritance |
| --- | --- | --- | --- |
| [name](../slots/name.md) | 1
[String](../types/String.md) | Name of the element in the target schema | [ElementDerivation](../classes/ElementDerivation.md) | | [copy_directives](../slots/copy_directives.md) | *
[CopyDirective](../classes/CopyDirective.md) | Directives controlling which sub-elements of the source element are copied in... | [ElementDerivation](../classes/ElementDerivation.md) | | [overrides](../slots/overrides.md) | 0..1
[Any](../classes/Any.md) | overrides source schema slots | [ElementDerivation](../classes/ElementDerivation.md) | | [is_a](../slots/is_a.md) | 0..1
[ElementDerivation](../classes/ElementDerivation.md) | The parent element that the derived target element inherits from | [ElementDerivation](../classes/ElementDerivation.md) | | [mixins](../slots/mixins.md) | *
[ElementDerivation](../classes/ElementDerivation.md) | Mixin elements applied to the derived target element | [ElementDerivation](../classes/ElementDerivation.md) | | [value_mappings](../slots/value_mappings.md) | *
[KeyVal](../classes/KeyVal.md) | A mapping table that is applied directly to mappings, in order of precedence | [ElementDerivation](../classes/ElementDerivation.md) | | [expression_mappings](../slots/expression_mappings.md) | *
[KeyVal](../classes/KeyVal.md) | A mapping table where the values are expressions evaluated against source bin... | [ElementDerivation](../classes/ElementDerivation.md) | | [expression_to_value_mappings](../slots/expression_to_value_mappings.md) | *
[KeyVal](../classes/KeyVal.md) | A mapping table in which the keys are boolean expressions and the values are ... | [ElementDerivation](../classes/ElementDerivation.md) | | [expression_to_expression_mappings](../slots/expression_to_expression_mappings.md) | *
[KeyVal](../classes/KeyVal.md) | A mapping table in which the keys and values are expressions | [ElementDerivation](../classes/ElementDerivation.md) | | [mirror_source](../slots/mirror_source.md) | 0..1
[Boolean](../types/Boolean.md) | If true, pass the source value through unchanged instead of transforming it | [ElementDerivation](../classes/ElementDerivation.md) | | [description](../slots/description.md) | 0..1
[String](../types/String.md) | description of the specification component | [SpecificationComponent](../classes/SpecificationComponent.md) | | [implements](../slots/implements.md) | *
[Uriorcurie](../types/Uriorcurie.md) | A reference to a specification that this component implements | [SpecificationComponent](../classes/SpecificationComponent.md) | | [comments](../slots/comments.md) | *
[String](../types/String.md) | A list of comments about this component | [SpecificationComponent](../classes/SpecificationComponent.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://w3id.org/linkml/transformer ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | linkmlmap:PrefixDerivation | | native | linkmlmap:PrefixDerivation | ## LinkML Source ### Direct
### Induced
classDiagram
class PrefixDerivation
click PrefixDerivation href "../../classes/PrefixDerivation/"
ElementDerivation <|-- PrefixDerivation
click ElementDerivation href "../../classes/ElementDerivation/"
PrefixDerivation : comments
PrefixDerivation : copy_directives
PrefixDerivation --> "*" CopyDirective : copy_directives
click CopyDirective href "../../classes/CopyDirective/"
PrefixDerivation : description
PrefixDerivation : expression_mappings
PrefixDerivation --> "*" KeyVal : expression_mappings
click KeyVal href "../../classes/KeyVal/"
PrefixDerivation : expression_to_expression_mappings
PrefixDerivation --> "*" KeyVal : expression_to_expression_mappings
click KeyVal href "../../classes/KeyVal/"
PrefixDerivation : expression_to_value_mappings
PrefixDerivation --> "*" KeyVal : expression_to_value_mappings
click KeyVal href "../../classes/KeyVal/"
PrefixDerivation : implements
PrefixDerivation : is_a
PrefixDerivation --> "0..1" ElementDerivation : is_a
click ElementDerivation href "../../classes/ElementDerivation/"
PrefixDerivation : mirror_source
PrefixDerivation : mixins
PrefixDerivation --> "*" ElementDerivation : mixins
click ElementDerivation href "../../classes/ElementDerivation/"
PrefixDerivation : name
PrefixDerivation : overrides
PrefixDerivation --> "0..1" Any : overrides
click Any href "../../classes/Any/"
PrefixDerivation : value_mappings
PrefixDerivation --> "*" KeyVal : value_mappings
click KeyVal href "../../classes/KeyVal/"
[String](../types/String.md) | Name of the element in the target schema | [ElementDerivation](../classes/ElementDerivation.md) | | [copy_directives](../slots/copy_directives.md) | *
[CopyDirective](../classes/CopyDirective.md) | Directives controlling which sub-elements of the source element are copied in... | [ElementDerivation](../classes/ElementDerivation.md) | | [overrides](../slots/overrides.md) | 0..1
[Any](../classes/Any.md) | overrides source schema slots | [ElementDerivation](../classes/ElementDerivation.md) | | [is_a](../slots/is_a.md) | 0..1
[ElementDerivation](../classes/ElementDerivation.md) | The parent element that the derived target element inherits from | [ElementDerivation](../classes/ElementDerivation.md) | | [mixins](../slots/mixins.md) | *
[ElementDerivation](../classes/ElementDerivation.md) | Mixin elements applied to the derived target element | [ElementDerivation](../classes/ElementDerivation.md) | | [value_mappings](../slots/value_mappings.md) | *
[KeyVal](../classes/KeyVal.md) | A mapping table that is applied directly to mappings, in order of precedence | [ElementDerivation](../classes/ElementDerivation.md) | | [expression_mappings](../slots/expression_mappings.md) | *
[KeyVal](../classes/KeyVal.md) | A mapping table where the values are expressions evaluated against source bin... | [ElementDerivation](../classes/ElementDerivation.md) | | [expression_to_value_mappings](../slots/expression_to_value_mappings.md) | *
[KeyVal](../classes/KeyVal.md) | A mapping table in which the keys are boolean expressions and the values are ... | [ElementDerivation](../classes/ElementDerivation.md) | | [expression_to_expression_mappings](../slots/expression_to_expression_mappings.md) | *
[KeyVal](../classes/KeyVal.md) | A mapping table in which the keys and values are expressions | [ElementDerivation](../classes/ElementDerivation.md) | | [mirror_source](../slots/mirror_source.md) | 0..1
[Boolean](../types/Boolean.md) | If true, pass the source value through unchanged instead of transforming it | [ElementDerivation](../classes/ElementDerivation.md) | | [description](../slots/description.md) | 0..1
[String](../types/String.md) | description of the specification component | [SpecificationComponent](../classes/SpecificationComponent.md) | | [implements](../slots/implements.md) | *
[Uriorcurie](../types/Uriorcurie.md) | A reference to a specification that this component implements | [SpecificationComponent](../classes/SpecificationComponent.md) | | [comments](../slots/comments.md) | *
[String](../types/String.md) | A list of comments about this component | [SpecificationComponent](../classes/SpecificationComponent.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://w3id.org/linkml/transformer ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | linkmlmap:PrefixDerivation | | native | linkmlmap:PrefixDerivation | ## LinkML Source ### Direct
name: PrefixDerivation
description: A specification of how to derive a target prefix declaration. Currently
a placeholder with no additional fields.
from_schema: https://w3id.org/linkml/transformer
is_a: ElementDerivation
name: PrefixDerivation
description: A specification of how to derive a target prefix declaration. Currently
a placeholder with no additional fields.
from_schema: https://w3id.org/linkml/transformer
is_a: ElementDerivation
attributes:
name:
name: name
description: Name of the element in the target schema
from_schema: https://w3id.org/linkml/transformer
identifier: true
owner: PrefixDerivation
domain_of:
- SchemaReference
- ElementDerivation
- ClassDefault
- ObjectDerivation
- SlotDerivation
- EnumDerivation
- PermissibleValueDerivation
- Agent
range: string
required: true
copy_directives:
name: copy_directives
description: Directives controlling which sub-elements of the source element are
copied into the derived target element.
from_schema: https://w3id.org/linkml/transformer
owner: PrefixDerivation
domain_of:
- TransformationSpecification
- ElementDerivation
range: CopyDirective
multivalued: true
inlined: true
overrides:
name: overrides
description: overrides source schema slots
from_schema: https://w3id.org/linkml/transformer
rank: 1000
owner: PrefixDerivation
domain_of:
- ElementDerivation
range: Any
is_a:
name: is_a
description: The parent element that the derived target element inherits from.
from_schema: https://w3id.org/linkml/transformer
rank: 1000
slot_uri: linkml:is_a
owner: PrefixDerivation
domain_of:
- ElementDerivation
range: ElementDerivation
mixins:
name: mixins
description: Mixin elements applied to the derived target element.
from_schema: https://w3id.org/linkml/transformer
rank: 1000
slot_uri: linkml:mixins
owner: PrefixDerivation
domain_of:
- ElementDerivation
range: ElementDerivation
multivalued: true
inlined: false
value_mappings:
name: value_mappings
description: A mapping table that is applied directly to mappings, in order of
precedence. Keys should always be quoted in YAML to prevent type coercion —
unquoted true/false become booleans and bare numbers become integers, which
will not match the stringified source value used for lookup.
from_schema: https://w3id.org/linkml/transformer
rank: 1000
owner: PrefixDerivation
domain_of:
- ElementDerivation
range: KeyVal
multivalued: true
inlined: true
expression_mappings:
name: expression_mappings
description: A mapping table where the values are expressions evaluated against
source bindings. Looked up by the same key as value_mappings (the stringified
source value). Keys should always be quoted (see value_mappings). If both value_mappings
and expression_mappings are present, value_mappings takes precedence for keys
that appear in both.
from_schema: https://w3id.org/linkml/transformer
rank: 1000
owner: PrefixDerivation
domain_of:
- ElementDerivation
range: KeyVal
multivalued: true
inlined: true
expression_to_value_mappings:
name: expression_to_value_mappings
description: 'A mapping table in which the keys are boolean expressions and the
values are literal results. On enum derivations, used for scalar binning: each
key is evaluated with value() bound to the incoming value, and the first truthy
key''s value is returned as the target permissible value. See issue #99.'
from_schema: https://w3id.org/linkml/transformer
rank: 1000
owner: PrefixDerivation
domain_of:
- ElementDerivation
range: KeyVal
multivalued: true
inlined: true
expression_to_expression_mappings:
name: expression_to_expression_mappings
description: A mapping table in which the keys and values are expressions
deprecated: 'Deprecated: use case() with and/or operators instead (#127). Will
be removed before 1.0.'
from_schema: https://w3id.org/linkml/transformer
rank: 1000
owner: PrefixDerivation
domain_of:
- ElementDerivation
range: KeyVal
multivalued: true
inlined: true
mirror_source:
name: mirror_source
description: If true, pass the source value through unchanged instead of transforming
it.
from_schema: https://w3id.org/linkml/transformer
rank: 1000
owner: PrefixDerivation
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
owner: PrefixDerivation
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
owner: PrefixDerivation
domain_of:
- SpecificationComponent
range: uriorcurie
multivalued: true
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
owner: PrefixDerivation
domain_of:
- SpecificationComponent
range: string
multivalued: true