lib/openactive/models/organization.rb in openactive-0.1.2 vs lib/openactive/models/organization.rb in openactive-0.2.0
- old
+ new
@@ -1,8 +1,8 @@
module OpenActive
module Models
- # This type is derived from [Organization](https://schema.org/Organization), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
+ # This type is derived from https://schema.org/Organization, which means that any of this type's properties within schema.org may also be used.
class Organization < ::OpenActive::Models::Schema::Organization
# @!attribute type
# @return [String]
def type
"Organization"
@@ -35,10 +35,16 @@
# @return [String]
define_property :email, as: "email", types: [
"string",
]
+ # @return [Boolean,nil]
+ define_property :is_open_booking_allowed, as: "isOpenBookingAllowed", types: [
+ "bool",
+ "null",
+ ]
+
# @return [String]
define_property :legal_name, as: "legalName", types: [
"string",
]
@@ -76,17 +82,22 @@
# @return [String]
define_property :vat_id, as: "vatID", types: [
"string",
]
- # @return [Array<OpenActive::Models::Schema::VideoObject>]
- define_property :video, as: "beta:video", types: [
- "OpenActive::Models::Schema::VideoObject[]",
- ]
-
# @return [String]
define_property :formatted_description, as: "beta:formattedDescription", types: [
"string",
+ ]
+
+ # @return [Array<OpenActive::Models::VideoObject>]
+ define_property :video, as: "beta:video", types: [
+ "OpenActive::Models::VideoObject[]",
+ ]
+
+ # @return [Array<URI>]
+ define_property :formal_criteria_met, as: "beta:formalCriteriaMet", types: [
+ "URI[]",
]
end
end
end