Skip to content

Commit

Permalink
add schema for food aid places
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 537137909
  • Loading branch information
ajaits authored and copybara-github committed Jun 1, 2023
1 parent ab0e89e commit b66015a
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/dcschema_enum_classes.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -425,3 +425,8 @@ subClassOf: schema:Enumeration
description: "Identifies whether the currency of a region is represented in the currency of the observation period (LocalCurrency), or the current currency of the region (Standardized)."
name: "CurrencyUnitStandardizationEnum"

Node: dcid:FoodEstablishmentTypeEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
description: "Types of food establishments"
name: "FoodEstablishmentTypeEnum"
30 changes: 30 additions & 0 deletions core/dcschema_enum_instances.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -2357,3 +2357,33 @@ Node: dcid:StandardizedCurrency
name: "StandardizedCurrency"
typeOf: dcs:CurrencyUnitStandardizationEnum
description: "The standardized currency used by a region in its most recent reference year."


Node: dcid:EmergencyFoodAssistance
typeOf: dcid:FoodEstablishmentTypeEnum
name: "EmergencyFoodAssistance"

Node: dcid:EmergencyFoodDistribution
typeOf: dcid:FoodEstablishmentTypeEnum
name: "EmergencyFoodAssistance"

Node: dcid:FoodBank
typeOf: dcid:FoodEstablishmentTypeEnum
name: "FoodBank"

Node: dcid:FoodDistributionProgram
typeOf: dcid:FoodEstablishmentTypeEnum
nmae: "FoodDistributionProgram"

Node: dcid:FoodPantry
typeOf: dcid:FoodEstablishmentTypeEnum
name: "FoodPantry"

Node: dcid:NutritionServicesProgram
typeOf: dcid:FoodEstablishmentTypeEnum
name: "NutritionServicesProgram"

Node: dcid:USDACommodityProgram
typeOf: dcid:FoodEstablishmentTypeEnum
name: "USDACommodityProgram"

6 changes: 6 additions & 0 deletions core/schema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -4790,6 +4790,12 @@ name: "foodEstablishment"
subPropertyOf: "location"
domainIncludes: schema:CookAction

Node: dcid:foodEstablishmentType
typeOf: schema:Property
domainIncludes: schema:FoodEstablishment
name: "foodEstablishmentType"
domainIncludes: dcid:FoodEstablishmentTypeEnum

Node: BedDetails
dcid: "BedDetails"
subClassOf: schema:Intangible
Expand Down

0 comments on commit b66015a

Please sign in to comment.