lib/openactive/models/schema/grant.rb in openactive-0.2.2 vs lib/openactive/models/schema/grant.rb in openactive-0.3.0
- old
+ new
@@ -6,19 +6,32 @@
# @return [String]
def type
"schema:Grant"
end
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization,URI]
- define_property :sponsor, as: "sponsor", types: [
- "OpenActive::Models::Schema::Person",
+ # @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 [OpenActive::Models::Schema::Thing,URI]
+ # @return [OpenActive::Models::Schema::Product,OpenActive::Models::Schema::Person,OpenActive::Models::Schema::BioChemEntity,OpenActive::Models::Schema::Event,OpenActive::Models::Schema::MedicalEntity,OpenActive::Models::Schema::CreativeWork,OpenActive::Models::Schema::Organization,URI]
define_property :funded_item, as: "fundedItem", types: [
- "OpenActive::Models::Schema::Thing",
+ "OpenActive::Models::Schema::Product",
+ "OpenActive::Models::Schema::Person",
+ "OpenActive::Models::Schema::BioChemEntity",
+ "OpenActive::Models::Schema::Event",
+ "OpenActive::Models::Schema::MedicalEntity",
+ "OpenActive::Models::Schema::CreativeWork",
+ "OpenActive::Models::Schema::Organization",
+ "URI",
+ ]
+
+ # @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",
]
end
end
end