Skip to content

Commit

Permalink
Update data models (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
openactive-bot authored Jun 17, 2024
1 parent ab6bc64 commit ab979a2
Show file tree
Hide file tree
Showing 320 changed files with 5,800 additions and 5,408 deletions.
18 changes: 15 additions & 3 deletions lib/openactive/enums/property_enumeration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ class PropertyEnumeration < TypesafeEnum::Base
new :ArticleSection, "https://schema.org/articleSection"
new :Artist, "https://schema.org/artist"
new :ArtworkSurface, "https://schema.org/artworkSurface"
new :Asin, "https://schema.org/asin"
new :Aspect, "https://schema.org/aspect"
new :Assembly, "https://schema.org/assembly"
new :AssemblyVersion, "https://schema.org/assemblyVersion"
Expand Down Expand Up @@ -309,6 +310,7 @@ class PropertyEnumeration < TypesafeEnum::Base
new :CharacterName, "https://schema.org/characterName"
new :CheatCode, "https://schema.org/cheatCode"
new :CheckinTime, "https://schema.org/checkinTime"
new :CheckoutPageURLTemplate, "https://schema.org/checkoutPageURLTemplate"
new :CheckoutTime, "https://schema.org/checkoutTime"
new :ChemicalComposition, "https://schema.org/chemicalComposition"
new :ChemicalRole, "https://schema.org/chemicalRole"
Expand Down Expand Up @@ -348,7 +350,7 @@ class PropertyEnumeration < TypesafeEnum::Base
new :ConditionsOfAccess, "https://schema.org/conditionsOfAccess"
new :ConfirmationNumber, "https://schema.org/confirmationNumber"
new :ConnectedTo, "https://schema.org/connectedTo"
new :ConstrainingProperty, "https://schema.org/constrainingProperty"
new :ConstraintProperty, "https://schema.org/constraintProperty"
new :ContactOption, "https://schema.org/contactOption"
new :ContactPoint, "https://schema.org/contactPoint"
new :ContactPoints, "https://schema.org/contactPoints"
Expand Down Expand Up @@ -386,6 +388,7 @@ class PropertyEnumeration < TypesafeEnum::Base
new :CourseCode, "https://schema.org/courseCode"
new :CourseMode, "https://schema.org/courseMode"
new :CoursePrerequisites, "https://schema.org/coursePrerequisites"
new :CourseSchedule, "https://schema.org/courseSchedule"
new :CourseWorkload, "https://schema.org/courseWorkload"
new :CoverageEndTime, "https://schema.org/coverageEndTime"
new :CoverageStartTime, "https://schema.org/coverageStartTime"
Expand Down Expand Up @@ -896,7 +899,9 @@ class PropertyEnumeration < TypesafeEnum::Base
new :MaximumVirtualAttendeeCapacity, "https://schema.org/maximumVirtualAttendeeCapacity"
new :MealService, "https://schema.org/mealService"
new :MeasuredProperty, "https://schema.org/measuredProperty"
new :MeasuredValue, "https://schema.org/measuredValue"
new :MeasurementDenominator, "https://schema.org/measurementDenominator"
new :MeasurementMethod, "https://schema.org/measurementMethod"
new :MeasurementQualifier, "https://schema.org/measurementQualifier"
new :MeasurementTechnique, "https://schema.org/measurementTechnique"
new :MechanismOfAction, "https://schema.org/mechanismOfAction"
new :MediaAuthenticityCategory, "https://schema.org/mediaAuthenticityCategory"
Expand Down Expand Up @@ -924,6 +929,7 @@ class PropertyEnumeration < TypesafeEnum::Base
new :MinValue, "https://schema.org/minValue"
new :MinimumPaymentDue, "https://schema.org/minimumPaymentDue"
new :MissionCoveragePrioritiesPolicy, "https://schema.org/missionCoveragePrioritiesPolicy"
new :MobileUrl, "https://schema.org/mobileUrl"
new :Model, "https://schema.org/model"
new :ModelDate, "https://schema.org/modelDate"
new :ModifiedTime, "https://schema.org/modifiedTime"
Expand Down Expand Up @@ -986,8 +992,9 @@ class PropertyEnumeration < TypesafeEnum::Base
new :NumberedPosition, "https://schema.org/numberedPosition"
new :Nutrition, "https://schema.org/nutrition"
new :Object, "https://schema.org/object"
new :ObservationAbout, "https://schema.org/observationAbout"
new :ObservationDate, "https://schema.org/observationDate"
new :ObservedNode, "https://schema.org/observedNode"
new :ObservationPeriod, "https://schema.org/observationPeriod"
new :Occupancy, "https://schema.org/occupancy"
new :OccupationLocation, "https://schema.org/occupationLocation"
new :OccupationalCategory, "https://schema.org/occupationalCategory"
Expand Down Expand Up @@ -1298,6 +1305,7 @@ class PropertyEnumeration < TypesafeEnum::Base
new :ShippingDestination, "https://schema.org/shippingDestination"
new :ShippingDetails, "https://schema.org/shippingDetails"
new :ShippingLabel, "https://schema.org/shippingLabel"
new :ShippingOrigin, "https://schema.org/shippingOrigin"
new :ShippingRate, "https://schema.org/shippingRate"
new :ShippingSettingsLink, "https://schema.org/shippingSettingsLink"
new :Sibling, "https://schema.org/sibling"
Expand Down Expand Up @@ -1343,6 +1351,7 @@ class PropertyEnumeration < TypesafeEnum::Base
new :StartDate, "https://schema.org/startDate"
new :StartOffset, "https://schema.org/startOffset"
new :StartTime, "https://schema.org/startTime"
new :StatType, "https://schema.org/statType"
new :Status, "https://schema.org/status"
new :SteeringPosition, "https://schema.org/steeringPosition"
new :Step, "https://schema.org/step"
Expand Down Expand Up @@ -1382,6 +1391,7 @@ class PropertyEnumeration < TypesafeEnum::Base
new :SupplyTo, "https://schema.org/supplyTo"
new :SupportingData, "https://schema.org/supportingData"
new :Surface, "https://schema.org/surface"
new :SyllabusSections, "https://schema.org/syllabusSections"
new :Target, "https://schema.org/target"
new :TargetCollection, "https://schema.org/targetCollection"
new :TargetDescription, "https://schema.org/targetDescription"
Expand Down Expand Up @@ -1422,6 +1432,7 @@ class PropertyEnumeration < TypesafeEnum::Base
new :TongueWeight, "https://schema.org/tongueWeight"
new :Tool, "https://schema.org/tool"
new :Torque, "https://schema.org/torque"
new :TotalHistoricalEnrollment, "https://schema.org/totalHistoricalEnrollment"
new :TotalJobOpenings, "https://schema.org/totalJobOpenings"
new :TotalPaymentDue, "https://schema.org/totalPaymentDue"
new :TotalPrice, "https://schema.org/totalPrice"
Expand All @@ -1447,6 +1458,7 @@ class PropertyEnumeration < TypesafeEnum::Base
new :TravelBans, "https://schema.org/travelBans"
new :TrialDesign, "https://schema.org/trialDesign"
new :Tributary, "https://schema.org/tributary"
new :TripOrigin, "https://schema.org/tripOrigin"
new :TypeOfBed, "https://schema.org/typeOfBed"
new :TypeOfGood, "https://schema.org/typeOfGood"
new :TypicalAgeRange, "https://schema.org/typicalAgeRange"
Expand Down
10 changes: 5 additions & 5 deletions lib/openactive/enums/schema/adult_oriented_enumeration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ module Schema
class AdultOrientedEnumeration < TypesafeEnum::Base
new :ReducedRelevanceForChildrenConsideration, "https://schema.org/ReducedRelevanceForChildrenConsideration"
new :SexualContentConsideration, "https://schema.org/SexualContentConsideration"
new :UnclassifiedAdultConsideration, "https://schema.org/UnclassifiedAdultConsideration"
new :HealthcareConsideration, "https://schema.org/HealthcareConsideration"
new :NarcoticConsideration, "https://schema.org/NarcoticConsideration"
new :WeaponConsideration, "https://schema.org/WeaponConsideration"
new :ViolenceConsideration, "https://schema.org/ViolenceConsideration"
new :TobaccoNicotineConsideration, "https://schema.org/TobaccoNicotineConsideration"
new :AlcoholConsideration, "https://schema.org/AlcoholConsideration"
new :DangerousGoodConsideration, "https://schema.org/DangerousGoodConsideration"
new :ViolenceConsideration, "https://schema.org/ViolenceConsideration"
new :NarcoticConsideration, "https://schema.org/NarcoticConsideration"
new :WeaponConsideration, "https://schema.org/WeaponConsideration"
new :UnclassifiedAdultConsideration, "https://schema.org/UnclassifiedAdultConsideration"
new :HealthcareConsideration, "https://schema.org/HealthcareConsideration"
end
end
end
Expand Down
4 changes: 2 additions & 2 deletions lib/openactive/enums/schema/book_format_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ module Enums
module Schema
# The publication format of the book.
class BookFormatType < TypesafeEnum::Base
new :AudiobookFormat, "https://schema.org/AudiobookFormat"
new :GraphicNovel, "https://schema.org/GraphicNovel"
new :AudiobookFormat, "https://schema.org/AudiobookFormat"
new :EBook, "https://schema.org/EBook"
new :Paperback, "https://schema.org/Paperback"
new :Hardcover, "https://schema.org/Hardcover"
new :EBook, "https://schema.org/EBook"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/openactive/enums/schema/car_usage_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module Schema
# A value indicating a special usage of a car, e.g. commercial rental, driving school, or as a taxi.
class CarUsageType < TypesafeEnum::Base
new :TaxiVehicleUsage, "https://schema.org/TaxiVehicleUsage"
new :DrivingSchoolVehicleUsage, "https://schema.org/DrivingSchoolVehicleUsage"
new :RentalVehicleUsage, "https://schema.org/RentalVehicleUsage"
new :DrivingSchoolVehicleUsage, "https://schema.org/DrivingSchoolVehicleUsage"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/openactive/enums/schema/contact_point_option.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ module Enums
module Schema
# Enumerated options related to a ContactPoint.
class ContactPointOption < TypesafeEnum::Base
new :HearingImpairedSupported, "https://schema.org/HearingImpairedSupported"
new :TollFree, "https://schema.org/TollFree"
new :HearingImpairedSupported, "https://schema.org/HearingImpairedSupported"
end
end
end
Expand Down
6 changes: 3 additions & 3 deletions lib/openactive/enums/schema/day_of_week.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ module Schema
# Originally, URLs from [GoodRelations](http://purl.org/goodrelations/v1) were used (for [[Monday]], [[Tuesday]], [[Wednesday]], [[Thursday]], [[Friday]], [[Saturday]], [[Sunday]] plus a special entry for [[PublicHolidays]]); these have now been integrated directly into schema.org.
#
class DayOfWeek < TypesafeEnum::Base
new :Sunday, "https://schema.org/Sunday"
new :Monday, "https://schema.org/Monday"
new :Thursday, "https://schema.org/Thursday"
new :Saturday, "https://schema.org/Saturday"
new :Tuesday, "https://schema.org/Tuesday"
new :Friday, "https://schema.org/Friday"
new :Monday, "https://schema.org/Monday"
new :Wednesday, "https://schema.org/Wednesday"
new :PublicHolidays, "https://schema.org/PublicHolidays"
new :Sunday, "https://schema.org/Sunday"
new :Tuesday, "https://schema.org/Tuesday"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/openactive/enums/schema/delivery_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ module Schema
# A delivery method is a standardized procedure for transferring the product or service to the destination of fulfillment chosen by the customer. Delivery methods are characterized by the means of transportation used, and by the organization or group that is the contracting party for the sending organization or person.\n\nCommonly used values:\n\n* http://purl.org/goodrelations/v1#DeliveryModeDirectDownload\n* http://purl.org/goodrelations/v1#DeliveryModeFreight\n* http://purl.org/goodrelations/v1#DeliveryModeMail\n* http://purl.org/goodrelations/v1#DeliveryModeOwnFleet\n* http://purl.org/goodrelations/v1#DeliveryModePickUp\n* http://purl.org/goodrelations/v1#DHL\n* http://purl.org/goodrelations/v1#FederalExpress\n* http://purl.org/goodrelations/v1#UPS
#
class DeliveryMethod < TypesafeEnum::Base
new :ParcelService, "https://schema.org/ParcelService"
new :OnSitePickup, "https://schema.org/OnSitePickup"
new :LockerDelivery, "https://schema.org/LockerDelivery"
new :ParcelService, "https://schema.org/ParcelService"
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ module Enums
module Schema
# A type of permission which can be granted for accessing a digital document.
class DigitalDocumentPermissionType < TypesafeEnum::Base
new :CommentPermission, "https://schema.org/CommentPermission"
new :ReadPermission, "https://schema.org/ReadPermission"
new :CommentPermission, "https://schema.org/CommentPermission"
new :WritePermission, "https://schema.org/WritePermission"
end
end
Expand Down
4 changes: 2 additions & 2 deletions lib/openactive/enums/schema/digital_platform_enumeration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ module Enums
module Schema
# Enumerates some common technology platforms, for use with properties such as [[actionPlatform]]. It is not supposed to be comprehensive - when a suitable code is not enumerated here, textual or URL values can be used instead. These codes are at a fairly high level and do not deal with versioning and other nuance. Additional codes can be suggested [in github](https://github.com/schemaorg/schemaorg/issues/3057).
class DigitalPlatformEnumeration < TypesafeEnum::Base
new :MobileWebPlatform, "https://schema.org/MobileWebPlatform"
new :AndroidPlatform, "https://schema.org/AndroidPlatform"
new :IOSPlatform, "https://schema.org/IOSPlatform"
new :MobileWebPlatform, "https://schema.org/MobileWebPlatform"
new :GenericWebPlatform, "https://schema.org/GenericWebPlatform"
new :DesktopWebPlatform, "https://schema.org/DesktopWebPlatform"
new :IOSPlatform, "https://schema.org/IOSPlatform"
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ module Schema
# An EventAttendanceModeEnumeration value is one of potentially several modes of organising an event, relating to whether it is online or offline.
class EventAttendanceModeEnumeration < TypesafeEnum::Base
new :OfflineEventAttendanceMode, "https://schema.org/OfflineEventAttendanceMode"
new :MixedEventAttendanceMode, "https://schema.org/MixedEventAttendanceMode"
new :OnlineEventAttendanceMode, "https://schema.org/OnlineEventAttendanceMode"
new :MixedEventAttendanceMode, "https://schema.org/MixedEventAttendanceMode"
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ module Enums
module Schema
# For a [[VideoGame]], such as used with a [[PlayGameAction]], an enumeration of the kind of game availability offered.
class GameAvailabilityEnumeration < TypesafeEnum::Base
new :FullGameAvailability, "https://schema.org/FullGameAvailability"
new :DemoGameAvailability, "https://schema.org/DemoGameAvailability"
new :FullGameAvailability, "https://schema.org/FullGameAvailability"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/openactive/enums/schema/game_play_mode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ module Enums
module Schema
# Indicates whether this game is multi-player, co-op or single-player.
class GamePlayMode < TypesafeEnum::Base
new :MultiPlayer, "https://schema.org/MultiPlayer"
new :CoOp, "https://schema.org/CoOp"
new :MultiPlayer, "https://schema.org/MultiPlayer"
new :SinglePlayer, "https://schema.org/SinglePlayer"
end
end
Expand Down
10 changes: 5 additions & 5 deletions lib/openactive/enums/schema/government_benefits_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ module Enums
module Schema
# GovernmentBenefitsType enumerates several kinds of government benefits to support the COVID-19 situation. Note that this structure may not capture all benefits offered.
class GovernmentBenefitsType < TypesafeEnum::Base
new :HealthCare, "https://schema.org/HealthCare"
new :BusinessSupport, "https://schema.org/BusinessSupport"
new :OneTimePayments, "https://schema.org/OneTimePayments"
new :DisabilitySupport, "https://schema.org/DisabilitySupport"
new :ParentalSupport, "https://schema.org/ParentalSupport"
new :UnemploymentSupport, "https://schema.org/UnemploymentSupport"
new :PaidLeave, "https://schema.org/PaidLeave"
new :BasicIncome, "https://schema.org/BasicIncome"
new :HealthCare, "https://schema.org/HealthCare"
new :OneTimePayments, "https://schema.org/OneTimePayments"
new :PaidLeave, "https://schema.org/PaidLeave"
new :ParentalSupport, "https://schema.org/ParentalSupport"
new :BusinessSupport, "https://schema.org/BusinessSupport"
end
end
end
Expand Down
44 changes: 22 additions & 22 deletions lib/openactive/enums/schema/health_aspect_enumeration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,35 @@ module Enums
module Schema
# HealthAspectEnumeration enumerates several aspects of health content online, each of which might be described using [[hasHealthAspect]] and [[HealthTopicContent]].
class HealthAspectEnumeration < TypesafeEnum::Base
new :SideEffectsHealthAspect, "https://schema.org/SideEffectsHealthAspect"
new :AllergiesHealthAspect, "https://schema.org/AllergiesHealthAspect"
new :BenefitsHealthAspect, "https://schema.org/BenefitsHealthAspect"
new :SymptomsHealthAspect, "https://schema.org/SymptomsHealthAspect"
new :StagesHealthAspect, "https://schema.org/StagesHealthAspect"
new :PrognosisHealthAspect, "https://schema.org/PrognosisHealthAspect"
new :HowItWorksHealthAspect, "https://schema.org/HowItWorksHealthAspect"
new :PregnancyHealthAspect, "https://schema.org/PregnancyHealthAspect"
new :SelfCareHealthAspect, "https://schema.org/SelfCareHealthAspect"
new :SeeDoctorHealthAspect, "https://schema.org/SeeDoctorHealthAspect"
new :TreatmentsHealthAspect, "https://schema.org/TreatmentsHealthAspect"
new :HowOrWhereHealthAspect, "https://schema.org/HowOrWhereHealthAspect"
new :OverviewHealthAspect, "https://schema.org/OverviewHealthAspect"
new :EffectivenessHealthAspect, "https://schema.org/EffectivenessHealthAspect"
new :TypesHealthAspect, "https://schema.org/TypesHealthAspect"
new :ContagiousnessHealthAspect, "https://schema.org/ContagiousnessHealthAspect"
new :SafetyHealthAspect, "https://schema.org/SafetyHealthAspect"
new :BenefitsHealthAspect, "https://schema.org/BenefitsHealthAspect"
new :PreventionHealthAspect, "https://schema.org/PreventionHealthAspect"
new :LivingWithHealthAspect, "https://schema.org/LivingWithHealthAspect"
new :PatientExperienceHealthAspect, "https://schema.org/PatientExperienceHealthAspect"
new :SeeDoctorHealthAspect, "https://schema.org/SeeDoctorHealthAspect"
new :ScreeningHealthAspect, "https://schema.org/ScreeningHealthAspect"
new :MayTreatHealthAspect, "https://schema.org/MayTreatHealthAspect"
new :UsageOrScheduleHealthAspect, "https://schema.org/UsageOrScheduleHealthAspect"
new :RisksOrComplicationsHealthAspect, "https://schema.org/RisksOrComplicationsHealthAspect"
new :IngredientsHealthAspect, "https://schema.org/IngredientsHealthAspect"
new :SafetyHealthAspect, "https://schema.org/SafetyHealthAspect"
new :ContagiousnessHealthAspect, "https://schema.org/ContagiousnessHealthAspect"
new :SelfCareHealthAspect, "https://schema.org/SelfCareHealthAspect"
new :CausesHealthAspect, "https://schema.org/CausesHealthAspect"
new :OverviewHealthAspect, "https://schema.org/OverviewHealthAspect"
new :LivingWithHealthAspect, "https://schema.org/LivingWithHealthAspect"
new :TypesHealthAspect, "https://schema.org/TypesHealthAspect"
new :HowItWorksHealthAspect, "https://schema.org/HowItWorksHealthAspect"
new :GettingAccessHealthAspect, "https://schema.org/GettingAccessHealthAspect"
new :PatientExperienceHealthAspect, "https://schema.org/PatientExperienceHealthAspect"
new :MayTreatHealthAspect, "https://schema.org/MayTreatHealthAspect"
new :RelatedTopicsHealthAspect, "https://schema.org/RelatedTopicsHealthAspect"
new :MisconceptionsHealthAspect, "https://schema.org/MisconceptionsHealthAspect"
new :HowOrWhereHealthAspect, "https://schema.org/HowOrWhereHealthAspect"
new :UsageOrScheduleHealthAspect, "https://schema.org/UsageOrScheduleHealthAspect"
new :PregnancyHealthAspect, "https://schema.org/PregnancyHealthAspect"
new :SideEffectsHealthAspect, "https://schema.org/SideEffectsHealthAspect"
new :PrognosisHealthAspect, "https://schema.org/PrognosisHealthAspect"
new :IngredientsHealthAspect, "https://schema.org/IngredientsHealthAspect"
new :RisksOrComplicationsHealthAspect, "https://schema.org/RisksOrComplicationsHealthAspect"
new :AllergiesHealthAspect, "https://schema.org/AllergiesHealthAspect"
new :EffectivenessHealthAspect, "https://schema.org/EffectivenessHealthAspect"
new :SymptomsHealthAspect, "https://schema.org/SymptomsHealthAspect"
new :TreatmentsHealthAspect, "https://schema.org/TreatmentsHealthAspect"
end
end
end
Expand Down
Loading

0 comments on commit ab979a2

Please sign in to comment.