StockComponent

Name
StockComponent
Description
One constituent in an IngredientRecord.components has-part assertion. The component may resolve to the current MIM catalog, deliberately name an external ontology/registry term, or remain unmapped; reference_scope makes those cases explicit. This class does not represent an identity mapping or a relationship among chemical forms.
From schema
https://w3id.org/mediaingredientmech
Attributes
Component name
Name
component_name
Description
Component ingredient name as listed in the supporting source (e.g. "FeCl3 x 6 H2O").
From schema
https://w3id.org/mediaingredientmech
Required
True
Component id
Name
component_id
Description
Semantic CURIE for the component (e.g. CHEBI:..., MICRO:..., or cas:...). It is not unconditionally a foreign key to one MIM row: reference_scope states whether the CURIE is represented in MIM or deliberately external. Omit only when reference_scope is UNMAPPED.
From schema
https://w3id.org/mediaingredientmech
Pattern
^[A-Za-z][A-Za-z0-9.]*:[A-Za-z0-9][A-Za-z0-9._~-]*$
Reference scope
Name
reference_scope
Description
Resolution status and intended scope of component_id.
From schema
https://w3id.org/mediaingredientmech
Range
ComponentReferenceScopeEnum
Required
True
Concentration value
Name
concentration_value
Description
Amount/concentration of the component, kept as a string to preserve the source's formatting (e.g. "1.5", "0.1-0.5").
From schema
https://w3id.org/mediaingredientmech
Concentration unit
Name
concentration_unit
Description
Unit for concentration_value (e.g. G_PER_L, MG_PER_L, M, MM, PERCENT).
From schema
https://w3id.org/mediaingredientmech
Source
Name
source
Description
Legacy free-text component provenance retained for compatibility; it may duplicate component_assertion.evidence. New curation should put record-level decomposition method and structured evidence in component_assertion, using this slot only when a part has additional component-specific provenance.
From schema
https://w3id.org/mediaingredientmech
Rules
  • Preconditions
    Slot conditions
    Reference scope
    Name
    reference_scope
    Equals string in
    • MIM_CATALOG
    • EXTERNAL_TERM
    Postconditions
    Slot conditions
    Component id
    Name
    component_id
    Value presence
    PRESENT
  • Preconditions
    Slot conditions
    Reference scope
    Name
    reference_scope
    Equals string in
    • UNMAPPED
    Postconditions
    Slot conditions
    Component id
    Name
    component_id
    Value presence
    ABSENT
  • Preconditions
    Slot conditions
    Concentration value
    Name
    concentration_value
    Value presence
    PRESENT
    Postconditions
    Slot conditions
    Concentration unit
    Name
    concentration_unit
    Value presence
    PRESENT
    Bidirectional
    True