Skip to content

Slot: apply_to

Used to extend class or slot definitions. For example, if we have a core schema where a gene has two slots for identifier and symbol, and we have a specialized schema for my_organism where we wish to add a slot systematic_name, we can avoid subclassing by defining a class gene_my_organism, adding the slot to this class, and then adding an apply_to pointing to the gene class. The new slot will be 'injected into' the gene class.

URI: [linkml:apply_to](https://w3id.org/linkml/apply_to) ## Applicable Classes | Name | Description | Modifies Slot | | --- | --- | --- | | [Definition](Definition.md) | abstract base class for core metaclasses | no | | [EnumDefinition](EnumDefinition.md) | an element whose instances must be drawn from a specified set of permissible ... | no | | [SlotDefinition](SlotDefinition.md) | an element that describes how instances are related to other instances | yes | | [ClassDefinition](ClassDefinition.md) | an element whose instances are complex objects that may have slot-value assig... | yes | ## Properties ### Type and Range | Property | Value | | --- | --- | | Range | [Definition](Definition.md) | | Domain | [Definition](Definition.md) | | Domain Of | [Definition](Definition.md) | ### Cardinality and Requirements | Property | Value | | --- | --- | | Multivalued | Yes | ## Identifier and Mapping Information ### Administrative Metadata **Status:** testing ### Schema Source * from schema: https://w3id.org/linkml/meta ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | linkml:apply_to | | native | linkml:apply_to | ## LinkML Source
name: apply_to
description: Used to extend class or slot definitions. For example, if we have a core
  schema where a gene has two slots for identifier and symbol, and we have a specialized
  schema for my_organism where we wish to add a slot systematic_name, we can avoid
  subclassing by defining a class gene_my_organism, adding the slot to this class,
  and then adding an apply_to pointing to the gene class. The new slot will be 'injected
  into' the gene class.
from_schema: https://w3id.org/linkml/meta
status: testing
rank: 1000
domain: definition
domain_of:
- definition
range: definition
multivalued: true