lib/openactive/models/schema/news_media_organization.rb in openactive-0.2.2 vs lib/openactive/models/schema/news_media_organization.rb in openactive-0.3.0

- old
+ new

@@ -6,69 +6,69 @@ # @return [String] def type "schema:NewsMediaOrganization" end - # @return [OpenActive::Models::Schema::Article,URI] - define_property :diversity_staffing_report, as: "diversityStaffingReport", types: [ - "OpenActive::Models::Schema::Article", + # @return [URI,OpenActive::Models::Schema::AboutPage,String,OpenActive::Models::Schema::CreativeWork] + define_property :ownership_funding_info, as: "ownershipFundingInfo", types: [ "URI", + "OpenActive::Models::Schema::AboutPage", + "string", + "OpenActive::Models::Schema::CreativeWork", ] # @return [URI,OpenActive::Models::Schema::CreativeWork] define_property :corrections_policy, as: "correctionsPolicy", types: [ "URI", "OpenActive::Models::Schema::CreativeWork", ] - # @return [String,URI,OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::AboutPage] - define_property :ownership_funding_info, as: "ownershipFundingInfo", types: [ - "string", + # @return [URI,OpenActive::Models::Schema::Article] + define_property :diversity_staffing_report, as: "diversityStaffingReport", types: [ "URI", - "OpenActive::Models::Schema::CreativeWork", - "OpenActive::Models::Schema::AboutPage", + "OpenActive::Models::Schema::Article", ] # @return [OpenActive::Models::Schema::CreativeWork,URI] - define_property :verification_fact_checking_policy, as: "verificationFactCheckingPolicy", types: [ + define_property :diversity_policy, as: "diversityPolicy", types: [ "OpenActive::Models::Schema::CreativeWork", "URI", ] - # @return [OpenActive::Models::Schema::CreativeWork,URI] - define_property :masthead, as: "masthead", types: [ - "OpenActive::Models::Schema::CreativeWork", - "URI", - ] - # @return [URI,OpenActive::Models::Schema::CreativeWork] - define_property :mission_coverage_priorities_policy, as: "missionCoveragePrioritiesPolicy", types: [ + define_property :ethics_policy, as: "ethicsPolicy", types: [ "URI", "OpenActive::Models::Schema::CreativeWork", ] # @return [OpenActive::Models::Schema::CreativeWork,URI] - define_property :unnamed_sources_policy, as: "unnamedSourcesPolicy", types: [ + define_property :mission_coverage_priorities_policy, as: "missionCoveragePrioritiesPolicy", types: [ "OpenActive::Models::Schema::CreativeWork", "URI", ] # @return [URI,OpenActive::Models::Schema::CreativeWork] - define_property :ethics_policy, as: "ethicsPolicy", types: [ + define_property :actionable_feedback_policy, as: "actionableFeedbackPolicy", types: [ "URI", "OpenActive::Models::Schema::CreativeWork", ] - # @return [OpenActive::Models::Schema::CreativeWork,URI] - define_property :actionable_feedback_policy, as: "actionableFeedbackPolicy", types: [ - "OpenActive::Models::Schema::CreativeWork", + # @return [URI,OpenActive::Models::Schema::CreativeWork] + define_property :masthead, as: "masthead", types: [ "URI", + "OpenActive::Models::Schema::CreativeWork", ] # @return [OpenActive::Models::Schema::CreativeWork,URI] - define_property :diversity_policy, as: "diversityPolicy", types: [ + define_property :unnamed_sources_policy, as: "unnamedSourcesPolicy", types: [ "OpenActive::Models::Schema::CreativeWork", "URI", + ] + + # @return [URI,OpenActive::Models::Schema::CreativeWork] + define_property :verification_fact_checking_policy, as: "verificationFactCheckingPolicy", types: [ + "URI", + "OpenActive::Models::Schema::CreativeWork", ] # @return [OpenActive::Models::Schema::CreativeWork,URI] define_property :no_bylines_policy, as: "noBylinesPolicy", types: [ "OpenActive::Models::Schema::CreativeWork",