module OpenActive module Models module Schema class PlayAction < ::OpenActive::Models::Schema::Action # @!attribute type # @return [String] def type "schema:PlayAction" end # @return [OpenActive::Models::Schema::Event,URI] define_property :event, as: "event", types: [ "OpenActive::Models::Schema::Event", "URI", ] # @return [OpenActive::Models::Schema::Audience,URI] define_property :audience, as: "audience", types: [ "OpenActive::Models::Schema::Audience", "URI", ] end end end end