food_sample_id
URI: mifc:food_sample_id
Applicable to: Food
Description
A string denoting the primary identifier for a sample of the class Food. Note that food_sample_id should be unique in a given dataset and should be used to relate Food and Component records via component_sample_id from the Component class.
Properties
-
Range: String. The range of the slot is the type of the value that can be assigned to it.
-
Requirement status: Required (slot MUST be used.)
Examples
Example: CY121UM
Example value:
CY121UM
Comments
- Instead of
identifier: true
perhaps we can use unique_keys https://linkml.io/linkml/schemas/constraints.html
Mappings
Mapping Type | Mapped Value |
---|---|
self | mifc:food_sample_id |
native | mifc:food_sample_id |
Schema developer documentation
LinkML source
name: food_sample_id
description: A string denoting the primary identifier for a sample of the class Food.
Note that food_sample_id should be unique in a given dataset and should be used
to relate Food and Component records via component_sample_id from the Component
class.
comments:
- 'Instead of `identifier: true` perhaps we can use unique_keys https://linkml.io/linkml/schemas/constraints.html'
examples:
- value: CY121UM
in_subset:
- RecommendedSubset
from_schema: https://w3id.org/kaiiam/mifc
rank: 1000
alias: food_sample_id
domain_of:
- Food
range: string
required: true