lib/openactive/models/property_value_specification.rb in openactive-0.1.2 vs lib/openactive/models/property_value_specification.rb in openactive-0.2.0

- old
+ new

@@ -1,8 +1,8 @@ module OpenActive module Models - # This type is derived from [PropertyValueSpecification](https://schema.org/PropertyValueSpecification), 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/PropertyValueSpecification, which means that any of this type's properties within schema.org may also be used. class PropertyValueSpecification < ::OpenActive::Models::Schema::PropertyValueSpecification # @!attribute type # @return [String] def type "PropertyValueSpecification" @@ -16,12 +16,13 @@ # @return [String] define_property :description, as: "description", types: [ "string", ] - # @return [String] + # @return [Boolean,nil] define_property :value_required, as: "valueRequired", types: [ - "string", + "bool", + "null", ] end end end