lib/openactive/models/schema/music_composition.rb in openactive-0.2.2 vs lib/openactive/models/schema/music_composition.rb in openactive-0.3.0

- old
+ new

@@ -7,62 +7,62 @@ def type "schema:MusicComposition" end # @return [String] - define_property :music_composition_form, as: "musicCompositionForm", types: [ + define_property :iswc_code, as: "iswcCode", types: [ "string", ] - # @return [OpenActive::Models::Schema::Event,URI] - define_property :first_performance, as: "firstPerformance", types: [ - "OpenActive::Models::Schema::Event", + # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] + define_property :composer, as: "composer", types: [ + "OpenActive::Models::Schema::Organization", + "OpenActive::Models::Schema::Person", "URI", ] # @return [String] - define_property :iswc_code, as: "iswcCode", types: [ + define_property :music_composition_form, as: "musicCompositionForm", types: [ "string", ] - # @return [OpenActive::Models::Schema::CreativeWork,URI] - define_property :lyrics, as: "lyrics", types: [ - "OpenActive::Models::Schema::CreativeWork", - "URI", - ] - # @return [OpenActive::Models::Schema::MusicComposition,URI] - define_property :music_arrangement, as: "musicArrangement", types: [ + define_property :included_composition, as: "includedComposition", types: [ "OpenActive::Models::Schema::MusicComposition", "URI", ] # @return [OpenActive::Models::Schema::MusicRecording,URI] define_property :recorded_as, as: "recordedAs", types: [ "OpenActive::Models::Schema::MusicRecording", "URI", ] - # @return [String] - define_property :musical_key, as: "musicalKey", types: [ - "string", + # @return [OpenActive::Models::Schema::Event,URI] + define_property :first_performance, as: "firstPerformance", types: [ + "OpenActive::Models::Schema::Event", + "URI", ] # @return [OpenActive::Models::Schema::MusicComposition,URI] - define_property :included_composition, as: "includedComposition", types: [ + define_property :music_arrangement, as: "musicArrangement", types: [ "OpenActive::Models::Schema::MusicComposition", "URI", ] - # @return [OpenActive::Models::Schema::Person,URI] - define_property :lyricist, as: "lyricist", types: [ - "OpenActive::Models::Schema::Person", + # @return [OpenActive::Models::Schema::CreativeWork,URI] + define_property :lyrics, as: "lyrics", types: [ + "OpenActive::Models::Schema::CreativeWork", "URI", ] - # @return [OpenActive::Models::Schema::Organization,OpenActive::Models::Schema::Person,URI] - define_property :composer, as: "composer", types: [ - "OpenActive::Models::Schema::Organization", + # @return [String] + define_property :musical_key, as: "musicalKey", types: [ + "string", + ] + + # @return [OpenActive::Models::Schema::Person,URI] + define_property :lyricist, as: "lyricist", types: [ "OpenActive::Models::Schema::Person", "URI", ] end end