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 [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil] define_property :amount, as: "amount", types: [ "Number", "OpenActive::Models::Schema::MonetaryAmount", "URI", "null", ] end end end end