lib/openactive/models/schema/music_composition.rb in openactive-0.1.2 vs lib/openactive/models/schema/music_composition.rb in openactive-0.2.0
- old
+ new
@@ -7,57 +7,64 @@
def type
"schema:MusicComposition"
end
# @return [String]
- define_property :musical_key, as: "musicalKey", types: [
+ define_property :music_composition_form, as: "musicCompositionForm", types: [
"string",
]
- # @return [OpenActive::Models::Schema::Person,OpenActive::Models::Schema::Organization]
- define_property :composer, as: "composer", types: [
- "OpenActive::Models::Schema::Person",
- "OpenActive::Models::Schema::Organization",
+ # @return [OpenActive::Models::Schema::Event,URI]
+ define_property :first_performance, as: "firstPerformance", types: [
+ "OpenActive::Models::Schema::Event",
+ "URI",
]
# @return [String]
define_property :iswc_code, as: "iswcCode", types: [
"string",
]
- # @return [OpenActive::Models::Schema::CreativeWork]
+ # @return [OpenActive::Models::Schema::CreativeWork,URI]
define_property :lyrics, as: "lyrics", types: [
"OpenActive::Models::Schema::CreativeWork",
+ "URI",
]
- # @return [OpenActive::Models::Schema::MusicComposition]
+ # @return [OpenActive::Models::Schema::MusicComposition,URI]
define_property :music_arrangement, as: "musicArrangement", types: [
"OpenActive::Models::Schema::MusicComposition",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Event]
- define_property :first_performance, as: "firstPerformance", types: [
- "OpenActive::Models::Schema::Event",
- ]
-
- # @return [OpenActive::Models::Schema::MusicRecording]
+ # @return [OpenActive::Models::Schema::MusicRecording,URI]
define_property :recorded_as, as: "recordedAs", types: [
"OpenActive::Models::Schema::MusicRecording",
+ "URI",
]
- # @return [OpenActive::Models::Schema::Person]
- define_property :lyricist, as: "lyricist", types: [
- "OpenActive::Models::Schema::Person",
+ # @return [String]
+ define_property :musical_key, as: "musicalKey", types: [
+ "string",
]
- # @return [OpenActive::Models::Schema::MusicComposition]
+ # @return [OpenActive::Models::Schema::MusicComposition,URI]
define_property :included_composition, as: "includedComposition", types: [
"OpenActive::Models::Schema::MusicComposition",
+ "URI",
]
- # @return [String]
- define_property :music_composition_form, as: "musicCompositionForm", types: [
- "string",
+ # @return [OpenActive::Models::Schema::Person,URI]
+ define_property :lyricist, as: "lyricist", types: [
+ "OpenActive::Models::Schema::Person",
+ "URI",
+ ]
+
+ # @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",
]
end
end
end
end