Skip to content

Commit

Permalink
Add new Food slots
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiiam committed Sep 8, 2023
1 parent f287d01 commit 65590ed
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/mifc/schema/mifc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,16 @@ classes:
slots: ## Slots specific to food
- primary_food_type
- primary_food_type_label
- primary_food_type_upc_code
- food_preparation_state
- food_acquisition_city
- food_acquisition_country
- food_acquisition_country_subdivision
- food_acquisition_date
- food_distributor_city
- food_distributor_country
- food_distributor_country_subdivision
- food_expiration_date
id_prefixes:
- mifc

Expand Down Expand Up @@ -90,8 +99,18 @@ slots:
name of the food e.g., using a food vocabulary like USDA's FDC or FoodOn
slot_uri: schema:name
primary_food_type_label:
primary_food_type_upc_code:
range: integer
food_preparation_state:
range: FoodPreparationState
food_acquisition_city:
food_acquisition_country: # See ISO 3166 for country codes
food_acquisition_country_subdivision: #Example states or provinces see ISO 3166-2
food_acquisition_date: #TODO add ISO datetime requirement?
food_distributor_city:
food_distributor_country:
food_distributor_country_subdivision:
food_expiration_date: #TODO add ISO datetime requirement?


# Component slots
Expand Down

0 comments on commit 65590ed

Please sign in to comment.