module OpenActive module Models module Schema class MonetaryGrant < ::OpenActive::Models::Schema::Grant # @!attribute type # @return [String] def type "schema:MonetaryGrant" end # @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::MonetaryAmount,BigDecimal,URI,nil] define_property :amount, as: "amount", types: [ "OpenActive::Models::Schema::MonetaryAmount", "Number", "URI", "null", ] end end end end