Skip to content

Slot: food_sample_id

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.

URI: mifc:food_sample_id Alias: food_sample_id

Applicable Classes

Name Description Modifies Slot
Food Metadata about foods analyzed for components of nutritional interest no

Properties

  • Range: String

  • Required: True

Examples

Value
CY121UM

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/FoodDataCentral/mifc

Mappings

Mapping Type Mapped Value
self mifc:food_sample_id
native mifc:food_sample_id

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.
notes:
- 'Instead of `identifier: true` perhaps we can use unique_keys https://linkml.io/linkml/schemas/constraints.html'
- 'identifier: true # Forces food_sample_id keys to be unique'
examples:
- value: CY121UM
in_subset:
- RequiredSubset
- RecommendedSubset
from_schema: https://w3id.org/FoodDataCentral/mifc
rank: 1000
alias: food_sample_id
domain_of:
- Food
range: string
required: true
recommended: true