lib/openactive/models/schema/occupation.rb in openactive-0.1.2 vs lib/openactive/models/schema/occupation.rb in openactive-0.2.0

- old
+ new

@@ -6,54 +6,62 @@ # @return [String] def type "schema:Occupation" end - # @return [String,OpenActive::Models::Schema::EducationalOccupationalCredential] - define_property :qualifications, as: "qualifications", types: [ + # @return [String,OpenActive::Models::Schema::EducationalOccupationalCredential,URI] + define_property :education_requirements, as: "educationRequirements", types: [ "string", "OpenActive::Models::Schema::EducationalOccupationalCredential", + "URI", ] - # @return [OpenActive::Models::Schema::EducationalOccupationalCredential,String] - define_property :education_requirements, as: "educationRequirements", types: [ - "OpenActive::Models::Schema::EducationalOccupationalCredential", + # @return [OpenActive::Models::Schema::DefinedTerm,String,URI] + define_property :skills, as: "skills", types: [ + "OpenActive::Models::Schema::DefinedTerm", "string", + "URI", ] - # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmountDistribution,OpenActive::Models::Schema::MonetaryAmount,nil] + # @return [OpenActive::Models::Schema::MonetaryAmount,BigDecimal,OpenActive::Models::Schema::MonetaryAmountDistribution,URI,nil] define_property :estimated_salary, as: "estimatedSalary", types: [ + "OpenActive::Models::Schema::MonetaryAmount", "Number", "OpenActive::Models::Schema::MonetaryAmountDistribution", - "OpenActive::Models::Schema::MonetaryAmount", + "URI", "null", ] # @return [String] - define_property :experience_requirements, as: "experienceRequirements", types: [ + define_property :responsibilities, as: "responsibilities", types: [ "string", ] - # @return [OpenActive::Models::Schema::CategoryCode,String] + # @return [OpenActive::Models::Schema::CategoryCode,String,URI] define_property :occupational_category, as: "occupationalCategory", types: [ "OpenActive::Models::Schema::CategoryCode", "string", + "URI", ] - # @return [String] - define_property :responsibilities, as: "responsibilities", types: [ - "string", + # @return [OpenActive::Models::Schema::AdministrativeArea,URI] + define_property :occupation_location, as: "occupationLocation", types: [ + "OpenActive::Models::Schema::AdministrativeArea", + "URI", ] - # @return [OpenActive::Models::Schema::DefinedTerm,String] - define_property :skills, as: "skills", types: [ - "OpenActive::Models::Schema::DefinedTerm", + # @return [String,OpenActive::Models::Schema::EducationalOccupationalCredential,URI] + define_property :qualifications, as: "qualifications", types: [ "string", + "OpenActive::Models::Schema::EducationalOccupationalCredential", + "URI", ] - # @return [OpenActive::Models::Schema::AdministrativeArea] - define_property :occupation_location, as: "occupationLocation", types: [ - "OpenActive::Models::Schema::AdministrativeArea", + # @return [String,OpenActive::Models::Schema::OccupationalExperienceRequirements,URI] + define_property :experience_requirements, as: "experienceRequirements", types: [ + "string", + "OpenActive::Models::Schema::OccupationalExperienceRequirements", + "URI", ] end end end end