lib/openactive/models/schema/sports_event.rb in openactive-0.1.2 vs lib/openactive/models/schema/sports_event.rb in openactive-0.2.0

- old
+ new

@@ -6,25 +6,34 @@ # @return [String] def type "schema:SportsEvent" end - # @return [OpenActive::Models::Schema::SportsTeam,OpenActive::Models::Schema::Person] - define_property :home_team, as: "homeTeam", types: [ - "OpenActive::Models::Schema::SportsTeam", + # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::SportsTeam,URI] + define_property :competitor, as: "competitor", types: [ "OpenActive::Models::Schema::Person", + "OpenActive::Models::Schema::SportsTeam", + "URI", ] - # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::SportsTeam] - define_property :competitor, as: "competitor", types: [ + # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::SportsTeam,URI] + define_property :away_team, as: "awayTeam", types: [ "OpenActive::Models::Schema::Person", "OpenActive::Models::Schema::SportsTeam", + "URI", ] - # @return [OpenActive::Models::Schema::SportsTeam,OpenActive::Models::Schema::Person] - define_property :away_team, as: "awayTeam", types: [ + # @return [OpenActive::Models::Schema::SportsTeam,OpenActive::Models::Schema::Person,URI] + define_property :home_team, as: "homeTeam", types: [ "OpenActive::Models::Schema::SportsTeam", "OpenActive::Models::Schema::Person", + "URI", + ] + + # @return [String,URI] + define_property :sport, as: "sport", types: [ + "string", + "URI", ] end end end end