lib/openactive/models/schema/organization.rb in openactive-0.3.0 vs lib/openactive/models/schema/organization.rb in openactive-0.4.0

- old
+ new

@@ -6,409 +6,409 @@ # @return [String] def type "schema:Organization" end - # @return [URI,OpenActive::Models::Schema::AboutPage,String,OpenActive::Models::Schema::CreativeWork] - define_property :ownership_funding_info, as: "ownershipFundingInfo", types: [ + # @return [OpenActive::Models::Schema::ContactPoint,URI] + define_property :contact_points, as: "contactPoints", types: [ + "OpenActive::Models::Schema::ContactPoint", "URI", - "OpenActive::Models::Schema::AboutPage", + ] + + # @return [Date,nil] + define_property :founding_date, as: "foundingDate", types: [ + "Date", + "null", + ] + + # @return [String,OpenActive::Models::Schema::CreativeWork,URI,OpenActive::Models::Schema::AboutPage] + define_property :ownership_funding_info, as: "ownershipFundingInfo", types: [ "string", "OpenActive::Models::Schema::CreativeWork", + "URI", + "OpenActive::Models::Schema::AboutPage", ] - # @return [OpenActive::Models::Schema::EducationalOccupationalCredential,URI] - define_property :has_credential, as: "hasCredential", types: [ - "OpenActive::Models::Schema::EducationalOccupationalCredential", + # @return [OpenActive::Models::Schema::PostalAddress,OpenActive::Models::Schema::Place,OpenActive::Models::Schema::VirtualLocation,String,URI] + define_property :location, as: "location", types: [ + "OpenActive::Models::Schema::PostalAddress", + "OpenActive::Models::Schema::Place", + "OpenActive::Models::Schema::VirtualLocation", + "string", "URI", ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :founders, as: "founders", types: [ - "OpenActive::Models::Schema::Person", + # @return [OpenActive::Models::Schema::CreativeWork,URI] + define_property :publishing_principles, as: "publishingPrinciples", types: [ + "OpenActive::Models::Schema::CreativeWork", "URI", ] # @return [String] - define_property :telephone, as: "telephone", types: [ + define_property :legal_name, as: "legalName", types: [ "string", ] - # @return [OpenActive::Models::Schema::Review,URI] - define_property :review, as: "review", types: [ - "OpenActive::Models::Schema::Review", + # @return [OpenActive::Models::Schema::CreativeWork,URI] + define_property :diversity_policy, as: "diversityPolicy", types: [ + "OpenActive::Models::Schema::CreativeWork", "URI", ] - # @return [URI,String,OpenActive::Models::Schema::Thing] - define_property :knows_about, as: "knowsAbout", types: [ + # @return [OpenActive::Enums::Schema::NonprofitType,nil] + define_property :nonprofit_status, as: "nonprofitStatus", types: [ + "OpenActive::Enums::Schema::NonprofitType", + "null", + ] + + # @return [OpenActive::Models::Schema::ContactPoint,URI] + define_property :contact_point, as: "contactPoint", types: [ + "OpenActive::Models::Schema::ContactPoint", "URI", - "string", - "OpenActive::Models::Schema::Thing", ] # @return [String] - define_property :award, as: "award", types: [ + define_property :awards, as: "awards", types: [ "string", ] - # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] - define_property :member, as: "member", types: [ - "OpenActive::Models::Schema::Organization", - "OpenActive::Models::Schema::Person", - "URI", - ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :employee, as: "employee", types: [ + define_property :founders, as: "founders", types: [ "OpenActive::Models::Schema::Person", "URI", ] - # @return [Date,nil] - define_property :dissolution_date, as: "dissolutionDate", types: [ - "Date", - "null", - ] - - # @return [OpenActive::Models::Schema::Grant,URI] - define_property :funding, as: "funding", types: [ - "OpenActive::Models::Schema::Grant", + # @return [OpenActive::Models::Schema::Organization,URI] + define_property :department, as: "department", types: [ + "OpenActive::Models::Schema::Organization", "URI", ] # @return [String] - define_property :vat_id, as: "vatID", types: [ + define_property :naics, as: "naics", types: [ "string", ] - # @return [String] - define_property :global_location_number, as: "globalLocationNumber", types: [ + # @return [String,OpenActive::Models::Schema::Thing,URI] + define_property :knows_about, as: "knowsAbout", types: [ "string", - ] - - # @return [OpenActive::Models::Schema::DefinedTerm,String,URI] - define_property :keywords, as: "keywords", types: [ - "OpenActive::Models::Schema::DefinedTerm", - "string", + "OpenActive::Models::Schema::Thing", "URI", ] - # @return [OpenActive::Models::Schema::ContactPoint,URI] - define_property :contact_points, as: "contactPoints", types: [ - "OpenActive::Models::Schema::ContactPoint", - "URI", - ] - # @return [OpenActive::Models::Schema::Organization,URI] define_property :sub_organization, as: "subOrganization", types: [ "OpenActive::Models::Schema::Organization", "URI", ] # @return [String] - define_property :awards, as: "awards", types: [ + define_property :lei_code, as: "leiCode", types: [ "string", ] - # @return [OpenActive::Models::Schema::QuantitativeValue,URI] - define_property :number_of_employees, as: "numberOfEmployees", types: [ - "OpenActive::Models::Schema::QuantitativeValue", - "URI", + # @return [String] + define_property :isic_v4, as: "isicV4", types: [ + "string", ] - # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] - define_property :funder, as: "funder", types: [ + # @return [OpenActive::Models::Schema::ProgramMembership,OpenActive::Models::Schema::Organization,URI] + define_property :member_of, as: "memberOf", types: [ + "OpenActive::Models::Schema::ProgramMembership", "OpenActive::Models::Schema::Organization", - "OpenActive::Models::Schema::Person", "URI", ] # @return [OpenActive::Models::Schema::Offer,URI] define_property :makes_offer, as: "makesOffer", types: [ "OpenActive::Models::Schema::Offer", "URI", ] - # @return [String] - define_property :legal_name, as: "legalName", types: [ + # @return [OpenActive::Models::Schema::Organization,URI] + define_property :parent_organization, as: "parentOrganization", types: [ + "OpenActive::Models::Schema::Organization", + "URI", + ] + + # @return [String,OpenActive::Models::Schema::DefinedTerm,URI] + define_property :keywords, as: "keywords", types: [ "string", + "OpenActive::Models::Schema::DefinedTerm", + "URI", ] - # @return [URI,OpenActive::Models::Schema::CreativeWork] - define_property :corrections_policy, as: "correctionsPolicy", types: [ + # @return [OpenActive::Models::Schema::PostalAddress,String,URI] + define_property :address, as: "address", types: [ + "OpenActive::Models::Schema::PostalAddress", + "string", "URI", + ] + + # @return [OpenActive::Models::Schema::CreativeWork,URI] + define_property :actionable_feedback_policy, as: "actionableFeedbackPolicy", types: [ "OpenActive::Models::Schema::CreativeWork", + "URI", ] + # @return [String] + define_property :duns, as: "duns", types: [ + "string", + ] + # @return [OpenActive::Models::Schema::AggregateRating,URI] define_property :aggregate_rating, as: "aggregateRating", types: [ "OpenActive::Models::Schema::AggregateRating", "URI", ] - # @return [OpenActive::Models::Schema::InteractionCounter,URI] - define_property :interaction_statistic, as: "interactionStatistic", types: [ - "OpenActive::Models::Schema::InteractionCounter", + # @return [OpenActive::Models::Schema::Place,URI] + define_property :founding_location, as: "foundingLocation", types: [ + "OpenActive::Models::Schema::Place", "URI", ] - # @return [OpenActive::Models::Schema::PostalAddress,String,OpenActive::Models::Schema::Place,OpenActive::Models::Schema::VirtualLocation,URI] - define_property :location, as: "location", types: [ - "OpenActive::Models::Schema::PostalAddress", - "string", - "OpenActive::Models::Schema::Place", - "OpenActive::Models::Schema::VirtualLocation", + # @return [OpenActive::Models::Schema::Person,URI] + define_property :employee, as: "employee", types: [ + "OpenActive::Models::Schema::Person", "URI", ] - # @return [String,OpenActive::Models::Schema::PostalAddress,URI] - define_property :address, as: "address", types: [ - "string", - "OpenActive::Models::Schema::PostalAddress", + # @return [OpenActive::Models::Schema::InteractionCounter,URI] + define_property :interaction_statistic, as: "interactionStatistic", types: [ + "OpenActive::Models::Schema::InteractionCounter", "URI", ] - # @return [OpenActive::Models::Schema::ProgramMembership,OpenActive::Models::Schema::Organization,URI] - define_property :member_of, as: "memberOf", types: [ - "OpenActive::Models::Schema::ProgramMembership", + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] + define_property :sponsor, as: "sponsor", types: [ "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::Person", "URI", ] - # @return [URI,OpenActive::Models::Schema::CreativeWork] - define_property :publishing_principles, as: "publishingPrinciples", types: [ - "URI", - "OpenActive::Models::Schema::CreativeWork", + # @return [String] + define_property :iso6523code, as: "iso6523Code", types: [ + "string", ] - # @return [URI,OpenActive::Models::Schema::Article] - define_property :diversity_staffing_report, as: "diversityStaffingReport", types: [ + # @return [OpenActive::Models::Schema::EducationalOccupationalCredential,URI] + define_property :has_credential, as: "hasCredential", types: [ + "OpenActive::Models::Schema::EducationalOccupationalCredential", "URI", - "OpenActive::Models::Schema::Article", ] - # @return [OpenActive::Models::Schema::CreativeWork,URI] - define_property :diversity_policy, as: "diversityPolicy", types: [ - "OpenActive::Models::Schema::CreativeWork", - "URI", + # @return [String] + define_property :tax_id, as: "taxID", types: [ + "string", ] # @return [String] - define_property :email, as: "email", types: [ + define_property :award, as: "award", types: [ "string", ] # @return [OpenActive::Models::Schema::Person,URI] define_property :employees, as: "employees", types: [ "OpenActive::Models::Schema::Person", "URI", ] - # @return [OpenActive::Enums::Schema::NonprofitType,nil] - define_property :nonprofit_status, as: "nonprofitStatus", types: [ - "OpenActive::Enums::Schema::NonprofitType", - "null", + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] + define_property :funder, as: "funder", types: [ + "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::Person", + "URI", ] - # @return [String] - define_property :slogan, as: "slogan", types: [ - "string", + # @return [OpenActive::Models::Schema::Demand,URI] + define_property :seeks, as: "seeks", types: [ + "OpenActive::Models::Schema::Demand", + "URI", ] - # @return [URI,OpenActive::Models::Schema::CreativeWork] - define_property :ethics_policy, as: "ethicsPolicy", types: [ + # @return [OpenActive::Models::Schema::Event,URI] + define_property :event, as: "event", types: [ + "OpenActive::Models::Schema::Event", "URI", - "OpenActive::Models::Schema::CreativeWork", ] - # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Brand,URI] - define_property :brand, as: "brand", types: [ - "OpenActive::Models::Schema::Organization", - "OpenActive::Models::Schema::Brand", + # @return [OpenActive::Models::Schema::QuantitativeValue,URI] + define_property :number_of_employees, as: "numberOfEmployees", types: [ + "OpenActive::Models::Schema::QuantitativeValue", "URI", ] - # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] - define_property :sponsor, as: "sponsor", types: [ - "OpenActive::Models::Schema::Organization", + # @return [OpenActive::Models::Schema::ImageObject,URI] + define_property :logo, as: "logo", types: [ + "OpenActive::Models::Schema::ImageObject", + "URI", + ] + + # @return [Date,nil] + define_property :dissolution_date, as: "dissolutionDate", types: [ + "Date", + "null", + ] + + # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI] + define_property :members, as: "members", types: [ "OpenActive::Models::Schema::Person", + "OpenActive::Models::Schema::Organization", "URI", ] - # @return [URI,OpenActive::Models::Schema::ImageObject] - define_property :logo, as: "logo", types: [ + # @return [OpenActive::Models::Schema::OfferCatalog,URI] + define_property :has_offer_catalog, as: "hasOfferCatalog", types: [ + "OpenActive::Models::Schema::OfferCatalog", "URI", - "OpenActive::Models::Schema::ImageObject", ] # @return [URI,OpenActive::Models::Schema::CreativeWork] - define_property :actionable_feedback_policy, as: "actionableFeedbackPolicy", types: [ + define_property :ethics_policy, as: "ethicsPolicy", types: [ "URI", "OpenActive::Models::Schema::CreativeWork", ] - # @return [String] - define_property :naics, as: "naics", types: [ - "string", + # @return [URI,OpenActive::Models::Schema::CreativeWork] + define_property :corrections_policy, as: "correctionsPolicy", types: [ + "URI", + "OpenActive::Models::Schema::CreativeWork", ] - # @return [OpenActive::Models::Schema::ContactPoint,URI] - define_property :contact_point, as: "contactPoint", types: [ - "OpenActive::Models::Schema::ContactPoint", + # @return [OpenActive::Models::Schema::Event,URI] + define_property :events, as: "events", types: [ + "OpenActive::Models::Schema::Event", "URI", ] - # @return [OpenActive::Models::Schema::GeoShape,OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::Place,URI] + # @return [OpenActive::Models::Schema::Place,OpenActive::Models::Schema::GeoShape,OpenActive::Models::Schema::AdministrativeArea,URI] define_property :service_area, as: "serviceArea", types: [ + "OpenActive::Models::Schema::Place", "OpenActive::Models::Schema::GeoShape", "OpenActive::Models::Schema::AdministrativeArea", - "OpenActive::Models::Schema::Place", "URI", ] - # @return [String] - define_property :isic_v4, as: "isicV4", types: [ - "string", - ] - - # @return [OpenActive::Models::Schema::MerchantReturnPolicy,URI] - define_property :has_merchant_return_policy, as: "hasMerchantReturnPolicy", types: [ - "OpenActive::Models::Schema::MerchantReturnPolicy", + # @return [URI,OpenActive::Models::Schema::Article] + define_property :diversity_staffing_report, as: "diversityStaffingReport", types: [ "URI", + "OpenActive::Models::Schema::Article", ] - # @return [OpenActive::Models::Schema::Place,URI] - define_property :has_pos, as: "hasPOS", types: [ - "OpenActive::Models::Schema::Place", + # @return [OpenActive::Models::Schema::Grant,URI] + define_property :funding, as: "funding", types: [ + "OpenActive::Models::Schema::Grant", "URI", ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :founder, as: "founder", types: [ - "OpenActive::Models::Schema::Person", - "URI", - ] - # @return [OpenActive::Models::Schema::CreativeWork,URI] define_property :unnamed_sources_policy, as: "unnamedSourcesPolicy", types: [ "OpenActive::Models::Schema::CreativeWork", "URI", ] - # @return [OpenActive::Models::Schema::Place,URI] - define_property :founding_location, as: "foundingLocation", types: [ - "OpenActive::Models::Schema::Place", - "URI", + # @return [String] + define_property :fax_number, as: "faxNumber", types: [ + "string", ] # @return [String] - define_property :duns, as: "duns", types: [ + define_property :slogan, as: "slogan", types: [ "string", ] - # @return [OpenActive::Models::Schema::Organization,URI] - define_property :parent_organization, as: "parentOrganization", types: [ - "OpenActive::Models::Schema::Organization", + # @return [OpenActive::Models::Schema::Review,URI] + define_property :reviews, as: "reviews", types: [ + "OpenActive::Models::Schema::Review", "URI", ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :alumni, as: "alumni", types: [ - "OpenActive::Models::Schema::Person", - "URI", - ] - # @return [String] - define_property :lei_code, as: "leiCode", types: [ + define_property :global_location_number, as: "globalLocationNumber", types: [ "string", ] - # @return [OpenActive::Models::Schema::AdministrativeArea,OpenActive::Models::Schema::GeoShape,String,OpenActive::Models::Schema::Place,URI] - define_property :area_served, as: "areaServed", types: [ - "OpenActive::Models::Schema::AdministrativeArea", - "OpenActive::Models::Schema::GeoShape", + # @return [OpenActive::Models::Schema::OwnershipInfo,OpenActive::Models::Schema::Product,URI] + define_property :owns, as: "owns", types: [ + "OpenActive::Models::Schema::OwnershipInfo", + "OpenActive::Models::Schema::Product", + "URI", + ] + + # @return [String,OpenActive::Models::Schema::Language,URI] + define_property :knows_language, as: "knowsLanguage", types: [ "string", - "OpenActive::Models::Schema::Place", + "OpenActive::Models::Schema::Language", "URI", ] - # @return [Date,nil] - define_property :founding_date, as: "foundingDate", types: [ - "Date", - "null", + # @return [OpenActive::Models::Schema::Brand,OpenActive::Models::Schema::Organization,URI] + define_property :brand, as: "brand", types: [ + "OpenActive::Models::Schema::Brand", + "OpenActive::Models::Schema::Organization", + "URI", ] - # @return [OpenActive::Models::Schema::Language,String,URI] - define_property :knows_language, as: "knowsLanguage", types: [ - "OpenActive::Models::Schema::Language", - "string", + # @return [OpenActive::Models::Schema::MerchantReturnPolicy,URI] + define_property :has_merchant_return_policy, as: "hasMerchantReturnPolicy", types: [ + "OpenActive::Models::Schema::MerchantReturnPolicy", "URI", ] - # @return [OpenActive::Models::Schema::Review,URI] - define_property :reviews, as: "reviews", types: [ - "OpenActive::Models::Schema::Review", + # @return [OpenActive::Models::Schema::Person,URI] + define_property :alumni, as: "alumni", types: [ + "OpenActive::Models::Schema::Person", "URI", ] - # @return [OpenActive::Models::Schema::Demand,URI] - define_property :seeks, as: "seeks", types: [ - "OpenActive::Models::Schema::Demand", + # @return [OpenActive::Models::Schema::Person,URI] + define_property :founder, as: "founder", types: [ + "OpenActive::Models::Schema::Person", "URI", ] # @return [String] - define_property :tax_id, as: "taxID", types: [ + define_property :telephone, as: "telephone", types: [ "string", ] - # @return [OpenActive::Models::Schema::Product,OpenActive::Models::Schema::OwnershipInfo,URI] - define_property :owns, as: "owns", types: [ - "OpenActive::Models::Schema::Product", - "OpenActive::Models::Schema::OwnershipInfo", + # @return [OpenActive::Models::Schema::Review,URI] + define_property :review, as: "review", types: [ + "OpenActive::Models::Schema::Review", "URI", ] - # @return [OpenActive::Models::Schema::OfferCatalog,URI] - define_property :has_offer_catalog, as: "hasOfferCatalog", types: [ - "OpenActive::Models::Schema::OfferCatalog", + # @return [String,OpenActive::Models::Schema::Place,OpenActive::Models::Schema::GeoShape,OpenActive::Models::Schema::AdministrativeArea,URI] + define_property :area_served, as: "areaServed", types: [ + "string", + "OpenActive::Models::Schema::Place", + "OpenActive::Models::Schema::GeoShape", + "OpenActive::Models::Schema::AdministrativeArea", "URI", ] - # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI] - define_property :members, as: "members", types: [ - "OpenActive::Models::Schema::Person", + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] + define_property :member, as: "member", types: [ "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::Person", "URI", ] - # @return [OpenActive::Models::Schema::Event,URI] - define_property :events, as: "events", types: [ - "OpenActive::Models::Schema::Event", + # @return [OpenActive::Models::Schema::Place,URI] + define_property :has_pos, as: "hasPOS", types: [ + "OpenActive::Models::Schema::Place", "URI", ] # @return [String] - define_property :iso6523code, as: "iso6523Code", types: [ + define_property :email, as: "email", types: [ "string", ] - # @return [OpenActive::Models::Schema::Organization,URI] - define_property :department, as: "department", types: [ - "OpenActive::Models::Schema::Organization", - "URI", - ] - # @return [String] - define_property :fax_number, as: "faxNumber", types: [ + define_property :vat_id, as: "vatID", types: [ "string", - ] - - # @return [OpenActive::Models::Schema::Event,URI] - define_property :event, as: "event", types: [ - "OpenActive::Models::Schema::Event", - "URI", ] end end end end