ddex 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1787) hide show
  1. checksums.yaml +7 -0
  2. data/README.rdoc +170 -0
  3. data/lib/ddex.rb +86 -0
  4. data/lib/ddex/element.rb +103 -0
  5. data/lib/ddex/ern.rb +158 -0
  6. data/lib/ddex/ern/v33.rb +11 -0
  7. data/lib/ddex/ern/v33/catalog_item.rb +44 -0
  8. data/lib/ddex/ern/v33/catalog_list_message.rb +42 -0
  9. data/lib/ddex/ern/v33/catalog_release_reference_list.rb +25 -0
  10. data/lib/ddex/ern/v33/catalog_transfer.rb +34 -0
  11. data/lib/ddex/ern/v33/collection.rb +58 -0
  12. data/lib/ddex/ern/v33/collection_details_by_territory.rb +27 -0
  13. data/lib/ddex/ern/v33/collection_list.rb +29 -0
  14. data/lib/ddex/ern/v33/collection_resource_reference.rb +26 -0
  15. data/lib/ddex/ern/v33/collection_resource_reference_list.rb +26 -0
  16. data/lib/ddex/ern/v33/collection_work_reference.rb +26 -0
  17. data/lib/ddex/ern/v33/collection_work_reference_list.rb +26 -0
  18. data/lib/ddex/ern/v33/condition.rb +27 -0
  19. data/lib/ddex/ern/v33/cue.rb +54 -0
  20. data/lib/ddex/ern/v33/cue_sheet.rb +31 -0
  21. data/lib/ddex/ern/v33/cue_sheet_list.rb +26 -0
  22. data/lib/ddex/ern/v33/deal.rb +37 -0
  23. data/lib/ddex/ern/v33/deal_list.rb +29 -0
  24. data/lib/ddex/ern/v33/deal_technical_resource_details_reference_list.rb +25 -0
  25. data/lib/ddex/ern/v33/deal_terms.rb +58 -0
  26. data/lib/ddex/ern/v33/image.rb +42 -0
  27. data/lib/ddex/ern/v33/image_details_by_territory.rb +37 -0
  28. data/lib/ddex/ern/v33/midi.rb +65 -0
  29. data/lib/ddex/ern/v33/midi_details_by_territory.rb +44 -0
  30. data/lib/ddex/ern/v33/new_release_message.rb +60 -0
  31. data/lib/ddex/ern/v33/physical_returns.rb +26 -0
  32. data/lib/ddex/ern/v33/preview_details.rb +29 -0
  33. data/lib/ddex/ern/v33/related_release_offer_set.rb +34 -0
  34. data/lib/ddex/ern/v33/release.rb +55 -0
  35. data/lib/ddex/ern/v33/release_deal.rb +31 -0
  36. data/lib/ddex/ern/v33/release_details_by_territory.rb +49 -0
  37. data/lib/ddex/ern/v33/release_list.rb +29 -0
  38. data/lib/ddex/ern/v33/resource_group.rb +42 -0
  39. data/lib/ddex/ern/v33/resource_group_content_item.rb +35 -0
  40. data/lib/ddex/ern/v33/resource_list.rb +43 -0
  41. data/lib/ddex/ern/v33/resource_usage.rb +27 -0
  42. data/lib/ddex/ern/v33/sheet_music.rb +51 -0
  43. data/lib/ddex/ern/v33/sheet_music_details_by_territory.rb +33 -0
  44. data/lib/ddex/ern/v33/software.rb +48 -0
  45. data/lib/ddex/ern/v33/software_details_by_territory.rb +37 -0
  46. data/lib/ddex/ern/v33/sound_recording.rb +67 -0
  47. data/lib/ddex/ern/v33/sound_recording_details_by_territory.rb +46 -0
  48. data/lib/ddex/ern/v33/sound_recording_preview_details.rb +32 -0
  49. data/lib/ddex/ern/v33/technical_image_details.rb +52 -0
  50. data/lib/ddex/ern/v33/technical_midi_details.rb +46 -0
  51. data/lib/ddex/ern/v33/technical_sheet_music_details.rb +46 -0
  52. data/lib/ddex/ern/v33/technical_software_details.rb +44 -0
  53. data/lib/ddex/ern/v33/technical_sound_recording_details.rb +55 -0
  54. data/lib/ddex/ern/v33/technical_text_details.rb +46 -0
  55. data/lib/ddex/ern/v33/technical_user_defined_resource_details.rb +42 -0
  56. data/lib/ddex/ern/v33/technical_video_details.rb +67 -0
  57. data/lib/ddex/ern/v33/text.rb +48 -0
  58. data/lib/ddex/ern/v33/text_details_by_territory.rb +37 -0
  59. data/lib/ddex/ern/v33/ugc_access_permission_rule.rb +33 -0
  60. data/lib/ddex/ern/v33/user_defined_resource.rb +48 -0
  61. data/lib/ddex/ern/v33/user_defined_resource_details_by_territory.rb +37 -0
  62. data/lib/ddex/ern/v33/video.rb +72 -0
  63. data/lib/ddex/ern/v33/video_details_by_territory.rb +50 -0
  64. data/lib/ddex/ern/v34.rb +11 -0
  65. data/lib/ddex/ern/v34/catalog_item.rb +44 -0
  66. data/lib/ddex/ern/v34/catalog_list_message.rb +42 -0
  67. data/lib/ddex/ern/v34/catalog_release_reference_list.rb +25 -0
  68. data/lib/ddex/ern/v34/catalog_transfer.rb +34 -0
  69. data/lib/ddex/ern/v34/collection.rb +58 -0
  70. data/lib/ddex/ern/v34/collection_details_by_territory.rb +33 -0
  71. data/lib/ddex/ern/v34/collection_list.rb +29 -0
  72. data/lib/ddex/ern/v34/collection_resource_reference.rb +26 -0
  73. data/lib/ddex/ern/v34/collection_resource_reference_list.rb +26 -0
  74. data/lib/ddex/ern/v34/collection_work_reference.rb +26 -0
  75. data/lib/ddex/ern/v34/collection_work_reference_list.rb +26 -0
  76. data/lib/ddex/ern/v34/condition.rb +27 -0
  77. data/lib/ddex/ern/v34/cue.rb +54 -0
  78. data/lib/ddex/ern/v34/cue_sheet.rb +31 -0
  79. data/lib/ddex/ern/v34/cue_sheet_list.rb +26 -0
  80. data/lib/ddex/ern/v34/deal.rb +37 -0
  81. data/lib/ddex/ern/v34/deal_list.rb +29 -0
  82. data/lib/ddex/ern/v34/deal_technical_resource_details_reference_list.rb +25 -0
  83. data/lib/ddex/ern/v34/deal_terms.rb +58 -0
  84. data/lib/ddex/ern/v34/image.rb +42 -0
  85. data/lib/ddex/ern/v34/image_details_by_territory.rb +53 -0
  86. data/lib/ddex/ern/v34/midi.rb +65 -0
  87. data/lib/ddex/ern/v34/midi_details_by_territory.rb +67 -0
  88. data/lib/ddex/ern/v34/new_release_message.rb +60 -0
  89. data/lib/ddex/ern/v34/physical_returns.rb +26 -0
  90. data/lib/ddex/ern/v34/preview_details.rb +29 -0
  91. data/lib/ddex/ern/v34/related_release_offer_set.rb +34 -0
  92. data/lib/ddex/ern/v34/release.rb +55 -0
  93. data/lib/ddex/ern/v34/release_deal.rb +31 -0
  94. data/lib/ddex/ern/v34/release_details_by_territory.rb +70 -0
  95. data/lib/ddex/ern/v34/release_list.rb +29 -0
  96. data/lib/ddex/ern/v34/resource_group.rb +45 -0
  97. data/lib/ddex/ern/v34/resource_group_content_item.rb +38 -0
  98. data/lib/ddex/ern/v34/resource_list.rb +43 -0
  99. data/lib/ddex/ern/v34/resource_usage.rb +27 -0
  100. data/lib/ddex/ern/v34/rights_claim_policy.rb +29 -0
  101. data/lib/ddex/ern/v34/sheet_music.rb +51 -0
  102. data/lib/ddex/ern/v34/sheet_music_details_by_territory.rb +49 -0
  103. data/lib/ddex/ern/v34/software.rb +48 -0
  104. data/lib/ddex/ern/v34/software_details_by_territory.rb +53 -0
  105. data/lib/ddex/ern/v34/sound_recording.rb +67 -0
  106. data/lib/ddex/ern/v34/sound_recording_details_by_territory.rb +69 -0
  107. data/lib/ddex/ern/v34/sound_recording_preview_details.rb +32 -0
  108. data/lib/ddex/ern/v34/technical_image_details.rb +52 -0
  109. data/lib/ddex/ern/v34/technical_midi_details.rb +46 -0
  110. data/lib/ddex/ern/v34/technical_sheet_music_details.rb +46 -0
  111. data/lib/ddex/ern/v34/technical_software_details.rb +44 -0
  112. data/lib/ddex/ern/v34/technical_sound_recording_details.rb +55 -0
  113. data/lib/ddex/ern/v34/technical_text_details.rb +46 -0
  114. data/lib/ddex/ern/v34/technical_user_defined_resource_details.rb +42 -0
  115. data/lib/ddex/ern/v34/technical_video_details.rb +67 -0
  116. data/lib/ddex/ern/v34/text.rb +48 -0
  117. data/lib/ddex/ern/v34/text_details_by_territory.rb +51 -0
  118. data/lib/ddex/ern/v34/user_defined_resource.rb +48 -0
  119. data/lib/ddex/ern/v34/user_defined_resource_details_by_territory.rb +53 -0
  120. data/lib/ddex/ern/v34/video.rb +72 -0
  121. data/lib/ddex/ern/v34/video_details_by_territory.rb +73 -0
  122. data/lib/ddex/ern/v34/web_policy.rb +31 -0
  123. data/lib/ddex/ern/v341.rb +11 -0
  124. data/lib/ddex/ern/v341/catalog_item.rb +44 -0
  125. data/lib/ddex/ern/v341/catalog_list_message.rb +42 -0
  126. data/lib/ddex/ern/v341/catalog_release_reference_list.rb +25 -0
  127. data/lib/ddex/ern/v341/catalog_transfer.rb +34 -0
  128. data/lib/ddex/ern/v341/collection.rb +58 -0
  129. data/lib/ddex/ern/v341/collection_details_by_territory.rb +33 -0
  130. data/lib/ddex/ern/v341/collection_list.rb +29 -0
  131. data/lib/ddex/ern/v341/collection_resource_reference.rb +26 -0
  132. data/lib/ddex/ern/v341/collection_resource_reference_list.rb +26 -0
  133. data/lib/ddex/ern/v341/collection_work_reference.rb +26 -0
  134. data/lib/ddex/ern/v341/collection_work_reference_list.rb +26 -0
  135. data/lib/ddex/ern/v341/condition.rb +27 -0
  136. data/lib/ddex/ern/v341/cue.rb +54 -0
  137. data/lib/ddex/ern/v341/cue_sheet.rb +31 -0
  138. data/lib/ddex/ern/v341/cue_sheet_list.rb +26 -0
  139. data/lib/ddex/ern/v341/deal.rb +37 -0
  140. data/lib/ddex/ern/v341/deal_list.rb +29 -0
  141. data/lib/ddex/ern/v341/deal_technical_resource_details_reference_list.rb +25 -0
  142. data/lib/ddex/ern/v341/deal_terms.rb +60 -0
  143. data/lib/ddex/ern/v341/image.rb +42 -0
  144. data/lib/ddex/ern/v341/image_details_by_territory.rb +53 -0
  145. data/lib/ddex/ern/v341/midi.rb +65 -0
  146. data/lib/ddex/ern/v341/midi_details_by_territory.rb +67 -0
  147. data/lib/ddex/ern/v341/new_release_message.rb +60 -0
  148. data/lib/ddex/ern/v341/physical_returns.rb +26 -0
  149. data/lib/ddex/ern/v341/preview_details.rb +29 -0
  150. data/lib/ddex/ern/v341/related_release_offer_set.rb +34 -0
  151. data/lib/ddex/ern/v341/release.rb +55 -0
  152. data/lib/ddex/ern/v341/release_deal.rb +31 -0
  153. data/lib/ddex/ern/v341/release_details_by_territory.rb +70 -0
  154. data/lib/ddex/ern/v341/release_list.rb +29 -0
  155. data/lib/ddex/ern/v341/resource_group.rb +45 -0
  156. data/lib/ddex/ern/v341/resource_group_content_item.rb +38 -0
  157. data/lib/ddex/ern/v341/resource_list.rb +43 -0
  158. data/lib/ddex/ern/v341/resource_usage.rb +27 -0
  159. data/lib/ddex/ern/v341/rights_claim_policy.rb +27 -0
  160. data/lib/ddex/ern/v341/sheet_music.rb +51 -0
  161. data/lib/ddex/ern/v341/sheet_music_details_by_territory.rb +49 -0
  162. data/lib/ddex/ern/v341/software.rb +48 -0
  163. data/lib/ddex/ern/v341/software_details_by_territory.rb +53 -0
  164. data/lib/ddex/ern/v341/sound_recording.rb +67 -0
  165. data/lib/ddex/ern/v341/sound_recording_details_by_territory.rb +69 -0
  166. data/lib/ddex/ern/v341/sound_recording_preview_details.rb +32 -0
  167. data/lib/ddex/ern/v341/technical_image_details.rb +52 -0
  168. data/lib/ddex/ern/v341/technical_midi_details.rb +46 -0
  169. data/lib/ddex/ern/v341/technical_sheet_music_details.rb +46 -0
  170. data/lib/ddex/ern/v341/technical_software_details.rb +44 -0
  171. data/lib/ddex/ern/v341/technical_sound_recording_details.rb +55 -0
  172. data/lib/ddex/ern/v341/technical_text_details.rb +46 -0
  173. data/lib/ddex/ern/v341/technical_user_defined_resource_details.rb +42 -0
  174. data/lib/ddex/ern/v341/technical_video_details.rb +67 -0
  175. data/lib/ddex/ern/v341/text.rb +48 -0
  176. data/lib/ddex/ern/v341/text_details_by_territory.rb +51 -0
  177. data/lib/ddex/ern/v341/user_defined_resource.rb +48 -0
  178. data/lib/ddex/ern/v341/user_defined_resource_details_by_territory.rb +53 -0
  179. data/lib/ddex/ern/v341/video.rb +72 -0
  180. data/lib/ddex/ern/v341/video_details_by_territory.rb +73 -0
  181. data/lib/ddex/ern/v341/web_policy.rb +33 -0
  182. data/lib/ddex/ern/v35.rb +11 -0
  183. data/lib/ddex/ern/v35/catalog_item.rb +44 -0
  184. data/lib/ddex/ern/v35/catalog_list_message.rb +42 -0
  185. data/lib/ddex/ern/v35/catalog_release_reference_list.rb +25 -0
  186. data/lib/ddex/ern/v35/catalog_transfer.rb +34 -0
  187. data/lib/ddex/ern/v35/character.rb +34 -0
  188. data/lib/ddex/ern/v35/collection.rb +58 -0
  189. data/lib/ddex/ern/v35/collection_details_by_territory.rb +33 -0
  190. data/lib/ddex/ern/v35/collection_list.rb +29 -0
  191. data/lib/ddex/ern/v35/collection_resource_reference.rb +26 -0
  192. data/lib/ddex/ern/v35/collection_resource_reference_list.rb +26 -0
  193. data/lib/ddex/ern/v35/collection_work_reference.rb +26 -0
  194. data/lib/ddex/ern/v35/collection_work_reference_list.rb +26 -0
  195. data/lib/ddex/ern/v35/condition.rb +27 -0
  196. data/lib/ddex/ern/v35/cue.rb +54 -0
  197. data/lib/ddex/ern/v35/cue_sheet.rb +31 -0
  198. data/lib/ddex/ern/v35/cue_sheet_list.rb +26 -0
  199. data/lib/ddex/ern/v35/deal.rb +37 -0
  200. data/lib/ddex/ern/v35/deal_list.rb +29 -0
  201. data/lib/ddex/ern/v35/deal_technical_resource_details_reference_list.rb +25 -0
  202. data/lib/ddex/ern/v35/deal_terms.rb +60 -0
  203. data/lib/ddex/ern/v35/image.rb +42 -0
  204. data/lib/ddex/ern/v35/image_details_by_territory.rb +53 -0
  205. data/lib/ddex/ern/v35/midi.rb +65 -0
  206. data/lib/ddex/ern/v35/midi_details_by_territory.rb +67 -0
  207. data/lib/ddex/ern/v35/new_release_message.rb +61 -0
  208. data/lib/ddex/ern/v35/physical_returns.rb +26 -0
  209. data/lib/ddex/ern/v35/preview_details.rb +29 -0
  210. data/lib/ddex/ern/v35/related_release_offer_set.rb +34 -0
  211. data/lib/ddex/ern/v35/release.rb +61 -0
  212. data/lib/ddex/ern/v35/release_deal.rb +31 -0
  213. data/lib/ddex/ern/v35/release_details_by_territory.rb +72 -0
  214. data/lib/ddex/ern/v35/release_list.rb +29 -0
  215. data/lib/ddex/ern/v35/resource_contributor.rb +57 -0
  216. data/lib/ddex/ern/v35/resource_group.rb +47 -0
  217. data/lib/ddex/ern/v35/resource_list.rb +43 -0
  218. data/lib/ddex/ern/v35/resource_usage.rb +27 -0
  219. data/lib/ddex/ern/v35/rights_claim_policy.rb +27 -0
  220. data/lib/ddex/ern/v35/rights_controller.rb +39 -0
  221. data/lib/ddex/ern/v35/sheet_music.rb +51 -0
  222. data/lib/ddex/ern/v35/sheet_music_details_by_territory.rb +49 -0
  223. data/lib/ddex/ern/v35/software.rb +48 -0
  224. data/lib/ddex/ern/v35/software_details_by_territory.rb +53 -0
  225. data/lib/ddex/ern/v35/sound_recording.rb +73 -0
  226. data/lib/ddex/ern/v35/sound_recording_details_by_territory.rb +70 -0
  227. data/lib/ddex/ern/v35/sound_recording_preview_details.rb +32 -0
  228. data/lib/ddex/ern/v35/technical_image_details.rb +52 -0
  229. data/lib/ddex/ern/v35/technical_midi_details.rb +46 -0
  230. data/lib/ddex/ern/v35/technical_sheet_music_details.rb +46 -0
  231. data/lib/ddex/ern/v35/technical_software_details.rb +44 -0
  232. data/lib/ddex/ern/v35/technical_sound_recording_details.rb +55 -0
  233. data/lib/ddex/ern/v35/technical_text_details.rb +46 -0
  234. data/lib/ddex/ern/v35/technical_user_defined_resource_details.rb +42 -0
  235. data/lib/ddex/ern/v35/technical_video_details.rb +67 -0
  236. data/lib/ddex/ern/v35/text.rb +48 -0
  237. data/lib/ddex/ern/v35/text_details_by_territory.rb +51 -0
  238. data/lib/ddex/ern/v35/user_defined_resource.rb +48 -0
  239. data/lib/ddex/ern/v35/user_defined_resource_details_by_territory.rb +53 -0
  240. data/lib/ddex/ern/v35/video.rb +78 -0
  241. data/lib/ddex/ern/v35/video_details_by_territory.rb +74 -0
  242. data/lib/ddex/ern/v35/web_policy.rb +33 -0
  243. data/lib/ddex/ern/v351.rb +11 -0
  244. data/lib/ddex/ern/v351/catalog_item.rb +44 -0
  245. data/lib/ddex/ern/v351/catalog_list_message.rb +42 -0
  246. data/lib/ddex/ern/v351/catalog_release_reference_list.rb +25 -0
  247. data/lib/ddex/ern/v351/catalog_transfer.rb +34 -0
  248. data/lib/ddex/ern/v351/character.rb +34 -0
  249. data/lib/ddex/ern/v351/collection.rb +58 -0
  250. data/lib/ddex/ern/v351/collection_details_by_territory.rb +33 -0
  251. data/lib/ddex/ern/v351/collection_list.rb +29 -0
  252. data/lib/ddex/ern/v351/collection_resource_reference.rb +26 -0
  253. data/lib/ddex/ern/v351/collection_resource_reference_list.rb +26 -0
  254. data/lib/ddex/ern/v351/collection_work_reference.rb +26 -0
  255. data/lib/ddex/ern/v351/collection_work_reference_list.rb +26 -0
  256. data/lib/ddex/ern/v351/condition.rb +27 -0
  257. data/lib/ddex/ern/v351/cue.rb +54 -0
  258. data/lib/ddex/ern/v351/cue_sheet.rb +31 -0
  259. data/lib/ddex/ern/v351/cue_sheet_list.rb +26 -0
  260. data/lib/ddex/ern/v351/deal.rb +37 -0
  261. data/lib/ddex/ern/v351/deal_list.rb +29 -0
  262. data/lib/ddex/ern/v351/deal_technical_resource_details_reference_list.rb +25 -0
  263. data/lib/ddex/ern/v351/deal_terms.rb +60 -0
  264. data/lib/ddex/ern/v351/image.rb +42 -0
  265. data/lib/ddex/ern/v351/image_details_by_territory.rb +53 -0
  266. data/lib/ddex/ern/v351/midi.rb +65 -0
  267. data/lib/ddex/ern/v351/midi_details_by_territory.rb +67 -0
  268. data/lib/ddex/ern/v351/new_release_message.rb +61 -0
  269. data/lib/ddex/ern/v351/physical_returns.rb +26 -0
  270. data/lib/ddex/ern/v351/preview_details.rb +29 -0
  271. data/lib/ddex/ern/v351/related_release_offer_set.rb +34 -0
  272. data/lib/ddex/ern/v351/release.rb +61 -0
  273. data/lib/ddex/ern/v351/release_deal.rb +31 -0
  274. data/lib/ddex/ern/v351/release_details_by_territory.rb +72 -0
  275. data/lib/ddex/ern/v351/release_list.rb +29 -0
  276. data/lib/ddex/ern/v351/resource_contributor.rb +57 -0
  277. data/lib/ddex/ern/v351/resource_group.rb +47 -0
  278. data/lib/ddex/ern/v351/resource_list.rb +43 -0
  279. data/lib/ddex/ern/v351/resource_usage.rb +27 -0
  280. data/lib/ddex/ern/v351/rights_claim_policy.rb +27 -0
  281. data/lib/ddex/ern/v351/rights_controller.rb +39 -0
  282. data/lib/ddex/ern/v351/sheet_music.rb +51 -0
  283. data/lib/ddex/ern/v351/sheet_music_details_by_territory.rb +49 -0
  284. data/lib/ddex/ern/v351/software.rb +48 -0
  285. data/lib/ddex/ern/v351/software_details_by_territory.rb +53 -0
  286. data/lib/ddex/ern/v351/sound_recording.rb +73 -0
  287. data/lib/ddex/ern/v351/sound_recording_details_by_territory.rb +70 -0
  288. data/lib/ddex/ern/v351/sound_recording_preview_details.rb +32 -0
  289. data/lib/ddex/ern/v351/technical_image_details.rb +52 -0
  290. data/lib/ddex/ern/v351/technical_midi_details.rb +46 -0
  291. data/lib/ddex/ern/v351/technical_sheet_music_details.rb +46 -0
  292. data/lib/ddex/ern/v351/technical_software_details.rb +44 -0
  293. data/lib/ddex/ern/v351/technical_sound_recording_details.rb +55 -0
  294. data/lib/ddex/ern/v351/technical_text_details.rb +46 -0
  295. data/lib/ddex/ern/v351/technical_user_defined_resource_details.rb +42 -0
  296. data/lib/ddex/ern/v351/technical_video_details.rb +67 -0
  297. data/lib/ddex/ern/v351/text.rb +48 -0
  298. data/lib/ddex/ern/v351/text_details_by_territory.rb +51 -0
  299. data/lib/ddex/ern/v351/user_defined_resource.rb +48 -0
  300. data/lib/ddex/ern/v351/user_defined_resource_details_by_territory.rb +53 -0
  301. data/lib/ddex/ern/v351/video.rb +78 -0
  302. data/lib/ddex/ern/v351/video_details_by_territory.rb +74 -0
  303. data/lib/ddex/ern/v351/web_policy.rb +33 -0
  304. data/lib/ddex/ern/v36.rb +11 -0
  305. data/lib/ddex/ern/v36/administrating_record_company.rb +37 -0
  306. data/lib/ddex/ern/v36/artist.rb +34 -0
  307. data/lib/ddex/ern/v36/artist_delegated_usage_rights.rb +32 -0
  308. data/lib/ddex/ern/v36/artist_role.rb +31 -0
  309. data/lib/ddex/ern/v36/aspect_ratio.rb +28 -0
  310. data/lib/ddex/ern/v36/audio_codec_type.rb +34 -0
  311. data/lib/ddex/ern/v36/av_rating.rb +29 -0
  312. data/lib/ddex/ern/v36/bit_rate.rb +28 -0
  313. data/lib/ddex/ern/v36/c_line.rb +30 -0
  314. data/lib/ddex/ern/v36/carrier_type.rb +31 -0
  315. data/lib/ddex/ern/v36/catalog_item.rb +44 -0
  316. data/lib/ddex/ern/v36/catalog_list_message.rb +42 -0
  317. data/lib/ddex/ern/v36/catalog_number.rb +28 -0
  318. data/lib/ddex/ern/v36/catalog_release_reference_list.rb +25 -0
  319. data/lib/ddex/ern/v36/catalog_transfer.rb +34 -0
  320. data/lib/ddex/ern/v36/character.rb +34 -0
  321. data/lib/ddex/ern/v36/collection.rb +58 -0
  322. data/lib/ddex/ern/v36/collection_collection_reference.rb +30 -0
  323. data/lib/ddex/ern/v36/collection_collection_reference_list.rb +27 -0
  324. data/lib/ddex/ern/v36/collection_details_by_territory.rb +33 -0
  325. data/lib/ddex/ern/v36/collection_id.rb +37 -0
  326. data/lib/ddex/ern/v36/collection_list.rb +29 -0
  327. data/lib/ddex/ern/v36/collection_resource_reference.rb +26 -0
  328. data/lib/ddex/ern/v36/collection_resource_reference_list.rb +26 -0
  329. data/lib/ddex/ern/v36/collection_type.rb +31 -0
  330. data/lib/ddex/ern/v36/collection_work_reference.rb +26 -0
  331. data/lib/ddex/ern/v36/collection_work_reference_list.rb +26 -0
  332. data/lib/ddex/ern/v36/comment.rb +28 -0
  333. data/lib/ddex/ern/v36/commercial_model_type.rb +31 -0
  334. data/lib/ddex/ern/v36/condition.rb +27 -0
  335. data/lib/ddex/ern/v36/consumer_rental_period.rb +28 -0
  336. data/lib/ddex/ern/v36/contact_id.rb +27 -0
  337. data/lib/ddex/ern/v36/container_format.rb +31 -0
  338. data/lib/ddex/ern/v36/courtesy_line.rb +28 -0
  339. data/lib/ddex/ern/v36/creation_id.rb +38 -0
  340. data/lib/ddex/ern/v36/cue.rb +54 -0
  341. data/lib/ddex/ern/v36/cue_creation_reference.rb +26 -0
  342. data/lib/ddex/ern/v36/cue_origin.rb +31 -0
  343. data/lib/ddex/ern/v36/cue_sheet.rb +31 -0
  344. data/lib/ddex/ern/v36/cue_sheet_list.rb +26 -0
  345. data/lib/ddex/ern/v36/cue_sheet_type.rb +31 -0
  346. data/lib/ddex/ern/v36/cue_theme_type.rb +31 -0
  347. data/lib/ddex/ern/v36/cue_use_type.rb +31 -0
  348. data/lib/ddex/ern/v36/cue_visual_perception_type.rb +31 -0
  349. data/lib/ddex/ern/v36/cue_vocal_type.rb +31 -0
  350. data/lib/ddex/ern/v36/deal.rb +37 -0
  351. data/lib/ddex/ern/v36/deal_list.rb +29 -0
  352. data/lib/ddex/ern/v36/deal_reference.rb +28 -0
  353. data/lib/ddex/ern/v36/deal_technical_resource_details_reference_list.rb +25 -0
  354. data/lib/ddex/ern/v36/deal_terms.rb +64 -0
  355. data/lib/ddex/ern/v36/description.rb +28 -0
  356. data/lib/ddex/ern/v36/distribution_channel_type.rb +31 -0
  357. data/lib/ddex/ern/v36/drm_platform_type.rb +34 -0
  358. data/lib/ddex/ern/v36/dsp.rb +35 -0
  359. data/lib/ddex/ern/v36/event_date.rb +43 -0
  360. data/lib/ddex/ern/v36/event_date_time.rb +43 -0
  361. data/lib/ddex/ern/v36/extent.rb +28 -0
  362. data/lib/ddex/ern/v36/external_resource_link.rb +31 -0
  363. data/lib/ddex/ern/v36/externally_linked_resource_type.rb +31 -0
  364. data/lib/ddex/ern/v36/file.rb +29 -0
  365. data/lib/ddex/ern/v36/fingerprint.rb +29 -0
  366. data/lib/ddex/ern/v36/fingerprint_algorithm_type.rb +31 -0
  367. data/lib/ddex/ern/v36/frame_rate.rb +28 -0
  368. data/lib/ddex/ern/v36/fulfillment_date.rb +26 -0
  369. data/lib/ddex/ern/v36/genre.rb +30 -0
  370. data/lib/ddex/ern/v36/governing_agreement_type.rb +31 -0
  371. data/lib/ddex/ern/v36/hash_sum.rb +27 -0
  372. data/lib/ddex/ern/v36/hash_sum_algorithm_type.rb +31 -0
  373. data/lib/ddex/ern/v36/host_sound_carrier.rb +36 -0
  374. data/lib/ddex/ern/v36/icpn.rb +28 -0
  375. data/lib/ddex/ern/v36/image.rb +42 -0
  376. data/lib/ddex/ern/v36/image_codec_type.rb +34 -0
  377. data/lib/ddex/ern/v36/image_details_by_territory.rb +53 -0
  378. data/lib/ddex/ern/v36/image_id.rb +29 -0
  379. data/lib/ddex/ern/v36/image_type.rb +31 -0
  380. data/lib/ddex/ern/v36/indirect_resource_contributor.rb +34 -0
  381. data/lib/ddex/ern/v36/keywords.rb +28 -0
  382. data/lib/ddex/ern/v36/label_name.rb +31 -0
  383. data/lib/ddex/ern/v36/linked_release_resource_reference.rb +31 -0
  384. data/lib/ddex/ern/v36/membership.rb +29 -0
  385. data/lib/ddex/ern/v36/message_audit_trail.rb +29 -0
  386. data/lib/ddex/ern/v36/message_audit_trail_event.rb +27 -0
  387. data/lib/ddex/ern/v36/message_header.rb +40 -0
  388. data/lib/ddex/ern/v36/messaging_party.rb +33 -0
  389. data/lib/ddex/ern/v36/midi.rb +65 -0
  390. data/lib/ddex/ern/v36/midi_details_by_territory.rb +67 -0
  391. data/lib/ddex/ern/v36/midi_id.rb +29 -0
  392. data/lib/ddex/ern/v36/midi_type.rb +31 -0
  393. data/lib/ddex/ern/v36/musical_work.rb +45 -0
  394. data/lib/ddex/ern/v36/musical_work_contributor.rb +36 -0
  395. data/lib/ddex/ern/v36/musical_work_contributor_role.rb +31 -0
  396. data/lib/ddex/ern/v36/musical_work_details_by_territory.rb +31 -0
  397. data/lib/ddex/ern/v36/musical_work_id.rb +32 -0
  398. data/lib/ddex/ern/v36/musical_work_type.rb +31 -0
  399. data/lib/ddex/ern/v36/name.rb +28 -0
  400. data/lib/ddex/ern/v36/new_release_message.rb +61 -0
  401. data/lib/ddex/ern/v36/operating_system_type.rb +34 -0
  402. data/lib/ddex/ern/v36/p_line.rb +33 -0
  403. data/lib/ddex/ern/v36/parental_warning_type.rb +31 -0
  404. data/lib/ddex/ern/v36/party_descriptor.rb +28 -0
  405. data/lib/ddex/ern/v36/party_id.rb +34 -0
  406. data/lib/ddex/ern/v36/party_name.rb +35 -0
  407. data/lib/ddex/ern/v36/period.rb +30 -0
  408. data/lib/ddex/ern/v36/physical_returns.rb +26 -0
  409. data/lib/ddex/ern/v36/preview_details.rb +29 -0
  410. data/lib/ddex/ern/v36/price.rb +28 -0
  411. data/lib/ddex/ern/v36/price_information.rb +37 -0
  412. data/lib/ddex/ern/v36/price_range_type.rb +28 -0
  413. data/lib/ddex/ern/v36/price_type.rb +28 -0
  414. data/lib/ddex/ern/v36/promotional_code.rb +28 -0
  415. data/lib/ddex/ern/v36/proprietary_id.rb +28 -0
  416. data/lib/ddex/ern/v36/purpose.rb +31 -0
  417. data/lib/ddex/ern/v36/rating_agency.rb +31 -0
  418. data/lib/ddex/ern/v36/reason.rb +28 -0
  419. data/lib/ddex/ern/v36/reason_type.rb +31 -0
  420. data/lib/ddex/ern/v36/reference_title.rb +31 -0
  421. data/lib/ddex/ern/v36/related_release.rb +40 -0
  422. data/lib/ddex/ern/v36/related_release_offer_set.rb +34 -0
  423. data/lib/ddex/ern/v36/release.rb +64 -0
  424. data/lib/ddex/ern/v36/release_collection_reference.rb +28 -0
  425. data/lib/ddex/ern/v36/release_collection_reference_list.rb +27 -0
  426. data/lib/ddex/ern/v36/release_deal.rb +31 -0
  427. data/lib/ddex/ern/v36/release_details_by_territory.rb +72 -0
  428. data/lib/ddex/ern/v36/release_id.rb +35 -0
  429. data/lib/ddex/ern/v36/release_list.rb +29 -0
  430. data/lib/ddex/ern/v36/release_relationship_type.rb +31 -0
  431. data/lib/ddex/ern/v36/release_resource_reference.rb +28 -0
  432. data/lib/ddex/ern/v36/release_resource_reference_list.rb +26 -0
  433. data/lib/ddex/ern/v36/release_summary_details_by_territory.rb +35 -0
  434. data/lib/ddex/ern/v36/release_type.rb +31 -0
  435. data/lib/ddex/ern/v36/resource_contained_resource_reference.rb +29 -0
  436. data/lib/ddex/ern/v36/resource_contained_resource_reference_list.rb +26 -0
  437. data/lib/ddex/ern/v36/resource_contributor.rb +57 -0
  438. data/lib/ddex/ern/v36/resource_contributor_role.rb +31 -0
  439. data/lib/ddex/ern/v36/resource_group.rb +49 -0
  440. data/lib/ddex/ern/v36/resource_group_content_item.rb +39 -0
  441. data/lib/ddex/ern/v36/resource_group_resource_reference_list.rb +25 -0
  442. data/lib/ddex/ern/v36/resource_list.rb +43 -0
  443. data/lib/ddex/ern/v36/resource_musical_work_reference.rb +28 -0
  444. data/lib/ddex/ern/v36/resource_musical_work_reference_list.rb +26 -0
  445. data/lib/ddex/ern/v36/resource_omission_reason.rb +31 -0
  446. data/lib/ddex/ern/v36/resource_type.rb +31 -0
  447. data/lib/ddex/ern/v36/resource_usage.rb +27 -0
  448. data/lib/ddex/ern/v36/right_share.rb +57 -0
  449. data/lib/ddex/ern/v36/right_share_creation_reference_list.rb +27 -0
  450. data/lib/ddex/ern/v36/rights_agreement_id.rb +27 -0
  451. data/lib/ddex/ern/v36/rights_claim_policy.rb +27 -0
  452. data/lib/ddex/ern/v36/rights_controller.rb +35 -0
  453. data/lib/ddex/ern/v36/rights_type.rb +34 -0
  454. data/lib/ddex/ern/v36/sales_reporting_proxy_release_id.rb +30 -0
  455. data/lib/ddex/ern/v36/sampling_rate.rb +28 -0
  456. data/lib/ddex/ern/v36/sheet_music.rb +51 -0
  457. data/lib/ddex/ern/v36/sheet_music_codec_type.rb +34 -0
  458. data/lib/ddex/ern/v36/sheet_music_details_by_territory.rb +49 -0
  459. data/lib/ddex/ern/v36/sheet_music_id.rb +30 -0
  460. data/lib/ddex/ern/v36/sheet_music_type.rb +31 -0
  461. data/lib/ddex/ern/v36/society_affiliation.rb +28 -0
  462. data/lib/ddex/ern/v36/software.rb +48 -0
  463. data/lib/ddex/ern/v36/software_details_by_territory.rb +53 -0
  464. data/lib/ddex/ern/v36/software_id.rb +29 -0
  465. data/lib/ddex/ern/v36/software_type.rb +31 -0
  466. data/lib/ddex/ern/v36/sound_processor_type.rb +34 -0
  467. data/lib/ddex/ern/v36/sound_recording.rb +74 -0
  468. data/lib/ddex/ern/v36/sound_recording_collection_reference.rb +30 -0
  469. data/lib/ddex/ern/v36/sound_recording_collection_reference_list.rb +27 -0
  470. data/lib/ddex/ern/v36/sound_recording_details_by_territory.rb +70 -0
  471. data/lib/ddex/ern/v36/sound_recording_id.rb +32 -0
  472. data/lib/ddex/ern/v36/sound_recording_preview_details.rb +32 -0
  473. data/lib/ddex/ern/v36/sound_recording_type.rb +31 -0
  474. data/lib/ddex/ern/v36/sub_title.rb +28 -0
  475. data/lib/ddex/ern/v36/synopsis.rb +28 -0
  476. data/lib/ddex/ern/v36/tariff_reference.rb +31 -0
  477. data/lib/ddex/ern/v36/technical_image_details.rb +53 -0
  478. data/lib/ddex/ern/v36/technical_instantiation.rb +29 -0
  479. data/lib/ddex/ern/v36/technical_midi_details.rb +46 -0
  480. data/lib/ddex/ern/v36/technical_sheet_music_details.rb +46 -0
  481. data/lib/ddex/ern/v36/technical_software_details.rb +44 -0
  482. data/lib/ddex/ern/v36/technical_sound_recording_details.rb +55 -0
  483. data/lib/ddex/ern/v36/technical_text_details.rb +46 -0
  484. data/lib/ddex/ern/v36/technical_user_defined_resource_details.rb +42 -0
  485. data/lib/ddex/ern/v36/technical_video_details.rb +68 -0
  486. data/lib/ddex/ern/v36/text.rb +48 -0
  487. data/lib/ddex/ern/v36/text_codec_type.rb +34 -0
  488. data/lib/ddex/ern/v36/text_details_by_territory.rb +51 -0
  489. data/lib/ddex/ern/v36/text_id.rb +32 -0
  490. data/lib/ddex/ern/v36/text_type.rb +31 -0
  491. data/lib/ddex/ern/v36/title.rb +34 -0
  492. data/lib/ddex/ern/v36/title_text.rb +28 -0
  493. data/lib/ddex/ern/v36/typed_rights_controller.rb +39 -0
  494. data/lib/ddex/ern/v36/typed_sub_title.rb +31 -0
  495. data/lib/ddex/ern/v36/usage.rb +35 -0
  496. data/lib/ddex/ern/v36/use_type.rb +31 -0
  497. data/lib/ddex/ern/v36/user_defined_resource.rb +48 -0
  498. data/lib/ddex/ern/v36/user_defined_resource_details_by_territory.rb +53 -0
  499. data/lib/ddex/ern/v36/user_defined_resource_id.rb +29 -0
  500. data/lib/ddex/ern/v36/user_defined_resource_type.rb +28 -0
  501. data/lib/ddex/ern/v36/user_defined_value.rb +34 -0
  502. data/lib/ddex/ern/v36/user_interface_type.rb +31 -0
  503. data/lib/ddex/ern/v36/video.rb +81 -0
  504. data/lib/ddex/ern/v36/video_codec_type.rb +34 -0
  505. data/lib/ddex/ern/v36/video_cue_sheet_reference.rb +25 -0
  506. data/lib/ddex/ern/v36/video_details_by_territory.rb +74 -0
  507. data/lib/ddex/ern/v36/video_id.rb +34 -0
  508. data/lib/ddex/ern/v36/video_type.rb +31 -0
  509. data/lib/ddex/ern/v36/web_page.rb +33 -0
  510. data/lib/ddex/ern/v36/web_policy.rb +33 -0
  511. data/lib/ddex/ern/v36/work_list.rb +29 -0
  512. data/lib/ddex/ern/v37.rb +11 -0
  513. data/lib/ddex/ern/v37/administrating_record_company.rb +37 -0
  514. data/lib/ddex/ern/v37/all_territory_code.rb +28 -0
  515. data/lib/ddex/ern/v37/artist.rb +34 -0
  516. data/lib/ddex/ern/v37/artist_delegated_usage_rights.rb +33 -0
  517. data/lib/ddex/ern/v37/artist_role.rb +31 -0
  518. data/lib/ddex/ern/v37/aspect_ratio.rb +28 -0
  519. data/lib/ddex/ern/v37/audio_codec_type.rb +34 -0
  520. data/lib/ddex/ern/v37/av_rating.rb +29 -0
  521. data/lib/ddex/ern/v37/bit_rate.rb +28 -0
  522. data/lib/ddex/ern/v37/c_line.rb +30 -0
  523. data/lib/ddex/ern/v37/carrier_type.rb +31 -0
  524. data/lib/ddex/ern/v37/catalog_item.rb +45 -0
  525. data/lib/ddex/ern/v37/catalog_list_message.rb +42 -0
  526. data/lib/ddex/ern/v37/catalog_number.rb +28 -0
  527. data/lib/ddex/ern/v37/catalog_release_reference_list.rb +25 -0
  528. data/lib/ddex/ern/v37/catalog_transfer.rb +35 -0
  529. data/lib/ddex/ern/v37/character.rb +34 -0
  530. data/lib/ddex/ern/v37/collection.rb +61 -0
  531. data/lib/ddex/ern/v37/collection_collection_reference.rb +30 -0
  532. data/lib/ddex/ern/v37/collection_collection_reference_list.rb +27 -0
  533. data/lib/ddex/ern/v37/collection_details_by_territory.rb +34 -0
  534. data/lib/ddex/ern/v37/collection_id.rb +37 -0
  535. data/lib/ddex/ern/v37/collection_list.rb +29 -0
  536. data/lib/ddex/ern/v37/collection_resource_reference.rb +27 -0
  537. data/lib/ddex/ern/v37/collection_resource_reference_list.rb +26 -0
  538. data/lib/ddex/ern/v37/collection_type.rb +31 -0
  539. data/lib/ddex/ern/v37/collection_work_reference.rb +26 -0
  540. data/lib/ddex/ern/v37/collection_work_reference_list.rb +26 -0
  541. data/lib/ddex/ern/v37/comment.rb +28 -0
  542. data/lib/ddex/ern/v37/commercial_model_type.rb +31 -0
  543. data/lib/ddex/ern/v37/condition.rb +27 -0
  544. data/lib/ddex/ern/v37/consumer_rental_period.rb +28 -0
  545. data/lib/ddex/ern/v37/contact_id.rb +27 -0
  546. data/lib/ddex/ern/v37/container_format.rb +31 -0
  547. data/lib/ddex/ern/v37/courtesy_line.rb +28 -0
  548. data/lib/ddex/ern/v37/creation_id.rb +38 -0
  549. data/lib/ddex/ern/v37/cue.rb +56 -0
  550. data/lib/ddex/ern/v37/cue_creation_reference.rb +26 -0
  551. data/lib/ddex/ern/v37/cue_origin.rb +31 -0
  552. data/lib/ddex/ern/v37/cue_sheet.rb +31 -0
  553. data/lib/ddex/ern/v37/cue_sheet_list.rb +26 -0
  554. data/lib/ddex/ern/v37/cue_sheet_type.rb +31 -0
  555. data/lib/ddex/ern/v37/cue_theme_type.rb +31 -0
  556. data/lib/ddex/ern/v37/cue_use_type.rb +31 -0
  557. data/lib/ddex/ern/v37/cue_visual_perception_type.rb +31 -0
  558. data/lib/ddex/ern/v37/cue_vocal_type.rb +31 -0
  559. data/lib/ddex/ern/v37/current_territory_code.rb +28 -0
  560. data/lib/ddex/ern/v37/deal.rb +37 -0
  561. data/lib/ddex/ern/v37/deal_list.rb +29 -0
  562. data/lib/ddex/ern/v37/deal_reference.rb +28 -0
  563. data/lib/ddex/ern/v37/deal_resource_reference_list.rb +27 -0
  564. data/lib/ddex/ern/v37/deal_technical_resource_details_reference_list.rb +25 -0
  565. data/lib/ddex/ern/v37/deal_terms.rb +69 -0
  566. data/lib/ddex/ern/v37/description.rb +28 -0
  567. data/lib/ddex/ern/v37/detailed_resource_contributor.rb +59 -0
  568. data/lib/ddex/ern/v37/distribution_channel_type.rb +31 -0
  569. data/lib/ddex/ern/v37/drm_platform_type.rb +34 -0
  570. data/lib/ddex/ern/v37/dsp.rb +36 -0
  571. data/lib/ddex/ern/v37/event_date.rb +43 -0
  572. data/lib/ddex/ern/v37/event_date_time.rb +43 -0
  573. data/lib/ddex/ern/v37/extended_resource_group.rb +49 -0
  574. data/lib/ddex/ern/v37/extended_resource_group_content_item.rb +40 -0
  575. data/lib/ddex/ern/v37/extent.rb +28 -0
  576. data/lib/ddex/ern/v37/external_resource_link.rb +31 -0
  577. data/lib/ddex/ern/v37/externally_linked_resource_type.rb +31 -0
  578. data/lib/ddex/ern/v37/file.rb +29 -0
  579. data/lib/ddex/ern/v37/fingerprint.rb +30 -0
  580. data/lib/ddex/ern/v37/fingerprint_algorithm_type.rb +31 -0
  581. data/lib/ddex/ern/v37/frame_rate.rb +28 -0
  582. data/lib/ddex/ern/v37/fulfillment_date.rb +26 -0
  583. data/lib/ddex/ern/v37/genre.rb +30 -0
  584. data/lib/ddex/ern/v37/governing_agreement_type.rb +31 -0
  585. data/lib/ddex/ern/v37/hash_sum.rb +28 -0
  586. data/lib/ddex/ern/v37/hash_sum_algorithm_type.rb +31 -0
  587. data/lib/ddex/ern/v37/host_sound_carrier.rb +36 -0
  588. data/lib/ddex/ern/v37/icpn.rb +28 -0
  589. data/lib/ddex/ern/v37/image.rb +42 -0
  590. data/lib/ddex/ern/v37/image_codec_type.rb +34 -0
  591. data/lib/ddex/ern/v37/image_details_by_territory.rb +59 -0
  592. data/lib/ddex/ern/v37/image_type.rb +31 -0
  593. data/lib/ddex/ern/v37/indirect_resource_contributor.rb +34 -0
  594. data/lib/ddex/ern/v37/keywords.rb +28 -0
  595. data/lib/ddex/ern/v37/label_name.rb +37 -0
  596. data/lib/ddex/ern/v37/linked_release_resource_reference.rb +31 -0
  597. data/lib/ddex/ern/v37/membership.rb +29 -0
  598. data/lib/ddex/ern/v37/message_audit_trail.rb +29 -0
  599. data/lib/ddex/ern/v37/message_audit_trail_event.rb +27 -0
  600. data/lib/ddex/ern/v37/message_header.rb +40 -0
  601. data/lib/ddex/ern/v37/messaging_party.rb +33 -0
  602. data/lib/ddex/ern/v37/midi.rb +66 -0
  603. data/lib/ddex/ern/v37/midi_details_by_territory.rb +71 -0
  604. data/lib/ddex/ern/v37/midi_type.rb +31 -0
  605. data/lib/ddex/ern/v37/musical_work.rb +45 -0
  606. data/lib/ddex/ern/v37/musical_work_contributor.rb +36 -0
  607. data/lib/ddex/ern/v37/musical_work_contributor_role.rb +31 -0
  608. data/lib/ddex/ern/v37/musical_work_details_by_territory.rb +34 -0
  609. data/lib/ddex/ern/v37/musical_work_id.rb +32 -0
  610. data/lib/ddex/ern/v37/musical_work_type.rb +31 -0
  611. data/lib/ddex/ern/v37/name.rb +28 -0
  612. data/lib/ddex/ern/v37/new_release_message.rb +61 -0
  613. data/lib/ddex/ern/v37/operating_system_type.rb +34 -0
  614. data/lib/ddex/ern/v37/p_line.rb +33 -0
  615. data/lib/ddex/ern/v37/parental_warning_type.rb +31 -0
  616. data/lib/ddex/ern/v37/party_descriptor.rb +28 -0
  617. data/lib/ddex/ern/v37/party_id.rb +34 -0
  618. data/lib/ddex/ern/v37/party_name.rb +35 -0
  619. data/lib/ddex/ern/v37/period.rb +30 -0
  620. data/lib/ddex/ern/v37/physical_returns.rb +26 -0
  621. data/lib/ddex/ern/v37/preview_details.rb +29 -0
  622. data/lib/ddex/ern/v37/price.rb +28 -0
  623. data/lib/ddex/ern/v37/price_information.rb +37 -0
  624. data/lib/ddex/ern/v37/price_range_type.rb +28 -0
  625. data/lib/ddex/ern/v37/price_type.rb +28 -0
  626. data/lib/ddex/ern/v37/promotional_code.rb +28 -0
  627. data/lib/ddex/ern/v37/proprietary_id.rb +28 -0
  628. data/lib/ddex/ern/v37/purpose.rb +31 -0
  629. data/lib/ddex/ern/v37/rating_agency.rb +31 -0
  630. data/lib/ddex/ern/v37/reason.rb +28 -0
  631. data/lib/ddex/ern/v37/reason_type.rb +31 -0
  632. data/lib/ddex/ern/v37/reference_title.rb +31 -0
  633. data/lib/ddex/ern/v37/related_release.rb +40 -0
  634. data/lib/ddex/ern/v37/related_release_offer_set.rb +39 -0
  635. data/lib/ddex/ern/v37/release.rb +64 -0
  636. data/lib/ddex/ern/v37/release_collection_reference.rb +28 -0
  637. data/lib/ddex/ern/v37/release_collection_reference_list.rb +27 -0
  638. data/lib/ddex/ern/v37/release_deal.rb +31 -0
  639. data/lib/ddex/ern/v37/release_details_by_territory.rb +77 -0
  640. data/lib/ddex/ern/v37/release_id.rb +35 -0
  641. data/lib/ddex/ern/v37/release_list.rb +29 -0
  642. data/lib/ddex/ern/v37/release_relationship_type.rb +31 -0
  643. data/lib/ddex/ern/v37/release_resource_reference.rb +28 -0
  644. data/lib/ddex/ern/v37/release_resource_reference_list.rb +26 -0
  645. data/lib/ddex/ern/v37/release_summary_details_by_territory.rb +36 -0
  646. data/lib/ddex/ern/v37/release_type.rb +31 -0
  647. data/lib/ddex/ern/v37/resource_contained_resource_reference.rb +29 -0
  648. data/lib/ddex/ern/v37/resource_contained_resource_reference_list.rb +26 -0
  649. data/lib/ddex/ern/v37/resource_contributor.rb +34 -0
  650. data/lib/ddex/ern/v37/resource_contributor_role.rb +31 -0
  651. data/lib/ddex/ern/v37/resource_group.rb +49 -0
  652. data/lib/ddex/ern/v37/resource_group_resource_reference_list.rb +25 -0
  653. data/lib/ddex/ern/v37/resource_list.rb +43 -0
  654. data/lib/ddex/ern/v37/resource_musical_work_reference.rb +28 -0
  655. data/lib/ddex/ern/v37/resource_musical_work_reference_list.rb +26 -0
  656. data/lib/ddex/ern/v37/resource_omission_reason.rb +31 -0
  657. data/lib/ddex/ern/v37/resource_proprietary_id.rb +29 -0
  658. data/lib/ddex/ern/v37/resource_type.rb +31 -0
  659. data/lib/ddex/ern/v37/resource_usage.rb +27 -0
  660. data/lib/ddex/ern/v37/right_share.rb +58 -0
  661. data/lib/ddex/ern/v37/right_share_creation_reference_list.rb +27 -0
  662. data/lib/ddex/ern/v37/rights_agreement_id.rb +27 -0
  663. data/lib/ddex/ern/v37/rights_claim_policy.rb +27 -0
  664. data/lib/ddex/ern/v37/rights_controller.rb +36 -0
  665. data/lib/ddex/ern/v37/rights_type.rb +34 -0
  666. data/lib/ddex/ern/v37/sales_reporting_proxy_release_id.rb +30 -0
  667. data/lib/ddex/ern/v37/sampling_rate.rb +28 -0
  668. data/lib/ddex/ern/v37/sheet_music.rb +51 -0
  669. data/lib/ddex/ern/v37/sheet_music_codec_type.rb +34 -0
  670. data/lib/ddex/ern/v37/sheet_music_details_by_territory.rb +53 -0
  671. data/lib/ddex/ern/v37/sheet_music_id.rb +30 -0
  672. data/lib/ddex/ern/v37/sheet_music_type.rb +31 -0
  673. data/lib/ddex/ern/v37/society_affiliation.rb +29 -0
  674. data/lib/ddex/ern/v37/software.rb +48 -0
  675. data/lib/ddex/ern/v37/software_details_by_territory.rb +59 -0
  676. data/lib/ddex/ern/v37/software_type.rb +31 -0
  677. data/lib/ddex/ern/v37/sound_processor_type.rb +34 -0
  678. data/lib/ddex/ern/v37/sound_recording.rb +76 -0
  679. data/lib/ddex/ern/v37/sound_recording_collection_reference.rb +30 -0
  680. data/lib/ddex/ern/v37/sound_recording_collection_reference_list.rb +27 -0
  681. data/lib/ddex/ern/v37/sound_recording_details_by_territory.rb +74 -0
  682. data/lib/ddex/ern/v37/sound_recording_id.rb +32 -0
  683. data/lib/ddex/ern/v37/sound_recording_preview_details.rb +32 -0
  684. data/lib/ddex/ern/v37/sound_recording_type.rb +31 -0
  685. data/lib/ddex/ern/v37/sub_title.rb +28 -0
  686. data/lib/ddex/ern/v37/synopsis.rb +28 -0
  687. data/lib/ddex/ern/v37/tariff_reference.rb +31 -0
  688. data/lib/ddex/ern/v37/technical_image_details.rb +53 -0
  689. data/lib/ddex/ern/v37/technical_instantiation.rb +29 -0
  690. data/lib/ddex/ern/v37/technical_midi_details.rb +46 -0
  691. data/lib/ddex/ern/v37/technical_sheet_music_details.rb +46 -0
  692. data/lib/ddex/ern/v37/technical_software_details.rb +44 -0
  693. data/lib/ddex/ern/v37/technical_sound_recording_details.rb +55 -0
  694. data/lib/ddex/ern/v37/technical_text_details.rb +46 -0
  695. data/lib/ddex/ern/v37/technical_user_defined_resource_details.rb +42 -0
  696. data/lib/ddex/ern/v37/technical_video_details.rb +68 -0
  697. data/lib/ddex/ern/v37/text.rb +48 -0
  698. data/lib/ddex/ern/v37/text_codec_type.rb +34 -0
  699. data/lib/ddex/ern/v37/text_details_by_territory.rb +57 -0
  700. data/lib/ddex/ern/v37/text_id.rb +32 -0
  701. data/lib/ddex/ern/v37/text_type.rb +31 -0
  702. data/lib/ddex/ern/v37/title.rb +34 -0
  703. data/lib/ddex/ern/v37/title_text.rb +28 -0
  704. data/lib/ddex/ern/v37/typed_rights_controller.rb +40 -0
  705. data/lib/ddex/ern/v37/typed_sub_title.rb +31 -0
  706. data/lib/ddex/ern/v37/usage.rb +35 -0
  707. data/lib/ddex/ern/v37/use_type.rb +31 -0
  708. data/lib/ddex/ern/v37/user_defined_resource.rb +50 -0
  709. data/lib/ddex/ern/v37/user_defined_resource_details_by_territory.rb +59 -0
  710. data/lib/ddex/ern/v37/user_defined_resource_type.rb +28 -0
  711. data/lib/ddex/ern/v37/user_defined_value.rb +34 -0
  712. data/lib/ddex/ern/v37/user_interface_type.rb +31 -0
  713. data/lib/ddex/ern/v37/video.rb +83 -0
  714. data/lib/ddex/ern/v37/video_codec_type.rb +34 -0
  715. data/lib/ddex/ern/v37/video_cue_sheet_reference.rb +25 -0
  716. data/lib/ddex/ern/v37/video_details_by_territory.rb +78 -0
  717. data/lib/ddex/ern/v37/video_id.rb +34 -0
  718. data/lib/ddex/ern/v37/video_type.rb +31 -0
  719. data/lib/ddex/ern/v37/web_page.rb +33 -0
  720. data/lib/ddex/ern/v37/web_policy.rb +33 -0
  721. data/lib/ddex/ern/v37/work_list.rb +29 -0
  722. data/lib/ddex/v20110630/ddexc/additional_information.rb +28 -0
  723. data/lib/ddex/v20110630/ddexc/administrating_record_company.rb +28 -0
  724. data/lib/ddex/v20110630/ddexc/amount_by_use_and_distribution_channel_type.rb +33 -0
  725. data/lib/ddex/v20110630/ddexc/amount_per_collection.rb +27 -0
  726. data/lib/ddex/v20110630/ddexc/annotation.rb +28 -0
  727. data/lib/ddex/v20110630/ddexc/applied_royalty_rate.rb +37 -0
  728. data/lib/ddex/v20110630/ddexc/artist.rb +31 -0
  729. data/lib/ddex/v20110630/ddexc/artist_role.rb +31 -0
  730. data/lib/ddex/v20110630/ddexc/audio_codec_type.rb +34 -0
  731. data/lib/ddex/v20110630/ddexc/av_rating.rb +27 -0
  732. data/lib/ddex/v20110630/ddexc/bit_rate.rb +28 -0
  733. data/lib/ddex/v20110630/ddexc/c_line.rb +30 -0
  734. data/lib/ddex/v20110630/ddexc/calculation_type.rb +29 -0
  735. data/lib/ddex/v20110630/ddexc/carrier_type.rb +31 -0
  736. data/lib/ddex/v20110630/ddexc/catalog_number.rb +28 -0
  737. data/lib/ddex/v20110630/ddexc/cd_protection_type.rb +31 -0
  738. data/lib/ddex/v20110630/ddexc/character.rb +31 -0
  739. data/lib/ddex/v20110630/ddexc/collection.rb +48 -0
  740. data/lib/ddex/v20110630/ddexc/collection_collection_reference.rb +30 -0
  741. data/lib/ddex/v20110630/ddexc/collection_collection_reference_list.rb +27 -0
  742. data/lib/ddex/v20110630/ddexc/collection_details_by_territory.rb +31 -0
  743. data/lib/ddex/v20110630/ddexc/collection_id.rb +37 -0
  744. data/lib/ddex/v20110630/ddexc/collection_list.rb +29 -0
  745. data/lib/ddex/v20110630/ddexc/collection_resource_reference_list.rb +25 -0
  746. data/lib/ddex/v20110630/ddexc/collection_type.rb +31 -0
  747. data/lib/ddex/v20110630/ddexc/comment.rb +28 -0
  748. data/lib/ddex/v20110630/ddexc/commercial_model_type.rb +31 -0
  749. data/lib/ddex/v20110630/ddexc/consumer_rental_period.rb +28 -0
  750. data/lib/ddex/v20110630/ddexc/contained_release_summary.rb +27 -0
  751. data/lib/ddex/v20110630/ddexc/container_format.rb +31 -0
  752. data/lib/ddex/v20110630/ddexc/courtesy_line.rb +28 -0
  753. data/lib/ddex/v20110630/ddexc/creation_id.rb +38 -0
  754. data/lib/ddex/v20110630/ddexc/cue.rb +48 -0
  755. data/lib/ddex/v20110630/ddexc/cue_creation_reference.rb +26 -0
  756. data/lib/ddex/v20110630/ddexc/cue_origin.rb +31 -0
  757. data/lib/ddex/v20110630/ddexc/cue_sheet.rb +31 -0
  758. data/lib/ddex/v20110630/ddexc/cue_sheet_list.rb +26 -0
  759. data/lib/ddex/v20110630/ddexc/cue_sheet_type.rb +31 -0
  760. data/lib/ddex/v20110630/ddexc/cue_theme_type.rb +31 -0
  761. data/lib/ddex/v20110630/ddexc/cue_use_type.rb +31 -0
  762. data/lib/ddex/v20110630/ddexc/cue_visual_perception_type.rb +31 -0
  763. data/lib/ddex/v20110630/ddexc/cue_vocal_type.rb +31 -0
  764. data/lib/ddex/v20110630/ddexc/deal_reference.rb +28 -0
  765. data/lib/ddex/v20110630/ddexc/deduction_rate.rb +34 -0
  766. data/lib/ddex/v20110630/ddexc/description.rb +28 -0
  767. data/lib/ddex/v20110630/ddexc/distribution_channel_descriptor.rb +28 -0
  768. data/lib/ddex/v20110630/ddexc/distribution_channel_type.rb +31 -0
  769. data/lib/ddex/v20110630/ddexc/drm_platform_type.rb +34 -0
  770. data/lib/ddex/v20110630/ddexc/dsp.rb +32 -0
  771. data/lib/ddex/v20110630/ddexc/duration_by_use_type.rb +33 -0
  772. data/lib/ddex/v20110630/ddexc/ern_message_in_batch.rb +36 -0
  773. data/lib/ddex/v20110630/ddexc/event_date.rb +43 -0
  774. data/lib/ddex/v20110630/ddexc/event_date_time.rb +43 -0
  775. data/lib/ddex/v20110630/ddexc/extent.rb +28 -0
  776. data/lib/ddex/v20110630/ddexc/external_location_descriptor.rb +28 -0
  777. data/lib/ddex/v20110630/ddexc/external_resource_link.rb +31 -0
  778. data/lib/ddex/v20110630/ddexc/externally_linked_resource_type.rb +31 -0
  779. data/lib/ddex/v20110630/ddexc/file.rb +29 -0
  780. data/lib/ddex/v20110630/ddexc/fingerprint.rb +29 -0
  781. data/lib/ddex/v20110630/ddexc/fingerprint_algorithm_type.rb +31 -0
  782. data/lib/ddex/v20110630/ddexc/frame_rate.rb +28 -0
  783. data/lib/ddex/v20110630/ddexc/fulfillment_date.rb +26 -0
  784. data/lib/ddex/v20110630/ddexc/genre.rb +30 -0
  785. data/lib/ddex/v20110630/ddexc/governing_agreement_type.rb +31 -0
  786. data/lib/ddex/v20110630/ddexc/guaranteed_amount.rb +31 -0
  787. data/lib/ddex/v20110630/ddexc/hash_sum.rb +27 -0
  788. data/lib/ddex/v20110630/ddexc/hash_sum_algorithm_type.rb +31 -0
  789. data/lib/ddex/v20110630/ddexc/host_sound_carrier.rb +36 -0
  790. data/lib/ddex/v20110630/ddexc/icpn.rb +28 -0
  791. data/lib/ddex/v20110630/ddexc/image.rb +39 -0
  792. data/lib/ddex/v20110630/ddexc/image_codec_type.rb +34 -0
  793. data/lib/ddex/v20110630/ddexc/image_details_by_territory.rb +41 -0
  794. data/lib/ddex/v20110630/ddexc/image_id.rb +29 -0
  795. data/lib/ddex/v20110630/ddexc/image_type.rb +31 -0
  796. data/lib/ddex/v20110630/ddexc/indirect_resource_contributor.rb +31 -0
  797. data/lib/ddex/v20110630/ddexc/keywords.rb +28 -0
  798. data/lib/ddex/v20110630/ddexc/label_name.rb +31 -0
  799. data/lib/ddex/v20110630/ddexc/license_or_claim_refusal_reason.rb +31 -0
  800. data/lib/ddex/v20110630/ddexc/license_or_claim_request_update_reason.rb +31 -0
  801. data/lib/ddex/v20110630/ddexc/license_or_claim_update_reason.rb +31 -0
  802. data/lib/ddex/v20110630/ddexc/linked_release_resource_reference.rb +31 -0
  803. data/lib/ddex/v20110630/ddexc/message_action_type.rb +31 -0
  804. data/lib/ddex/v20110630/ddexc/message_audit_trail.rb +29 -0
  805. data/lib/ddex/v20110630/ddexc/message_audit_trail_event.rb +27 -0
  806. data/lib/ddex/v20110630/ddexc/message_header.rb +40 -0
  807. data/lib/ddex/v20110630/ddexc/message_notification_period.rb +26 -0
  808. data/lib/ddex/v20110630/ddexc/messaging_party.rb +33 -0
  809. data/lib/ddex/v20110630/ddexc/midi.rb +60 -0
  810. data/lib/ddex/v20110630/ddexc/midi_details_by_territory.rb +48 -0
  811. data/lib/ddex/v20110630/ddexc/midi_id.rb +29 -0
  812. data/lib/ddex/v20110630/ddexc/midi_type.rb +31 -0
  813. data/lib/ddex/v20110630/ddexc/musical_work.rb +45 -0
  814. data/lib/ddex/v20110630/ddexc/musical_work_contributor.rb +33 -0
  815. data/lib/ddex/v20110630/ddexc/musical_work_contributor_role.rb +31 -0
  816. data/lib/ddex/v20110630/ddexc/musical_work_details_by_territory.rb +31 -0
  817. data/lib/ddex/v20110630/ddexc/musical_work_id.rb +32 -0
  818. data/lib/ddex/v20110630/ddexc/musical_work_type.rb +31 -0
  819. data/lib/ddex/v20110630/ddexc/name.rb +28 -0
  820. data/lib/ddex/v20110630/ddexc/number_of_data_mismatch_items.rb +28 -0
  821. data/lib/ddex/v20110630/ddexc/number_of_subscribers.rb +33 -0
  822. data/lib/ddex/v20110630/ddexc/operating_system_type.rb +34 -0
  823. data/lib/ddex/v20110630/ddexc/order_type.rb +31 -0
  824. data/lib/ddex/v20110630/ddexc/p_line.rb +33 -0
  825. data/lib/ddex/v20110630/ddexc/parental_warning_type.rb +31 -0
  826. data/lib/ddex/v20110630/ddexc/party_descriptor.rb +28 -0
  827. data/lib/ddex/v20110630/ddexc/party_id.rb +28 -0
  828. data/lib/ddex/v20110630/ddexc/party_name.rb +35 -0
  829. data/lib/ddex/v20110630/ddexc/period.rb +30 -0
  830. data/lib/ddex/v20110630/ddexc/price.rb +28 -0
  831. data/lib/ddex/v20110630/ddexc/price_consumer_paid_exc_sales_tax.rb +28 -0
  832. data/lib/ddex/v20110630/ddexc/price_information.rb +34 -0
  833. data/lib/ddex/v20110630/ddexc/price_range_type.rb +28 -0
  834. data/lib/ddex/v20110630/ddexc/price_type.rb +28 -0
  835. data/lib/ddex/v20110630/ddexc/product_type.rb +31 -0
  836. data/lib/ddex/v20110630/ddexc/promotional_code.rb +28 -0
  837. data/lib/ddex/v20110630/ddexc/proprietary_id.rb +28 -0
  838. data/lib/ddex/v20110630/ddexc/purpose.rb +31 -0
  839. data/lib/ddex/v20110630/ddexc/rating_agency.rb +31 -0
  840. data/lib/ddex/v20110630/ddexc/reason.rb +28 -0
  841. data/lib/ddex/v20110630/ddexc/reason_type.rb +31 -0
  842. data/lib/ddex/v20110630/ddexc/record_company_market_share_data.rb +35 -0
  843. data/lib/ddex/v20110630/ddexc/redelivery_reason_type.rb +31 -0
  844. data/lib/ddex/v20110630/ddexc/reference_title.rb +31 -0
  845. data/lib/ddex/v20110630/ddexc/related_license_or_claim_id.rb +28 -0
  846. data/lib/ddex/v20110630/ddexc/related_license_or_claim_request_id.rb +28 -0
  847. data/lib/ddex/v20110630/ddexc/related_release.rb +40 -0
  848. data/lib/ddex/v20110630/ddexc/release.rb +47 -0
  849. data/lib/ddex/v20110630/ddexc/release_availability_status.rb +31 -0
  850. data/lib/ddex/v20110630/ddexc/release_collection_reference.rb +28 -0
  851. data/lib/ddex/v20110630/ddexc/release_collection_reference_list.rb +27 -0
  852. data/lib/ddex/v20110630/ddexc/release_details_by_territory.rb +36 -0
  853. data/lib/ddex/v20110630/ddexc/release_id.rb +35 -0
  854. data/lib/ddex/v20110630/ddexc/release_relationship_type.rb +31 -0
  855. data/lib/ddex/v20110630/ddexc/release_resource_reference.rb +28 -0
  856. data/lib/ddex/v20110630/ddexc/release_resource_reference_list.rb +26 -0
  857. data/lib/ddex/v20110630/ddexc/release_summary.rb +35 -0
  858. data/lib/ddex/v20110630/ddexc/release_summary_details_by_territory.rb +35 -0
  859. data/lib/ddex/v20110630/ddexc/release_type.rb +31 -0
  860. data/lib/ddex/v20110630/ddexc/remittance_advice.rb +28 -0
  861. data/lib/ddex/v20110630/ddexc/report_format.rb +31 -0
  862. data/lib/ddex/v20110630/ddexc/report_type.rb +31 -0
  863. data/lib/ddex/v20110630/ddexc/resource_contained_resource_reference.rb +29 -0
  864. data/lib/ddex/v20110630/ddexc/resource_contained_resource_reference_list.rb +26 -0
  865. data/lib/ddex/v20110630/ddexc/resource_contributor.rb +31 -0
  866. data/lib/ddex/v20110630/ddexc/resource_contributor_role.rb +31 -0
  867. data/lib/ddex/v20110630/ddexc/resource_group_resource_reference_list.rb +25 -0
  868. data/lib/ddex/v20110630/ddexc/resource_id.rb +38 -0
  869. data/lib/ddex/v20110630/ddexc/resource_musical_work_reference.rb +28 -0
  870. data/lib/ddex/v20110630/ddexc/resource_musical_work_reference_list.rb +26 -0
  871. data/lib/ddex/v20110630/ddexc/resource_omission_reason.rb +31 -0
  872. data/lib/ddex/v20110630/ddexc/resource_type.rb +31 -0
  873. data/lib/ddex/v20110630/ddexc/right_share.rb +57 -0
  874. data/lib/ddex/v20110630/ddexc/right_share_creation_reference_list.rb +27 -0
  875. data/lib/ddex/v20110630/ddexc/rights_agreement_id.rb +27 -0
  876. data/lib/ddex/v20110630/ddexc/rights_controller.rb +32 -0
  877. data/lib/ddex/v20110630/ddexc/rights_type.rb +34 -0
  878. data/lib/ddex/v20110630/ddexc/royalty_amount.rb +28 -0
  879. data/lib/ddex/v20110630/ddexc/royalty_code.rb +28 -0
  880. data/lib/ddex/v20110630/ddexc/sales_reporting_proxy_release_id.rb +30 -0
  881. data/lib/ddex/v20110630/ddexc/sampling_rate.rb +28 -0
  882. data/lib/ddex/v20110630/ddexc/sheet_music.rb +48 -0
  883. data/lib/ddex/v20110630/ddexc/sheet_music_codec_type.rb +34 -0
  884. data/lib/ddex/v20110630/ddexc/sheet_music_details_by_territory.rb +41 -0
  885. data/lib/ddex/v20110630/ddexc/sheet_music_id.rb +30 -0
  886. data/lib/ddex/v20110630/ddexc/sheet_music_type.rb +31 -0
  887. data/lib/ddex/v20110630/ddexc/society_affiliation.rb +28 -0
  888. data/lib/ddex/v20110630/ddexc/software.rb +45 -0
  889. data/lib/ddex/v20110630/ddexc/software_details_by_territory.rb +41 -0
  890. data/lib/ddex/v20110630/ddexc/software_id.rb +29 -0
  891. data/lib/ddex/v20110630/ddexc/software_type.rb +31 -0
  892. data/lib/ddex/v20110630/ddexc/sound_processor_type.rb +34 -0
  893. data/lib/ddex/v20110630/ddexc/sound_recording.rb +60 -0
  894. data/lib/ddex/v20110630/ddexc/sound_recording_collection_reference.rb +30 -0
  895. data/lib/ddex/v20110630/ddexc/sound_recording_collection_reference_list.rb +27 -0
  896. data/lib/ddex/v20110630/ddexc/sound_recording_details_by_territory.rb +48 -0
  897. data/lib/ddex/v20110630/ddexc/sound_recording_id.rb +32 -0
  898. data/lib/ddex/v20110630/ddexc/sound_recording_type.rb +31 -0
  899. data/lib/ddex/v20110630/ddexc/store_location_descriptor.rb +28 -0
  900. data/lib/ddex/v20110630/ddexc/sub_title.rb +28 -0
  901. data/lib/ddex/v20110630/ddexc/supply_chain_status.rb +31 -0
  902. data/lib/ddex/v20110630/ddexc/synopsis.rb +28 -0
  903. data/lib/ddex/v20110630/ddexc/tariff_reference.rb +31 -0
  904. data/lib/ddex/v20110630/ddexc/tax.rb +28 -0
  905. data/lib/ddex/v20110630/ddexc/tax_rate.rb +29 -0
  906. data/lib/ddex/v20110630/ddexc/tax_scope.rb +31 -0
  907. data/lib/ddex/v20110630/ddexc/tax_type.rb +31 -0
  908. data/lib/ddex/v20110630/ddexc/technical_instantiation.rb +29 -0
  909. data/lib/ddex/v20110630/ddexc/text.rb +45 -0
  910. data/lib/ddex/v20110630/ddexc/text_codec_type.rb +34 -0
  911. data/lib/ddex/v20110630/ddexc/text_details_by_territory.rb +39 -0
  912. data/lib/ddex/v20110630/ddexc/text_id.rb +32 -0
  913. data/lib/ddex/v20110630/ddexc/text_type.rb +31 -0
  914. data/lib/ddex/v20110630/ddexc/title.rb +34 -0
  915. data/lib/ddex/v20110630/ddexc/title_text.rb +28 -0
  916. data/lib/ddex/v20110630/ddexc/total_royalty_amount.rb +30 -0
  917. data/lib/ddex/v20110630/ddexc/typed_sub_title.rb +28 -0
  918. data/lib/ddex/v20110630/ddexc/usage.rb +35 -0
  919. data/lib/ddex/v20110630/ddexc/use_type.rb +31 -0
  920. data/lib/ddex/v20110630/ddexc/user_defined_resource.rb +45 -0
  921. data/lib/ddex/v20110630/ddexc/user_defined_resource_details_by_territory.rb +41 -0
  922. data/lib/ddex/v20110630/ddexc/user_defined_resource_id.rb +29 -0
  923. data/lib/ddex/v20110630/ddexc/user_defined_resource_type.rb +28 -0
  924. data/lib/ddex/v20110630/ddexc/user_defined_value.rb +34 -0
  925. data/lib/ddex/v20110630/ddexc/user_interface_type.rb +31 -0
  926. data/lib/ddex/v20110630/ddexc/video_codec_type.rb +34 -0
  927. data/lib/ddex/v20110630/ddexc/video_cue_sheet_reference.rb +25 -0
  928. data/lib/ddex/v20110630/ddexc/video_cue_sheet_reference_list.rb +25 -0
  929. data/lib/ddex/v20110630/ddexc/video_details_by_territory.rb +27 -0
  930. data/lib/ddex/v20110630/ddexc/video_id.rb +34 -0
  931. data/lib/ddex/v20110630/ddexc/video_type.rb +31 -0
  932. data/lib/ddex/v20110630/ddexc/web_page.rb +33 -0
  933. data/lib/ddex/v20110630/ddexc/work_list.rb +29 -0
  934. data/lib/ddex/v20110630/ddexc/ws_message_status.rb +31 -0
  935. data/lib/ddex/v20120214/ddexc/additional_information.rb +28 -0
  936. data/lib/ddex/v20120214/ddexc/administrating_record_company.rb +37 -0
  937. data/lib/ddex/v20120214/ddexc/amount_by_use_and_distribution_channel_type.rb +33 -0
  938. data/lib/ddex/v20120214/ddexc/amount_per_collection.rb +27 -0
  939. data/lib/ddex/v20120214/ddexc/annotation.rb +28 -0
  940. data/lib/ddex/v20120214/ddexc/applied_royalty_rate.rb +37 -0
  941. data/lib/ddex/v20120214/ddexc/artist.rb +34 -0
  942. data/lib/ddex/v20120214/ddexc/artist_role.rb +31 -0
  943. data/lib/ddex/v20120214/ddexc/audio_codec_type.rb +34 -0
  944. data/lib/ddex/v20120214/ddexc/av_rating.rb +27 -0
  945. data/lib/ddex/v20120214/ddexc/bit_rate.rb +28 -0
  946. data/lib/ddex/v20120214/ddexc/c_line.rb +30 -0
  947. data/lib/ddex/v20120214/ddexc/calculation_type.rb +29 -0
  948. data/lib/ddex/v20120214/ddexc/carrier_type.rb +31 -0
  949. data/lib/ddex/v20120214/ddexc/catalog_number.rb +28 -0
  950. data/lib/ddex/v20120214/ddexc/cd_protection_type.rb +31 -0
  951. data/lib/ddex/v20120214/ddexc/character.rb +34 -0
  952. data/lib/ddex/v20120214/ddexc/collection.rb +48 -0
  953. data/lib/ddex/v20120214/ddexc/collection_collection_reference.rb +30 -0
  954. data/lib/ddex/v20120214/ddexc/collection_collection_reference_list.rb +27 -0
  955. data/lib/ddex/v20120214/ddexc/collection_details_by_territory.rb +31 -0
  956. data/lib/ddex/v20120214/ddexc/collection_id.rb +37 -0
  957. data/lib/ddex/v20120214/ddexc/collection_list.rb +29 -0
  958. data/lib/ddex/v20120214/ddexc/collection_resource_reference_list.rb +25 -0
  959. data/lib/ddex/v20120214/ddexc/collection_type.rb +31 -0
  960. data/lib/ddex/v20120214/ddexc/comment.rb +28 -0
  961. data/lib/ddex/v20120214/ddexc/commercial_model_type.rb +31 -0
  962. data/lib/ddex/v20120214/ddexc/consumer_rental_period.rb +28 -0
  963. data/lib/ddex/v20120214/ddexc/container_format.rb +31 -0
  964. data/lib/ddex/v20120214/ddexc/courtesy_line.rb +28 -0
  965. data/lib/ddex/v20120214/ddexc/creation_id.rb +38 -0
  966. data/lib/ddex/v20120214/ddexc/cue.rb +48 -0
  967. data/lib/ddex/v20120214/ddexc/cue_creation_reference.rb +26 -0
  968. data/lib/ddex/v20120214/ddexc/cue_origin.rb +31 -0
  969. data/lib/ddex/v20120214/ddexc/cue_sheet.rb +31 -0
  970. data/lib/ddex/v20120214/ddexc/cue_sheet_list.rb +26 -0
  971. data/lib/ddex/v20120214/ddexc/cue_sheet_type.rb +31 -0
  972. data/lib/ddex/v20120214/ddexc/cue_theme_type.rb +31 -0
  973. data/lib/ddex/v20120214/ddexc/cue_use_type.rb +31 -0
  974. data/lib/ddex/v20120214/ddexc/cue_visual_perception_type.rb +31 -0
  975. data/lib/ddex/v20120214/ddexc/cue_vocal_type.rb +31 -0
  976. data/lib/ddex/v20120214/ddexc/deal_reference.rb +28 -0
  977. data/lib/ddex/v20120214/ddexc/deduction_rate.rb +34 -0
  978. data/lib/ddex/v20120214/ddexc/description.rb +28 -0
  979. data/lib/ddex/v20120214/ddexc/distribution_channel_descriptor.rb +28 -0
  980. data/lib/ddex/v20120214/ddexc/distribution_channel_type.rb +31 -0
  981. data/lib/ddex/v20120214/ddexc/drm_platform_type.rb +34 -0
  982. data/lib/ddex/v20120214/ddexc/dsp.rb +35 -0
  983. data/lib/ddex/v20120214/ddexc/duration_by_use_type.rb +33 -0
  984. data/lib/ddex/v20120214/ddexc/ern_message_in_batch.rb +36 -0
  985. data/lib/ddex/v20120214/ddexc/event_date.rb +43 -0
  986. data/lib/ddex/v20120214/ddexc/event_date_time.rb +43 -0
  987. data/lib/ddex/v20120214/ddexc/extent.rb +28 -0
  988. data/lib/ddex/v20120214/ddexc/external_location_descriptor.rb +28 -0
  989. data/lib/ddex/v20120214/ddexc/external_resource_link.rb +31 -0
  990. data/lib/ddex/v20120214/ddexc/externally_linked_resource_type.rb +31 -0
  991. data/lib/ddex/v20120214/ddexc/file.rb +29 -0
  992. data/lib/ddex/v20120214/ddexc/fingerprint.rb +29 -0
  993. data/lib/ddex/v20120214/ddexc/fingerprint_algorithm_type.rb +31 -0
  994. data/lib/ddex/v20120214/ddexc/frame_rate.rb +28 -0
  995. data/lib/ddex/v20120214/ddexc/fulfillment_date.rb +26 -0
  996. data/lib/ddex/v20120214/ddexc/genre.rb +30 -0
  997. data/lib/ddex/v20120214/ddexc/governing_agreement_type.rb +31 -0
  998. data/lib/ddex/v20120214/ddexc/guaranteed_amount.rb +31 -0
  999. data/lib/ddex/v20120214/ddexc/hash_sum.rb +27 -0
  1000. data/lib/ddex/v20120214/ddexc/hash_sum_algorithm_type.rb +31 -0
  1001. data/lib/ddex/v20120214/ddexc/host_sound_carrier.rb +36 -0
  1002. data/lib/ddex/v20120214/ddexc/icpn.rb +28 -0
  1003. data/lib/ddex/v20120214/ddexc/image_codec_type.rb +34 -0
  1004. data/lib/ddex/v20120214/ddexc/image_details_by_territory.rb +41 -0
  1005. data/lib/ddex/v20120214/ddexc/image_id.rb +29 -0
  1006. data/lib/ddex/v20120214/ddexc/image_type.rb +31 -0
  1007. data/lib/ddex/v20120214/ddexc/indirect_resource_contributor.rb +34 -0
  1008. data/lib/ddex/v20120214/ddexc/keywords.rb +28 -0
  1009. data/lib/ddex/v20120214/ddexc/label_name.rb +31 -0
  1010. data/lib/ddex/v20120214/ddexc/license_or_claim_refusal_reason.rb +31 -0
  1011. data/lib/ddex/v20120214/ddexc/license_or_claim_request_update_reason.rb +31 -0
  1012. data/lib/ddex/v20120214/ddexc/license_or_claim_update_reason.rb +31 -0
  1013. data/lib/ddex/v20120214/ddexc/linked_release_resource_reference.rb +31 -0
  1014. data/lib/ddex/v20120214/ddexc/message_action_type.rb +31 -0
  1015. data/lib/ddex/v20120214/ddexc/message_audit_trail.rb +29 -0
  1016. data/lib/ddex/v20120214/ddexc/message_audit_trail_event.rb +27 -0
  1017. data/lib/ddex/v20120214/ddexc/message_header.rb +40 -0
  1018. data/lib/ddex/v20120214/ddexc/message_notification_period.rb +26 -0
  1019. data/lib/ddex/v20120214/ddexc/messaging_party.rb +33 -0
  1020. data/lib/ddex/v20120214/ddexc/midi_details_by_territory.rb +48 -0
  1021. data/lib/ddex/v20120214/ddexc/midi_id.rb +29 -0
  1022. data/lib/ddex/v20120214/ddexc/midi_type.rb +31 -0
  1023. data/lib/ddex/v20120214/ddexc/musical_work.rb +45 -0
  1024. data/lib/ddex/v20120214/ddexc/musical_work_contributor.rb +36 -0
  1025. data/lib/ddex/v20120214/ddexc/musical_work_contributor_role.rb +31 -0
  1026. data/lib/ddex/v20120214/ddexc/musical_work_details_by_territory.rb +31 -0
  1027. data/lib/ddex/v20120214/ddexc/musical_work_id.rb +32 -0
  1028. data/lib/ddex/v20120214/ddexc/musical_work_type.rb +31 -0
  1029. data/lib/ddex/v20120214/ddexc/name.rb +28 -0
  1030. data/lib/ddex/v20120214/ddexc/number_of_data_mismatch_items.rb +28 -0
  1031. data/lib/ddex/v20120214/ddexc/number_of_subscribers.rb +33 -0
  1032. data/lib/ddex/v20120214/ddexc/operating_system_type.rb +34 -0
  1033. data/lib/ddex/v20120214/ddexc/order_type.rb +31 -0
  1034. data/lib/ddex/v20120214/ddexc/p_line.rb +33 -0
  1035. data/lib/ddex/v20120214/ddexc/parental_warning_type.rb +31 -0
  1036. data/lib/ddex/v20120214/ddexc/party_descriptor.rb +28 -0
  1037. data/lib/ddex/v20120214/ddexc/party_id.rb +34 -0
  1038. data/lib/ddex/v20120214/ddexc/party_name.rb +35 -0
  1039. data/lib/ddex/v20120214/ddexc/period.rb +30 -0
  1040. data/lib/ddex/v20120214/ddexc/price.rb +28 -0
  1041. data/lib/ddex/v20120214/ddexc/price_consumer_paid_exc_sales_tax.rb +28 -0
  1042. data/lib/ddex/v20120214/ddexc/price_information.rb +34 -0
  1043. data/lib/ddex/v20120214/ddexc/price_range_type.rb +28 -0
  1044. data/lib/ddex/v20120214/ddexc/price_type.rb +28 -0
  1045. data/lib/ddex/v20120214/ddexc/product_type.rb +31 -0
  1046. data/lib/ddex/v20120214/ddexc/promotional_code.rb +28 -0
  1047. data/lib/ddex/v20120214/ddexc/proprietary_id.rb +28 -0
  1048. data/lib/ddex/v20120214/ddexc/purpose.rb +31 -0
  1049. data/lib/ddex/v20120214/ddexc/rating_agency.rb +31 -0
  1050. data/lib/ddex/v20120214/ddexc/reason.rb +28 -0
  1051. data/lib/ddex/v20120214/ddexc/reason_type.rb +31 -0
  1052. data/lib/ddex/v20120214/ddexc/record_company_market_share_data.rb +35 -0
  1053. data/lib/ddex/v20120214/ddexc/redelivery_reason_type.rb +31 -0
  1054. data/lib/ddex/v20120214/ddexc/reference_title.rb +31 -0
  1055. data/lib/ddex/v20120214/ddexc/related_license_or_claim_id.rb +28 -0
  1056. data/lib/ddex/v20120214/ddexc/related_license_or_claim_request_id.rb +28 -0
  1057. data/lib/ddex/v20120214/ddexc/related_release.rb +40 -0
  1058. data/lib/ddex/v20120214/ddexc/release_availability_status.rb +31 -0
  1059. data/lib/ddex/v20120214/ddexc/release_collection_reference.rb +28 -0
  1060. data/lib/ddex/v20120214/ddexc/release_collection_reference_list.rb +27 -0
  1061. data/lib/ddex/v20120214/ddexc/release_details_by_territory.rb +46 -0
  1062. data/lib/ddex/v20120214/ddexc/release_id.rb +35 -0
  1063. data/lib/ddex/v20120214/ddexc/release_relationship_type.rb +31 -0
  1064. data/lib/ddex/v20120214/ddexc/release_resource_reference.rb +28 -0
  1065. data/lib/ddex/v20120214/ddexc/release_resource_reference_list.rb +26 -0
  1066. data/lib/ddex/v20120214/ddexc/release_summary.rb +35 -0
  1067. data/lib/ddex/v20120214/ddexc/release_summary_details_by_territory.rb +35 -0
  1068. data/lib/ddex/v20120214/ddexc/release_type.rb +31 -0
  1069. data/lib/ddex/v20120214/ddexc/remittance_advice.rb +28 -0
  1070. data/lib/ddex/v20120214/ddexc/report_format.rb +31 -0
  1071. data/lib/ddex/v20120214/ddexc/report_type.rb +31 -0
  1072. data/lib/ddex/v20120214/ddexc/resource_contained_resource_reference.rb +29 -0
  1073. data/lib/ddex/v20120214/ddexc/resource_contained_resource_reference_list.rb +26 -0
  1074. data/lib/ddex/v20120214/ddexc/resource_contributor.rb +34 -0
  1075. data/lib/ddex/v20120214/ddexc/resource_contributor_role.rb +31 -0
  1076. data/lib/ddex/v20120214/ddexc/resource_group_resource_reference_list.rb +25 -0
  1077. data/lib/ddex/v20120214/ddexc/resource_id.rb +38 -0
  1078. data/lib/ddex/v20120214/ddexc/resource_musical_work_reference.rb +28 -0
  1079. data/lib/ddex/v20120214/ddexc/resource_musical_work_reference_list.rb +26 -0
  1080. data/lib/ddex/v20120214/ddexc/resource_omission_reason.rb +31 -0
  1081. data/lib/ddex/v20120214/ddexc/resource_type.rb +31 -0
  1082. data/lib/ddex/v20120214/ddexc/right_share.rb +57 -0
  1083. data/lib/ddex/v20120214/ddexc/right_share_creation_reference_list.rb +27 -0
  1084. data/lib/ddex/v20120214/ddexc/rights_agreement_id.rb +27 -0
  1085. data/lib/ddex/v20120214/ddexc/rights_controller.rb +35 -0
  1086. data/lib/ddex/v20120214/ddexc/rights_type.rb +34 -0
  1087. data/lib/ddex/v20120214/ddexc/royalty_amount.rb +28 -0
  1088. data/lib/ddex/v20120214/ddexc/royalty_code.rb +28 -0
  1089. data/lib/ddex/v20120214/ddexc/sales_reporting_proxy_release_id.rb +30 -0
  1090. data/lib/ddex/v20120214/ddexc/sampling_rate.rb +28 -0
  1091. data/lib/ddex/v20120214/ddexc/sheet_music_codec_type.rb +34 -0
  1092. data/lib/ddex/v20120214/ddexc/sheet_music_details_by_territory.rb +41 -0
  1093. data/lib/ddex/v20120214/ddexc/sheet_music_id.rb +30 -0
  1094. data/lib/ddex/v20120214/ddexc/sheet_music_type.rb +31 -0
  1095. data/lib/ddex/v20120214/ddexc/society_affiliation.rb +28 -0
  1096. data/lib/ddex/v20120214/ddexc/software_details_by_territory.rb +41 -0
  1097. data/lib/ddex/v20120214/ddexc/software_id.rb +29 -0
  1098. data/lib/ddex/v20120214/ddexc/software_type.rb +31 -0
  1099. data/lib/ddex/v20120214/ddexc/sound_processor_type.rb +34 -0
  1100. data/lib/ddex/v20120214/ddexc/sound_recording_collection_reference.rb +30 -0
  1101. data/lib/ddex/v20120214/ddexc/sound_recording_collection_reference_list.rb +27 -0
  1102. data/lib/ddex/v20120214/ddexc/sound_recording_details_by_territory.rb +48 -0
  1103. data/lib/ddex/v20120214/ddexc/sound_recording_id.rb +32 -0
  1104. data/lib/ddex/v20120214/ddexc/sound_recording_type.rb +31 -0
  1105. data/lib/ddex/v20120214/ddexc/store_location_descriptor.rb +28 -0
  1106. data/lib/ddex/v20120214/ddexc/sub_title.rb +28 -0
  1107. data/lib/ddex/v20120214/ddexc/supply_chain_status.rb +31 -0
  1108. data/lib/ddex/v20120214/ddexc/synopsis.rb +28 -0
  1109. data/lib/ddex/v20120214/ddexc/tariff_reference.rb +31 -0
  1110. data/lib/ddex/v20120214/ddexc/tax.rb +28 -0
  1111. data/lib/ddex/v20120214/ddexc/tax_rate.rb +29 -0
  1112. data/lib/ddex/v20120214/ddexc/tax_scope.rb +31 -0
  1113. data/lib/ddex/v20120214/ddexc/tax_type.rb +31 -0
  1114. data/lib/ddex/v20120214/ddexc/technical_instantiation.rb +29 -0
  1115. data/lib/ddex/v20120214/ddexc/text_codec_type.rb +34 -0
  1116. data/lib/ddex/v20120214/ddexc/text_details_by_territory.rb +39 -0
  1117. data/lib/ddex/v20120214/ddexc/text_id.rb +32 -0
  1118. data/lib/ddex/v20120214/ddexc/text_type.rb +31 -0
  1119. data/lib/ddex/v20120214/ddexc/title.rb +34 -0
  1120. data/lib/ddex/v20120214/ddexc/title_text.rb +28 -0
  1121. data/lib/ddex/v20120214/ddexc/total_royalty_amount.rb +30 -0
  1122. data/lib/ddex/v20120214/ddexc/typed_sub_title.rb +31 -0
  1123. data/lib/ddex/v20120214/ddexc/usage.rb +35 -0
  1124. data/lib/ddex/v20120214/ddexc/use_type.rb +31 -0
  1125. data/lib/ddex/v20120214/ddexc/user_defined_resource_details_by_territory.rb +41 -0
  1126. data/lib/ddex/v20120214/ddexc/user_defined_resource_id.rb +29 -0
  1127. data/lib/ddex/v20120214/ddexc/user_defined_resource_type.rb +28 -0
  1128. data/lib/ddex/v20120214/ddexc/user_defined_value.rb +34 -0
  1129. data/lib/ddex/v20120214/ddexc/user_interface_type.rb +31 -0
  1130. data/lib/ddex/v20120214/ddexc/video_codec_type.rb +34 -0
  1131. data/lib/ddex/v20120214/ddexc/video_cue_sheet_reference.rb +25 -0
  1132. data/lib/ddex/v20120214/ddexc/video_cue_sheet_reference_list.rb +25 -0
  1133. data/lib/ddex/v20120214/ddexc/video_details_by_territory.rb +50 -0
  1134. data/lib/ddex/v20120214/ddexc/video_id.rb +34 -0
  1135. data/lib/ddex/v20120214/ddexc/video_type.rb +31 -0
  1136. data/lib/ddex/v20120214/ddexc/web_page.rb +33 -0
  1137. data/lib/ddex/v20120214/ddexc/work_list.rb +29 -0
  1138. data/lib/ddex/v20120214/ddexc/ws_message_status.rb +31 -0
  1139. data/lib/ddex/v20120404/ddexc/additional_information.rb +28 -0
  1140. data/lib/ddex/v20120404/ddexc/administrating_record_company.rb +37 -0
  1141. data/lib/ddex/v20120404/ddexc/amount_by_use_and_distribution_channel_type.rb +33 -0
  1142. data/lib/ddex/v20120404/ddexc/amount_per_collection.rb +27 -0
  1143. data/lib/ddex/v20120404/ddexc/annotation.rb +28 -0
  1144. data/lib/ddex/v20120404/ddexc/applied_royalty_rate.rb +37 -0
  1145. data/lib/ddex/v20120404/ddexc/artist.rb +34 -0
  1146. data/lib/ddex/v20120404/ddexc/artist_role.rb +31 -0
  1147. data/lib/ddex/v20120404/ddexc/audio_codec_type.rb +34 -0
  1148. data/lib/ddex/v20120404/ddexc/av_rating.rb +27 -0
  1149. data/lib/ddex/v20120404/ddexc/bit_rate.rb +28 -0
  1150. data/lib/ddex/v20120404/ddexc/c_line.rb +30 -0
  1151. data/lib/ddex/v20120404/ddexc/calculation_type.rb +29 -0
  1152. data/lib/ddex/v20120404/ddexc/carrier_type.rb +31 -0
  1153. data/lib/ddex/v20120404/ddexc/catalog_number.rb +28 -0
  1154. data/lib/ddex/v20120404/ddexc/cd_protection_type.rb +31 -0
  1155. data/lib/ddex/v20120404/ddexc/character.rb +34 -0
  1156. data/lib/ddex/v20120404/ddexc/collection.rb +48 -0
  1157. data/lib/ddex/v20120404/ddexc/collection_collection_reference.rb +30 -0
  1158. data/lib/ddex/v20120404/ddexc/collection_collection_reference_list.rb +27 -0
  1159. data/lib/ddex/v20120404/ddexc/collection_details_by_territory.rb +31 -0
  1160. data/lib/ddex/v20120404/ddexc/collection_id.rb +37 -0
  1161. data/lib/ddex/v20120404/ddexc/collection_list.rb +29 -0
  1162. data/lib/ddex/v20120404/ddexc/collection_resource_reference_list.rb +25 -0
  1163. data/lib/ddex/v20120404/ddexc/collection_type.rb +31 -0
  1164. data/lib/ddex/v20120404/ddexc/comment.rb +28 -0
  1165. data/lib/ddex/v20120404/ddexc/commercial_model_type.rb +31 -0
  1166. data/lib/ddex/v20120404/ddexc/consumer_rental_period.rb +28 -0
  1167. data/lib/ddex/v20120404/ddexc/container_format.rb +31 -0
  1168. data/lib/ddex/v20120404/ddexc/courtesy_line.rb +28 -0
  1169. data/lib/ddex/v20120404/ddexc/creation_id.rb +38 -0
  1170. data/lib/ddex/v20120404/ddexc/cue.rb +48 -0
  1171. data/lib/ddex/v20120404/ddexc/cue_creation_reference.rb +26 -0
  1172. data/lib/ddex/v20120404/ddexc/cue_origin.rb +31 -0
  1173. data/lib/ddex/v20120404/ddexc/cue_sheet.rb +31 -0
  1174. data/lib/ddex/v20120404/ddexc/cue_sheet_list.rb +26 -0
  1175. data/lib/ddex/v20120404/ddexc/cue_sheet_type.rb +31 -0
  1176. data/lib/ddex/v20120404/ddexc/cue_theme_type.rb +31 -0
  1177. data/lib/ddex/v20120404/ddexc/cue_use_type.rb +31 -0
  1178. data/lib/ddex/v20120404/ddexc/cue_visual_perception_type.rb +31 -0
  1179. data/lib/ddex/v20120404/ddexc/cue_vocal_type.rb +31 -0
  1180. data/lib/ddex/v20120404/ddexc/deal_reference.rb +28 -0
  1181. data/lib/ddex/v20120404/ddexc/deduction_rate.rb +34 -0
  1182. data/lib/ddex/v20120404/ddexc/description.rb +28 -0
  1183. data/lib/ddex/v20120404/ddexc/distribution_channel_descriptor.rb +28 -0
  1184. data/lib/ddex/v20120404/ddexc/distribution_channel_type.rb +31 -0
  1185. data/lib/ddex/v20120404/ddexc/drm_platform_type.rb +34 -0
  1186. data/lib/ddex/v20120404/ddexc/dsp.rb +35 -0
  1187. data/lib/ddex/v20120404/ddexc/duration_by_use_type.rb +33 -0
  1188. data/lib/ddex/v20120404/ddexc/ern_message_in_batch.rb +36 -0
  1189. data/lib/ddex/v20120404/ddexc/event_date.rb +43 -0
  1190. data/lib/ddex/v20120404/ddexc/event_date_time.rb +43 -0
  1191. data/lib/ddex/v20120404/ddexc/extent.rb +28 -0
  1192. data/lib/ddex/v20120404/ddexc/external_location_descriptor.rb +28 -0
  1193. data/lib/ddex/v20120404/ddexc/external_resource_link.rb +31 -0
  1194. data/lib/ddex/v20120404/ddexc/externally_linked_resource_type.rb +31 -0
  1195. data/lib/ddex/v20120404/ddexc/file.rb +29 -0
  1196. data/lib/ddex/v20120404/ddexc/fingerprint.rb +29 -0
  1197. data/lib/ddex/v20120404/ddexc/fingerprint_algorithm_type.rb +31 -0
  1198. data/lib/ddex/v20120404/ddexc/frame_rate.rb +28 -0
  1199. data/lib/ddex/v20120404/ddexc/fulfillment_date.rb +26 -0
  1200. data/lib/ddex/v20120404/ddexc/genre.rb +30 -0
  1201. data/lib/ddex/v20120404/ddexc/governing_agreement_type.rb +31 -0
  1202. data/lib/ddex/v20120404/ddexc/guaranteed_amount.rb +31 -0
  1203. data/lib/ddex/v20120404/ddexc/hash_sum.rb +27 -0
  1204. data/lib/ddex/v20120404/ddexc/hash_sum_algorithm_type.rb +31 -0
  1205. data/lib/ddex/v20120404/ddexc/host_sound_carrier.rb +36 -0
  1206. data/lib/ddex/v20120404/ddexc/icpn.rb +28 -0
  1207. data/lib/ddex/v20120404/ddexc/image_codec_type.rb +34 -0
  1208. data/lib/ddex/v20120404/ddexc/image_details_by_territory.rb +41 -0
  1209. data/lib/ddex/v20120404/ddexc/image_id.rb +29 -0
  1210. data/lib/ddex/v20120404/ddexc/image_type.rb +31 -0
  1211. data/lib/ddex/v20120404/ddexc/indirect_resource_contributor.rb +34 -0
  1212. data/lib/ddex/v20120404/ddexc/keywords.rb +28 -0
  1213. data/lib/ddex/v20120404/ddexc/label_name.rb +31 -0
  1214. data/lib/ddex/v20120404/ddexc/license_or_claim_refusal_reason.rb +31 -0
  1215. data/lib/ddex/v20120404/ddexc/license_or_claim_request_update_reason.rb +31 -0
  1216. data/lib/ddex/v20120404/ddexc/license_or_claim_update_reason.rb +31 -0
  1217. data/lib/ddex/v20120404/ddexc/linked_release_resource_reference.rb +31 -0
  1218. data/lib/ddex/v20120404/ddexc/message_action_type.rb +31 -0
  1219. data/lib/ddex/v20120404/ddexc/message_audit_trail.rb +29 -0
  1220. data/lib/ddex/v20120404/ddexc/message_audit_trail_event.rb +27 -0
  1221. data/lib/ddex/v20120404/ddexc/message_header.rb +40 -0
  1222. data/lib/ddex/v20120404/ddexc/message_notification_period.rb +26 -0
  1223. data/lib/ddex/v20120404/ddexc/messaging_party.rb +33 -0
  1224. data/lib/ddex/v20120404/ddexc/midi_details_by_territory.rb +48 -0
  1225. data/lib/ddex/v20120404/ddexc/midi_id.rb +29 -0
  1226. data/lib/ddex/v20120404/ddexc/midi_type.rb +31 -0
  1227. data/lib/ddex/v20120404/ddexc/musical_work.rb +45 -0
  1228. data/lib/ddex/v20120404/ddexc/musical_work_contributor.rb +36 -0
  1229. data/lib/ddex/v20120404/ddexc/musical_work_contributor_role.rb +31 -0
  1230. data/lib/ddex/v20120404/ddexc/musical_work_details_by_territory.rb +31 -0
  1231. data/lib/ddex/v20120404/ddexc/musical_work_id.rb +32 -0
  1232. data/lib/ddex/v20120404/ddexc/musical_work_type.rb +31 -0
  1233. data/lib/ddex/v20120404/ddexc/name.rb +28 -0
  1234. data/lib/ddex/v20120404/ddexc/number_of_data_mismatch_items.rb +28 -0
  1235. data/lib/ddex/v20120404/ddexc/number_of_subscribers.rb +33 -0
  1236. data/lib/ddex/v20120404/ddexc/operating_system_type.rb +34 -0
  1237. data/lib/ddex/v20120404/ddexc/order_type.rb +31 -0
  1238. data/lib/ddex/v20120404/ddexc/p_line.rb +33 -0
  1239. data/lib/ddex/v20120404/ddexc/parental_warning_type.rb +31 -0
  1240. data/lib/ddex/v20120404/ddexc/party_descriptor.rb +28 -0
  1241. data/lib/ddex/v20120404/ddexc/party_id.rb +34 -0
  1242. data/lib/ddex/v20120404/ddexc/party_name.rb +35 -0
  1243. data/lib/ddex/v20120404/ddexc/period.rb +30 -0
  1244. data/lib/ddex/v20120404/ddexc/price.rb +28 -0
  1245. data/lib/ddex/v20120404/ddexc/price_consumer_paid_exc_sales_tax.rb +28 -0
  1246. data/lib/ddex/v20120404/ddexc/price_information.rb +34 -0
  1247. data/lib/ddex/v20120404/ddexc/price_range_type.rb +28 -0
  1248. data/lib/ddex/v20120404/ddexc/price_type.rb +28 -0
  1249. data/lib/ddex/v20120404/ddexc/product_type.rb +31 -0
  1250. data/lib/ddex/v20120404/ddexc/promotional_code.rb +28 -0
  1251. data/lib/ddex/v20120404/ddexc/proprietary_id.rb +28 -0
  1252. data/lib/ddex/v20120404/ddexc/purpose.rb +31 -0
  1253. data/lib/ddex/v20120404/ddexc/rating_agency.rb +31 -0
  1254. data/lib/ddex/v20120404/ddexc/reason.rb +28 -0
  1255. data/lib/ddex/v20120404/ddexc/reason_type.rb +31 -0
  1256. data/lib/ddex/v20120404/ddexc/record_company_market_share_data.rb +35 -0
  1257. data/lib/ddex/v20120404/ddexc/redelivery_reason_type.rb +31 -0
  1258. data/lib/ddex/v20120404/ddexc/reference_title.rb +31 -0
  1259. data/lib/ddex/v20120404/ddexc/related_license_or_claim_id.rb +28 -0
  1260. data/lib/ddex/v20120404/ddexc/related_license_or_claim_request_id.rb +28 -0
  1261. data/lib/ddex/v20120404/ddexc/related_release.rb +40 -0
  1262. data/lib/ddex/v20120404/ddexc/release_availability_status.rb +31 -0
  1263. data/lib/ddex/v20120404/ddexc/release_collection_reference.rb +28 -0
  1264. data/lib/ddex/v20120404/ddexc/release_collection_reference_list.rb +27 -0
  1265. data/lib/ddex/v20120404/ddexc/release_details_by_territory.rb +46 -0
  1266. data/lib/ddex/v20120404/ddexc/release_id.rb +35 -0
  1267. data/lib/ddex/v20120404/ddexc/release_relationship_type.rb +31 -0
  1268. data/lib/ddex/v20120404/ddexc/release_resource_reference.rb +28 -0
  1269. data/lib/ddex/v20120404/ddexc/release_resource_reference_list.rb +26 -0
  1270. data/lib/ddex/v20120404/ddexc/release_summary.rb +35 -0
  1271. data/lib/ddex/v20120404/ddexc/release_summary_details_by_territory.rb +35 -0
  1272. data/lib/ddex/v20120404/ddexc/release_type.rb +31 -0
  1273. data/lib/ddex/v20120404/ddexc/remittance_advice.rb +28 -0
  1274. data/lib/ddex/v20120404/ddexc/report_format.rb +31 -0
  1275. data/lib/ddex/v20120404/ddexc/report_type.rb +31 -0
  1276. data/lib/ddex/v20120404/ddexc/resource_contained_resource_reference.rb +29 -0
  1277. data/lib/ddex/v20120404/ddexc/resource_contained_resource_reference_list.rb +26 -0
  1278. data/lib/ddex/v20120404/ddexc/resource_contributor.rb +34 -0
  1279. data/lib/ddex/v20120404/ddexc/resource_contributor_role.rb +31 -0
  1280. data/lib/ddex/v20120404/ddexc/resource_group_resource_reference_list.rb +25 -0
  1281. data/lib/ddex/v20120404/ddexc/resource_id.rb +38 -0
  1282. data/lib/ddex/v20120404/ddexc/resource_musical_work_reference.rb +28 -0
  1283. data/lib/ddex/v20120404/ddexc/resource_musical_work_reference_list.rb +26 -0
  1284. data/lib/ddex/v20120404/ddexc/resource_omission_reason.rb +31 -0
  1285. data/lib/ddex/v20120404/ddexc/resource_type.rb +31 -0
  1286. data/lib/ddex/v20120404/ddexc/right_share.rb +57 -0
  1287. data/lib/ddex/v20120404/ddexc/right_share_creation_reference_list.rb +27 -0
  1288. data/lib/ddex/v20120404/ddexc/rights_agreement_id.rb +27 -0
  1289. data/lib/ddex/v20120404/ddexc/rights_controller.rb +35 -0
  1290. data/lib/ddex/v20120404/ddexc/rights_type.rb +34 -0
  1291. data/lib/ddex/v20120404/ddexc/royalty_amount.rb +28 -0
  1292. data/lib/ddex/v20120404/ddexc/royalty_code.rb +28 -0
  1293. data/lib/ddex/v20120404/ddexc/sales_reporting_proxy_release_id.rb +30 -0
  1294. data/lib/ddex/v20120404/ddexc/sampling_rate.rb +28 -0
  1295. data/lib/ddex/v20120404/ddexc/sheet_music_codec_type.rb +34 -0
  1296. data/lib/ddex/v20120404/ddexc/sheet_music_details_by_territory.rb +41 -0
  1297. data/lib/ddex/v20120404/ddexc/sheet_music_id.rb +30 -0
  1298. data/lib/ddex/v20120404/ddexc/sheet_music_type.rb +31 -0
  1299. data/lib/ddex/v20120404/ddexc/society_affiliation.rb +28 -0
  1300. data/lib/ddex/v20120404/ddexc/software_details_by_territory.rb +41 -0
  1301. data/lib/ddex/v20120404/ddexc/software_id.rb +29 -0
  1302. data/lib/ddex/v20120404/ddexc/software_type.rb +31 -0
  1303. data/lib/ddex/v20120404/ddexc/sound_processor_type.rb +34 -0
  1304. data/lib/ddex/v20120404/ddexc/sound_recording_collection_reference.rb +30 -0
  1305. data/lib/ddex/v20120404/ddexc/sound_recording_collection_reference_list.rb +27 -0
  1306. data/lib/ddex/v20120404/ddexc/sound_recording_details_by_territory.rb +48 -0
  1307. data/lib/ddex/v20120404/ddexc/sound_recording_id.rb +32 -0
  1308. data/lib/ddex/v20120404/ddexc/sound_recording_type.rb +31 -0
  1309. data/lib/ddex/v20120404/ddexc/store_location_descriptor.rb +28 -0
  1310. data/lib/ddex/v20120404/ddexc/sub_title.rb +28 -0
  1311. data/lib/ddex/v20120404/ddexc/supply_chain_status.rb +31 -0
  1312. data/lib/ddex/v20120404/ddexc/synopsis.rb +28 -0
  1313. data/lib/ddex/v20120404/ddexc/tariff_reference.rb +31 -0
  1314. data/lib/ddex/v20120404/ddexc/tax.rb +28 -0
  1315. data/lib/ddex/v20120404/ddexc/tax_rate.rb +29 -0
  1316. data/lib/ddex/v20120404/ddexc/tax_scope.rb +31 -0
  1317. data/lib/ddex/v20120404/ddexc/tax_type.rb +31 -0
  1318. data/lib/ddex/v20120404/ddexc/technical_instantiation.rb +29 -0
  1319. data/lib/ddex/v20120404/ddexc/text_codec_type.rb +34 -0
  1320. data/lib/ddex/v20120404/ddexc/text_details_by_territory.rb +39 -0
  1321. data/lib/ddex/v20120404/ddexc/text_id.rb +32 -0
  1322. data/lib/ddex/v20120404/ddexc/text_type.rb +31 -0
  1323. data/lib/ddex/v20120404/ddexc/title.rb +34 -0
  1324. data/lib/ddex/v20120404/ddexc/title_text.rb +28 -0
  1325. data/lib/ddex/v20120404/ddexc/total_royalty_amount.rb +30 -0
  1326. data/lib/ddex/v20120404/ddexc/typed_sub_title.rb +31 -0
  1327. data/lib/ddex/v20120404/ddexc/usage.rb +35 -0
  1328. data/lib/ddex/v20120404/ddexc/use_type.rb +31 -0
  1329. data/lib/ddex/v20120404/ddexc/user_defined_resource_details_by_territory.rb +41 -0
  1330. data/lib/ddex/v20120404/ddexc/user_defined_resource_id.rb +29 -0
  1331. data/lib/ddex/v20120404/ddexc/user_defined_resource_type.rb +28 -0
  1332. data/lib/ddex/v20120404/ddexc/user_defined_value.rb +34 -0
  1333. data/lib/ddex/v20120404/ddexc/user_interface_type.rb +31 -0
  1334. data/lib/ddex/v20120404/ddexc/video_codec_type.rb +34 -0
  1335. data/lib/ddex/v20120404/ddexc/video_cue_sheet_reference.rb +25 -0
  1336. data/lib/ddex/v20120404/ddexc/video_cue_sheet_reference_list.rb +25 -0
  1337. data/lib/ddex/v20120404/ddexc/video_details_by_territory.rb +50 -0
  1338. data/lib/ddex/v20120404/ddexc/video_id.rb +34 -0
  1339. data/lib/ddex/v20120404/ddexc/video_type.rb +31 -0
  1340. data/lib/ddex/v20120404/ddexc/web_page.rb +33 -0
  1341. data/lib/ddex/v20120404/ddexc/work_list.rb +29 -0
  1342. data/lib/ddex/v20120404/ddexc/ws_message_status.rb +31 -0
  1343. data/lib/ddex/v20120719/ddexc/additional_information.rb +28 -0
  1344. data/lib/ddex/v20120719/ddexc/administrating_record_company.rb +37 -0
  1345. data/lib/ddex/v20120719/ddexc/amount_by_use_and_distribution_channel_type.rb +33 -0
  1346. data/lib/ddex/v20120719/ddexc/amount_per_collection.rb +27 -0
  1347. data/lib/ddex/v20120719/ddexc/annotation.rb +28 -0
  1348. data/lib/ddex/v20120719/ddexc/applied_royalty_rate.rb +37 -0
  1349. data/lib/ddex/v20120719/ddexc/artist.rb +34 -0
  1350. data/lib/ddex/v20120719/ddexc/artist_delegated_usage_rights.rb +32 -0
  1351. data/lib/ddex/v20120719/ddexc/artist_role.rb +31 -0
  1352. data/lib/ddex/v20120719/ddexc/audio_codec_type.rb +34 -0
  1353. data/lib/ddex/v20120719/ddexc/av_rating.rb +27 -0
  1354. data/lib/ddex/v20120719/ddexc/bit_rate.rb +28 -0
  1355. data/lib/ddex/v20120719/ddexc/c_line.rb +30 -0
  1356. data/lib/ddex/v20120719/ddexc/calculation_type.rb +29 -0
  1357. data/lib/ddex/v20120719/ddexc/carrier_type.rb +31 -0
  1358. data/lib/ddex/v20120719/ddexc/catalog_number.rb +28 -0
  1359. data/lib/ddex/v20120719/ddexc/cd_protection_type.rb +31 -0
  1360. data/lib/ddex/v20120719/ddexc/collection.rb +48 -0
  1361. data/lib/ddex/v20120719/ddexc/collection_collection_reference.rb +30 -0
  1362. data/lib/ddex/v20120719/ddexc/collection_collection_reference_list.rb +27 -0
  1363. data/lib/ddex/v20120719/ddexc/collection_details_by_territory.rb +31 -0
  1364. data/lib/ddex/v20120719/ddexc/collection_id.rb +37 -0
  1365. data/lib/ddex/v20120719/ddexc/collection_list.rb +29 -0
  1366. data/lib/ddex/v20120719/ddexc/collection_resource_reference_list.rb +25 -0
  1367. data/lib/ddex/v20120719/ddexc/collection_type.rb +31 -0
  1368. data/lib/ddex/v20120719/ddexc/comment.rb +28 -0
  1369. data/lib/ddex/v20120719/ddexc/commercial_model_type.rb +31 -0
  1370. data/lib/ddex/v20120719/ddexc/consumer_rental_period.rb +28 -0
  1371. data/lib/ddex/v20120719/ddexc/contact_id.rb +27 -0
  1372. data/lib/ddex/v20120719/ddexc/container_format.rb +31 -0
  1373. data/lib/ddex/v20120719/ddexc/conversion_rate.rb +28 -0
  1374. data/lib/ddex/v20120719/ddexc/courtesy_line.rb +28 -0
  1375. data/lib/ddex/v20120719/ddexc/creation_id.rb +38 -0
  1376. data/lib/ddex/v20120719/ddexc/cue.rb +48 -0
  1377. data/lib/ddex/v20120719/ddexc/cue_creation_reference.rb +26 -0
  1378. data/lib/ddex/v20120719/ddexc/cue_origin.rb +31 -0
  1379. data/lib/ddex/v20120719/ddexc/cue_sheet.rb +31 -0
  1380. data/lib/ddex/v20120719/ddexc/cue_sheet_list.rb +26 -0
  1381. data/lib/ddex/v20120719/ddexc/cue_sheet_type.rb +31 -0
  1382. data/lib/ddex/v20120719/ddexc/cue_theme_type.rb +31 -0
  1383. data/lib/ddex/v20120719/ddexc/cue_use_type.rb +31 -0
  1384. data/lib/ddex/v20120719/ddexc/cue_visual_perception_type.rb +31 -0
  1385. data/lib/ddex/v20120719/ddexc/cue_vocal_type.rb +31 -0
  1386. data/lib/ddex/v20120719/ddexc/deal_reference.rb +28 -0
  1387. data/lib/ddex/v20120719/ddexc/deduction_rate.rb +34 -0
  1388. data/lib/ddex/v20120719/ddexc/delegated_usage_rights.rb +31 -0
  1389. data/lib/ddex/v20120719/ddexc/description.rb +28 -0
  1390. data/lib/ddex/v20120719/ddexc/distribution_channel_descriptor.rb +28 -0
  1391. data/lib/ddex/v20120719/ddexc/distribution_channel_type.rb +31 -0
  1392. data/lib/ddex/v20120719/ddexc/drm_platform_type.rb +34 -0
  1393. data/lib/ddex/v20120719/ddexc/dsp.rb +35 -0
  1394. data/lib/ddex/v20120719/ddexc/duration_by_use_type.rb +33 -0
  1395. data/lib/ddex/v20120719/ddexc/ern_message_in_batch.rb +36 -0
  1396. data/lib/ddex/v20120719/ddexc/event_date.rb +43 -0
  1397. data/lib/ddex/v20120719/ddexc/event_date_time.rb +43 -0
  1398. data/lib/ddex/v20120719/ddexc/extent.rb +28 -0
  1399. data/lib/ddex/v20120719/ddexc/external_location_descriptor.rb +28 -0
  1400. data/lib/ddex/v20120719/ddexc/external_resource_link.rb +31 -0
  1401. data/lib/ddex/v20120719/ddexc/externally_linked_resource_type.rb +31 -0
  1402. data/lib/ddex/v20120719/ddexc/file.rb +29 -0
  1403. data/lib/ddex/v20120719/ddexc/fingerprint.rb +29 -0
  1404. data/lib/ddex/v20120719/ddexc/fingerprint_algorithm_type.rb +31 -0
  1405. data/lib/ddex/v20120719/ddexc/frame_rate.rb +28 -0
  1406. data/lib/ddex/v20120719/ddexc/fulfillment_date.rb +26 -0
  1407. data/lib/ddex/v20120719/ddexc/genre.rb +30 -0
  1408. data/lib/ddex/v20120719/ddexc/governing_agreement_type.rb +31 -0
  1409. data/lib/ddex/v20120719/ddexc/guaranteed_amount.rb +31 -0
  1410. data/lib/ddex/v20120719/ddexc/hash_sum.rb +27 -0
  1411. data/lib/ddex/v20120719/ddexc/hash_sum_algorithm_type.rb +31 -0
  1412. data/lib/ddex/v20120719/ddexc/host_sound_carrier.rb +36 -0
  1413. data/lib/ddex/v20120719/ddexc/icpn.rb +28 -0
  1414. data/lib/ddex/v20120719/ddexc/image_codec_type.rb +34 -0
  1415. data/lib/ddex/v20120719/ddexc/image_details_by_territory.rb +41 -0
  1416. data/lib/ddex/v20120719/ddexc/image_id.rb +29 -0
  1417. data/lib/ddex/v20120719/ddexc/image_type.rb +31 -0
  1418. data/lib/ddex/v20120719/ddexc/indirect_resource_contributor.rb +34 -0
  1419. data/lib/ddex/v20120719/ddexc/keywords.rb +28 -0
  1420. data/lib/ddex/v20120719/ddexc/label_name.rb +31 -0
  1421. data/lib/ddex/v20120719/ddexc/license_or_claim_refusal_reason.rb +31 -0
  1422. data/lib/ddex/v20120719/ddexc/license_or_claim_request_update_reason.rb +31 -0
  1423. data/lib/ddex/v20120719/ddexc/license_or_claim_update_reason.rb +31 -0
  1424. data/lib/ddex/v20120719/ddexc/license_rejection_reason.rb +31 -0
  1425. data/lib/ddex/v20120719/ddexc/linked_release_resource_reference.rb +31 -0
  1426. data/lib/ddex/v20120719/ddexc/membership.rb +29 -0
  1427. data/lib/ddex/v20120719/ddexc/message_action_type.rb +31 -0
  1428. data/lib/ddex/v20120719/ddexc/message_audit_trail.rb +29 -0
  1429. data/lib/ddex/v20120719/ddexc/message_audit_trail_event.rb +27 -0
  1430. data/lib/ddex/v20120719/ddexc/message_header.rb +40 -0
  1431. data/lib/ddex/v20120719/ddexc/message_notification_period.rb +26 -0
  1432. data/lib/ddex/v20120719/ddexc/messaging_party.rb +33 -0
  1433. data/lib/ddex/v20120719/ddexc/midi_details_by_territory.rb +48 -0
  1434. data/lib/ddex/v20120719/ddexc/midi_id.rb +29 -0
  1435. data/lib/ddex/v20120719/ddexc/midi_type.rb +31 -0
  1436. data/lib/ddex/v20120719/ddexc/musical_work.rb +45 -0
  1437. data/lib/ddex/v20120719/ddexc/musical_work_contributor.rb +36 -0
  1438. data/lib/ddex/v20120719/ddexc/musical_work_contributor_role.rb +31 -0
  1439. data/lib/ddex/v20120719/ddexc/musical_work_details_by_territory.rb +31 -0
  1440. data/lib/ddex/v20120719/ddexc/musical_work_id.rb +32 -0
  1441. data/lib/ddex/v20120719/ddexc/musical_work_type.rb +31 -0
  1442. data/lib/ddex/v20120719/ddexc/name.rb +28 -0
  1443. data/lib/ddex/v20120719/ddexc/number_of_data_mismatch_items.rb +28 -0
  1444. data/lib/ddex/v20120719/ddexc/number_of_subscribers.rb +33 -0
  1445. data/lib/ddex/v20120719/ddexc/operating_system_type.rb +34 -0
  1446. data/lib/ddex/v20120719/ddexc/order_type.rb +31 -0
  1447. data/lib/ddex/v20120719/ddexc/p_line.rb +33 -0
  1448. data/lib/ddex/v20120719/ddexc/parental_warning_type.rb +31 -0
  1449. data/lib/ddex/v20120719/ddexc/party_descriptor.rb +28 -0
  1450. data/lib/ddex/v20120719/ddexc/party_id.rb +34 -0
  1451. data/lib/ddex/v20120719/ddexc/party_name.rb +35 -0
  1452. data/lib/ddex/v20120719/ddexc/period.rb +30 -0
  1453. data/lib/ddex/v20120719/ddexc/price.rb +28 -0
  1454. data/lib/ddex/v20120719/ddexc/price_consumer_paid_exc_sales_tax.rb +28 -0
  1455. data/lib/ddex/v20120719/ddexc/price_information.rb +34 -0
  1456. data/lib/ddex/v20120719/ddexc/price_range_type.rb +28 -0
  1457. data/lib/ddex/v20120719/ddexc/price_type.rb +28 -0
  1458. data/lib/ddex/v20120719/ddexc/product_type.rb +31 -0
  1459. data/lib/ddex/v20120719/ddexc/promotional_code.rb +28 -0
  1460. data/lib/ddex/v20120719/ddexc/proprietary_id.rb +28 -0
  1461. data/lib/ddex/v20120719/ddexc/purpose.rb +31 -0
  1462. data/lib/ddex/v20120719/ddexc/rating_agency.rb +31 -0
  1463. data/lib/ddex/v20120719/ddexc/reason.rb +28 -0
  1464. data/lib/ddex/v20120719/ddexc/reason_type.rb +31 -0
  1465. data/lib/ddex/v20120719/ddexc/record_company_market_share_data.rb +35 -0
  1466. data/lib/ddex/v20120719/ddexc/redelivery_reason_type.rb +31 -0
  1467. data/lib/ddex/v20120719/ddexc/reference_title.rb +31 -0
  1468. data/lib/ddex/v20120719/ddexc/related_license_or_claim_id.rb +28 -0
  1469. data/lib/ddex/v20120719/ddexc/related_license_or_claim_request_id.rb +28 -0
  1470. data/lib/ddex/v20120719/ddexc/related_release.rb +40 -0
  1471. data/lib/ddex/v20120719/ddexc/release_availability_status.rb +31 -0
  1472. data/lib/ddex/v20120719/ddexc/release_collection_reference.rb +28 -0
  1473. data/lib/ddex/v20120719/ddexc/release_collection_reference_list.rb +27 -0
  1474. data/lib/ddex/v20120719/ddexc/release_details_by_territory.rb +46 -0
  1475. data/lib/ddex/v20120719/ddexc/release_id.rb +35 -0
  1476. data/lib/ddex/v20120719/ddexc/release_relationship_type.rb +31 -0
  1477. data/lib/ddex/v20120719/ddexc/release_resource_reference.rb +28 -0
  1478. data/lib/ddex/v20120719/ddexc/release_resource_reference_list.rb +26 -0
  1479. data/lib/ddex/v20120719/ddexc/release_summary.rb +35 -0
  1480. data/lib/ddex/v20120719/ddexc/release_summary_details_by_territory.rb +35 -0
  1481. data/lib/ddex/v20120719/ddexc/release_type.rb +31 -0
  1482. data/lib/ddex/v20120719/ddexc/remittance_advice.rb +28 -0
  1483. data/lib/ddex/v20120719/ddexc/report_format.rb +31 -0
  1484. data/lib/ddex/v20120719/ddexc/report_type.rb +31 -0
  1485. data/lib/ddex/v20120719/ddexc/resource_contained_resource_reference.rb +29 -0
  1486. data/lib/ddex/v20120719/ddexc/resource_contained_resource_reference_list.rb +26 -0
  1487. data/lib/ddex/v20120719/ddexc/resource_contributor.rb +34 -0
  1488. data/lib/ddex/v20120719/ddexc/resource_contributor_role.rb +31 -0
  1489. data/lib/ddex/v20120719/ddexc/resource_group.rb +47 -0
  1490. data/lib/ddex/v20120719/ddexc/resource_group_content_item.rb +38 -0
  1491. data/lib/ddex/v20120719/ddexc/resource_group_resource_reference_list.rb +25 -0
  1492. data/lib/ddex/v20120719/ddexc/resource_id.rb +38 -0
  1493. data/lib/ddex/v20120719/ddexc/resource_musical_work_reference.rb +28 -0
  1494. data/lib/ddex/v20120719/ddexc/resource_musical_work_reference_list.rb +26 -0
  1495. data/lib/ddex/v20120719/ddexc/resource_omission_reason.rb +31 -0
  1496. data/lib/ddex/v20120719/ddexc/resource_type.rb +31 -0
  1497. data/lib/ddex/v20120719/ddexc/right_share.rb +57 -0
  1498. data/lib/ddex/v20120719/ddexc/right_share_creation_reference_list.rb +27 -0
  1499. data/lib/ddex/v20120719/ddexc/rights_agreement_id.rb +27 -0
  1500. data/lib/ddex/v20120719/ddexc/rights_controller.rb +35 -0
  1501. data/lib/ddex/v20120719/ddexc/rights_type.rb +34 -0
  1502. data/lib/ddex/v20120719/ddexc/royalty_amount.rb +28 -0
  1503. data/lib/ddex/v20120719/ddexc/royalty_code.rb +28 -0
  1504. data/lib/ddex/v20120719/ddexc/sales_reporting_proxy_release_id.rb +30 -0
  1505. data/lib/ddex/v20120719/ddexc/sampling_rate.rb +28 -0
  1506. data/lib/ddex/v20120719/ddexc/sheet_music_codec_type.rb +34 -0
  1507. data/lib/ddex/v20120719/ddexc/sheet_music_details_by_territory.rb +41 -0
  1508. data/lib/ddex/v20120719/ddexc/sheet_music_id.rb +30 -0
  1509. data/lib/ddex/v20120719/ddexc/sheet_music_type.rb +31 -0
  1510. data/lib/ddex/v20120719/ddexc/society_affiliation.rb +28 -0
  1511. data/lib/ddex/v20120719/ddexc/software_details_by_territory.rb +41 -0
  1512. data/lib/ddex/v20120719/ddexc/software_id.rb +29 -0
  1513. data/lib/ddex/v20120719/ddexc/software_type.rb +31 -0
  1514. data/lib/ddex/v20120719/ddexc/sound_processor_type.rb +34 -0
  1515. data/lib/ddex/v20120719/ddexc/sound_recording_collection_reference.rb +30 -0
  1516. data/lib/ddex/v20120719/ddexc/sound_recording_collection_reference_list.rb +27 -0
  1517. data/lib/ddex/v20120719/ddexc/sound_recording_details_by_territory.rb +48 -0
  1518. data/lib/ddex/v20120719/ddexc/sound_recording_id.rb +32 -0
  1519. data/lib/ddex/v20120719/ddexc/sound_recording_type.rb +31 -0
  1520. data/lib/ddex/v20120719/ddexc/store_location_descriptor.rb +28 -0
  1521. data/lib/ddex/v20120719/ddexc/sub_title.rb +28 -0
  1522. data/lib/ddex/v20120719/ddexc/supply_chain_status.rb +31 -0
  1523. data/lib/ddex/v20120719/ddexc/synopsis.rb +28 -0
  1524. data/lib/ddex/v20120719/ddexc/tariff_reference.rb +31 -0
  1525. data/lib/ddex/v20120719/ddexc/tax.rb +28 -0
  1526. data/lib/ddex/v20120719/ddexc/tax_rate.rb +29 -0
  1527. data/lib/ddex/v20120719/ddexc/tax_scope.rb +31 -0
  1528. data/lib/ddex/v20120719/ddexc/tax_type.rb +31 -0
  1529. data/lib/ddex/v20120719/ddexc/technical_instantiation.rb +29 -0
  1530. data/lib/ddex/v20120719/ddexc/text_codec_type.rb +34 -0
  1531. data/lib/ddex/v20120719/ddexc/text_details_by_territory.rb +39 -0
  1532. data/lib/ddex/v20120719/ddexc/text_id.rb +32 -0
  1533. data/lib/ddex/v20120719/ddexc/text_type.rb +31 -0
  1534. data/lib/ddex/v20120719/ddexc/title.rb +34 -0
  1535. data/lib/ddex/v20120719/ddexc/title_text.rb +28 -0
  1536. data/lib/ddex/v20120719/ddexc/total_royalty_amount.rb +30 -0
  1537. data/lib/ddex/v20120719/ddexc/typed_sub_title.rb +31 -0
  1538. data/lib/ddex/v20120719/ddexc/usage.rb +35 -0
  1539. data/lib/ddex/v20120719/ddexc/use_type.rb +31 -0
  1540. data/lib/ddex/v20120719/ddexc/user_defined_resource_details_by_territory.rb +41 -0
  1541. data/lib/ddex/v20120719/ddexc/user_defined_resource_id.rb +29 -0
  1542. data/lib/ddex/v20120719/ddexc/user_defined_resource_type.rb +28 -0
  1543. data/lib/ddex/v20120719/ddexc/user_defined_value.rb +34 -0
  1544. data/lib/ddex/v20120719/ddexc/user_interface_type.rb +31 -0
  1545. data/lib/ddex/v20120719/ddexc/video_codec_type.rb +34 -0
  1546. data/lib/ddex/v20120719/ddexc/video_cue_sheet_reference.rb +25 -0
  1547. data/lib/ddex/v20120719/ddexc/video_cue_sheet_reference_list.rb +25 -0
  1548. data/lib/ddex/v20120719/ddexc/video_details_by_territory.rb +50 -0
  1549. data/lib/ddex/v20120719/ddexc/video_id.rb +34 -0
  1550. data/lib/ddex/v20120719/ddexc/video_type.rb +31 -0
  1551. data/lib/ddex/v20120719/ddexc/web_page.rb +33 -0
  1552. data/lib/ddex/v20120719/ddexc/work_list.rb +29 -0
  1553. data/lib/ddex/v20120719/ddexc/ws_message_status.rb +31 -0
  1554. data/lib/ddex/v20121219/ddexc/additional_information.rb +28 -0
  1555. data/lib/ddex/v20121219/ddexc/administrating_record_company.rb +37 -0
  1556. data/lib/ddex/v20121219/ddexc/amount_by_use_and_distribution_channel_type.rb +33 -0
  1557. data/lib/ddex/v20121219/ddexc/amount_per_collection.rb +27 -0
  1558. data/lib/ddex/v20121219/ddexc/annotation.rb +28 -0
  1559. data/lib/ddex/v20121219/ddexc/applied_royalty_rate.rb +37 -0
  1560. data/lib/ddex/v20121219/ddexc/artist.rb +34 -0
  1561. data/lib/ddex/v20121219/ddexc/artist_delegated_usage_rights.rb +32 -0
  1562. data/lib/ddex/v20121219/ddexc/artist_role.rb +31 -0
  1563. data/lib/ddex/v20121219/ddexc/audio_codec_type.rb +34 -0
  1564. data/lib/ddex/v20121219/ddexc/av_rating.rb +27 -0
  1565. data/lib/ddex/v20121219/ddexc/bit_rate.rb +28 -0
  1566. data/lib/ddex/v20121219/ddexc/c_line.rb +30 -0
  1567. data/lib/ddex/v20121219/ddexc/calculation_type.rb +29 -0
  1568. data/lib/ddex/v20121219/ddexc/carrier_type.rb +31 -0
  1569. data/lib/ddex/v20121219/ddexc/catalog_number.rb +28 -0
  1570. data/lib/ddex/v20121219/ddexc/cd_protection_type.rb +31 -0
  1571. data/lib/ddex/v20121219/ddexc/collection.rb +48 -0
  1572. data/lib/ddex/v20121219/ddexc/collection_collection_reference.rb +30 -0
  1573. data/lib/ddex/v20121219/ddexc/collection_collection_reference_list.rb +27 -0
  1574. data/lib/ddex/v20121219/ddexc/collection_details_by_territory.rb +31 -0
  1575. data/lib/ddex/v20121219/ddexc/collection_id.rb +37 -0
  1576. data/lib/ddex/v20121219/ddexc/collection_list.rb +29 -0
  1577. data/lib/ddex/v20121219/ddexc/collection_resource_reference_list.rb +25 -0
  1578. data/lib/ddex/v20121219/ddexc/collection_type.rb +31 -0
  1579. data/lib/ddex/v20121219/ddexc/comment.rb +28 -0
  1580. data/lib/ddex/v20121219/ddexc/commercial_model_type.rb +31 -0
  1581. data/lib/ddex/v20121219/ddexc/consumer_rental_period.rb +28 -0
  1582. data/lib/ddex/v20121219/ddexc/contact_id.rb +27 -0
  1583. data/lib/ddex/v20121219/ddexc/container_format.rb +31 -0
  1584. data/lib/ddex/v20121219/ddexc/conversion_rate.rb +28 -0
  1585. data/lib/ddex/v20121219/ddexc/courtesy_line.rb +28 -0
  1586. data/lib/ddex/v20121219/ddexc/creation_id.rb +38 -0
  1587. data/lib/ddex/v20121219/ddexc/cue.rb +48 -0
  1588. data/lib/ddex/v20121219/ddexc/cue_creation_reference.rb +26 -0
  1589. data/lib/ddex/v20121219/ddexc/cue_origin.rb +31 -0
  1590. data/lib/ddex/v20121219/ddexc/cue_sheet.rb +31 -0
  1591. data/lib/ddex/v20121219/ddexc/cue_sheet_list.rb +26 -0
  1592. data/lib/ddex/v20121219/ddexc/cue_sheet_type.rb +31 -0
  1593. data/lib/ddex/v20121219/ddexc/cue_theme_type.rb +31 -0
  1594. data/lib/ddex/v20121219/ddexc/cue_use_type.rb +31 -0
  1595. data/lib/ddex/v20121219/ddexc/cue_visual_perception_type.rb +31 -0
  1596. data/lib/ddex/v20121219/ddexc/cue_vocal_type.rb +31 -0
  1597. data/lib/ddex/v20121219/ddexc/deal_reference.rb +28 -0
  1598. data/lib/ddex/v20121219/ddexc/deduction_rate.rb +34 -0
  1599. data/lib/ddex/v20121219/ddexc/delegated_usage_rights.rb +31 -0
  1600. data/lib/ddex/v20121219/ddexc/description.rb +28 -0
  1601. data/lib/ddex/v20121219/ddexc/distribution_channel_descriptor.rb +28 -0
  1602. data/lib/ddex/v20121219/ddexc/distribution_channel_type.rb +31 -0
  1603. data/lib/ddex/v20121219/ddexc/drm_platform_type.rb +34 -0
  1604. data/lib/ddex/v20121219/ddexc/dsp.rb +35 -0
  1605. data/lib/ddex/v20121219/ddexc/duration_by_use_type.rb +33 -0
  1606. data/lib/ddex/v20121219/ddexc/ern_message_in_batch.rb +36 -0
  1607. data/lib/ddex/v20121219/ddexc/event_date.rb +43 -0
  1608. data/lib/ddex/v20121219/ddexc/event_date_time.rb +43 -0
  1609. data/lib/ddex/v20121219/ddexc/extent.rb +28 -0
  1610. data/lib/ddex/v20121219/ddexc/external_location_descriptor.rb +28 -0
  1611. data/lib/ddex/v20121219/ddexc/external_resource_link.rb +31 -0
  1612. data/lib/ddex/v20121219/ddexc/externally_linked_resource_type.rb +31 -0
  1613. data/lib/ddex/v20121219/ddexc/file.rb +29 -0
  1614. data/lib/ddex/v20121219/ddexc/fingerprint.rb +29 -0
  1615. data/lib/ddex/v20121219/ddexc/fingerprint_algorithm_type.rb +31 -0
  1616. data/lib/ddex/v20121219/ddexc/frame_rate.rb +28 -0
  1617. data/lib/ddex/v20121219/ddexc/fulfillment_date.rb +26 -0
  1618. data/lib/ddex/v20121219/ddexc/genre.rb +30 -0
  1619. data/lib/ddex/v20121219/ddexc/governing_agreement_type.rb +31 -0
  1620. data/lib/ddex/v20121219/ddexc/guaranteed_amount.rb +31 -0
  1621. data/lib/ddex/v20121219/ddexc/hash_sum.rb +27 -0
  1622. data/lib/ddex/v20121219/ddexc/hash_sum_algorithm_type.rb +31 -0
  1623. data/lib/ddex/v20121219/ddexc/host_sound_carrier.rb +36 -0
  1624. data/lib/ddex/v20121219/ddexc/icpn.rb +28 -0
  1625. data/lib/ddex/v20121219/ddexc/image_codec_type.rb +34 -0
  1626. data/lib/ddex/v20121219/ddexc/image_details_by_territory.rb +41 -0
  1627. data/lib/ddex/v20121219/ddexc/image_id.rb +29 -0
  1628. data/lib/ddex/v20121219/ddexc/image_type.rb +31 -0
  1629. data/lib/ddex/v20121219/ddexc/indirect_resource_contributor.rb +34 -0
  1630. data/lib/ddex/v20121219/ddexc/keywords.rb +28 -0
  1631. data/lib/ddex/v20121219/ddexc/label_name.rb +31 -0
  1632. data/lib/ddex/v20121219/ddexc/license_or_claim_refusal_reason.rb +31 -0
  1633. data/lib/ddex/v20121219/ddexc/license_or_claim_request_update_reason.rb +31 -0
  1634. data/lib/ddex/v20121219/ddexc/license_or_claim_update_reason.rb +31 -0
  1635. data/lib/ddex/v20121219/ddexc/license_rejection_reason.rb +31 -0
  1636. data/lib/ddex/v20121219/ddexc/linked_release_resource_reference.rb +31 -0
  1637. data/lib/ddex/v20121219/ddexc/membership.rb +29 -0
  1638. data/lib/ddex/v20121219/ddexc/message_action_type.rb +31 -0
  1639. data/lib/ddex/v20121219/ddexc/message_audit_trail.rb +29 -0
  1640. data/lib/ddex/v20121219/ddexc/message_audit_trail_event.rb +27 -0
  1641. data/lib/ddex/v20121219/ddexc/message_header.rb +40 -0
  1642. data/lib/ddex/v20121219/ddexc/message_notification_period.rb +26 -0
  1643. data/lib/ddex/v20121219/ddexc/messaging_party.rb +33 -0
  1644. data/lib/ddex/v20121219/ddexc/midi_details_by_territory.rb +48 -0
  1645. data/lib/ddex/v20121219/ddexc/midi_id.rb +29 -0
  1646. data/lib/ddex/v20121219/ddexc/midi_type.rb +31 -0
  1647. data/lib/ddex/v20121219/ddexc/musical_work.rb +45 -0
  1648. data/lib/ddex/v20121219/ddexc/musical_work_contributor.rb +36 -0
  1649. data/lib/ddex/v20121219/ddexc/musical_work_contributor_role.rb +31 -0
  1650. data/lib/ddex/v20121219/ddexc/musical_work_details_by_territory.rb +31 -0
  1651. data/lib/ddex/v20121219/ddexc/musical_work_id.rb +32 -0
  1652. data/lib/ddex/v20121219/ddexc/musical_work_type.rb +31 -0
  1653. data/lib/ddex/v20121219/ddexc/name.rb +28 -0
  1654. data/lib/ddex/v20121219/ddexc/number_of_data_mismatch_items.rb +28 -0
  1655. data/lib/ddex/v20121219/ddexc/number_of_subscribers.rb +33 -0
  1656. data/lib/ddex/v20121219/ddexc/operating_system_type.rb +34 -0
  1657. data/lib/ddex/v20121219/ddexc/order_type.rb +31 -0
  1658. data/lib/ddex/v20121219/ddexc/p_line.rb +33 -0
  1659. data/lib/ddex/v20121219/ddexc/parental_warning_type.rb +31 -0
  1660. data/lib/ddex/v20121219/ddexc/party_descriptor.rb +28 -0
  1661. data/lib/ddex/v20121219/ddexc/party_id.rb +34 -0
  1662. data/lib/ddex/v20121219/ddexc/party_name.rb +35 -0
  1663. data/lib/ddex/v20121219/ddexc/period.rb +30 -0
  1664. data/lib/ddex/v20121219/ddexc/price.rb +28 -0
  1665. data/lib/ddex/v20121219/ddexc/price_consumer_paid_exc_sales_tax.rb +28 -0
  1666. data/lib/ddex/v20121219/ddexc/price_information.rb +34 -0
  1667. data/lib/ddex/v20121219/ddexc/price_range_type.rb +28 -0
  1668. data/lib/ddex/v20121219/ddexc/price_type.rb +28 -0
  1669. data/lib/ddex/v20121219/ddexc/product_type.rb +31 -0
  1670. data/lib/ddex/v20121219/ddexc/promotional_code.rb +28 -0
  1671. data/lib/ddex/v20121219/ddexc/proprietary_id.rb +28 -0
  1672. data/lib/ddex/v20121219/ddexc/purpose.rb +31 -0
  1673. data/lib/ddex/v20121219/ddexc/rating_agency.rb +31 -0
  1674. data/lib/ddex/v20121219/ddexc/reason.rb +28 -0
  1675. data/lib/ddex/v20121219/ddexc/reason_type.rb +31 -0
  1676. data/lib/ddex/v20121219/ddexc/record_company_market_share_data.rb +35 -0
  1677. data/lib/ddex/v20121219/ddexc/redelivery_reason_type.rb +31 -0
  1678. data/lib/ddex/v20121219/ddexc/reference_title.rb +31 -0
  1679. data/lib/ddex/v20121219/ddexc/related_license_or_claim_id.rb +28 -0
  1680. data/lib/ddex/v20121219/ddexc/related_license_or_claim_request_id.rb +28 -0
  1681. data/lib/ddex/v20121219/ddexc/related_release.rb +40 -0
  1682. data/lib/ddex/v20121219/ddexc/release_availability_status.rb +31 -0
  1683. data/lib/ddex/v20121219/ddexc/release_collection_reference.rb +28 -0
  1684. data/lib/ddex/v20121219/ddexc/release_collection_reference_list.rb +27 -0
  1685. data/lib/ddex/v20121219/ddexc/release_details_by_territory.rb +46 -0
  1686. data/lib/ddex/v20121219/ddexc/release_id.rb +35 -0
  1687. data/lib/ddex/v20121219/ddexc/release_relationship_type.rb +31 -0
  1688. data/lib/ddex/v20121219/ddexc/release_resource_reference.rb +28 -0
  1689. data/lib/ddex/v20121219/ddexc/release_resource_reference_list.rb +26 -0
  1690. data/lib/ddex/v20121219/ddexc/release_summary.rb +35 -0
  1691. data/lib/ddex/v20121219/ddexc/release_summary_details_by_territory.rb +35 -0
  1692. data/lib/ddex/v20121219/ddexc/release_type.rb +31 -0
  1693. data/lib/ddex/v20121219/ddexc/remittance_advice.rb +28 -0
  1694. data/lib/ddex/v20121219/ddexc/report_format.rb +31 -0
  1695. data/lib/ddex/v20121219/ddexc/report_type.rb +31 -0
  1696. data/lib/ddex/v20121219/ddexc/resource_contained_resource_reference.rb +29 -0
  1697. data/lib/ddex/v20121219/ddexc/resource_contained_resource_reference_list.rb +26 -0
  1698. data/lib/ddex/v20121219/ddexc/resource_contributor.rb +34 -0
  1699. data/lib/ddex/v20121219/ddexc/resource_contributor_role.rb +31 -0
  1700. data/lib/ddex/v20121219/ddexc/resource_group.rb +47 -0
  1701. data/lib/ddex/v20121219/ddexc/resource_group_content_item.rb +38 -0
  1702. data/lib/ddex/v20121219/ddexc/resource_group_resource_reference_list.rb +25 -0
  1703. data/lib/ddex/v20121219/ddexc/resource_id.rb +38 -0
  1704. data/lib/ddex/v20121219/ddexc/resource_musical_work_reference.rb +28 -0
  1705. data/lib/ddex/v20121219/ddexc/resource_musical_work_reference_list.rb +26 -0
  1706. data/lib/ddex/v20121219/ddexc/resource_omission_reason.rb +31 -0
  1707. data/lib/ddex/v20121219/ddexc/resource_type.rb +31 -0
  1708. data/lib/ddex/v20121219/ddexc/right_share.rb +57 -0
  1709. data/lib/ddex/v20121219/ddexc/right_share_creation_reference_list.rb +27 -0
  1710. data/lib/ddex/v20121219/ddexc/rights_agreement_id.rb +27 -0
  1711. data/lib/ddex/v20121219/ddexc/rights_controller.rb +35 -0
  1712. data/lib/ddex/v20121219/ddexc/rights_type.rb +34 -0
  1713. data/lib/ddex/v20121219/ddexc/royalty_amount.rb +28 -0
  1714. data/lib/ddex/v20121219/ddexc/royalty_code.rb +28 -0
  1715. data/lib/ddex/v20121219/ddexc/sales_reporting_proxy_release_id.rb +30 -0
  1716. data/lib/ddex/v20121219/ddexc/sampling_rate.rb +28 -0
  1717. data/lib/ddex/v20121219/ddexc/sheet_music_codec_type.rb +34 -0
  1718. data/lib/ddex/v20121219/ddexc/sheet_music_details_by_territory.rb +41 -0
  1719. data/lib/ddex/v20121219/ddexc/sheet_music_id.rb +30 -0
  1720. data/lib/ddex/v20121219/ddexc/sheet_music_type.rb +31 -0
  1721. data/lib/ddex/v20121219/ddexc/society_affiliation.rb +28 -0
  1722. data/lib/ddex/v20121219/ddexc/software_details_by_territory.rb +41 -0
  1723. data/lib/ddex/v20121219/ddexc/software_id.rb +29 -0
  1724. data/lib/ddex/v20121219/ddexc/software_type.rb +31 -0
  1725. data/lib/ddex/v20121219/ddexc/sound_processor_type.rb +34 -0
  1726. data/lib/ddex/v20121219/ddexc/sound_recording_collection_reference.rb +30 -0
  1727. data/lib/ddex/v20121219/ddexc/sound_recording_collection_reference_list.rb +27 -0
  1728. data/lib/ddex/v20121219/ddexc/sound_recording_details_by_territory.rb +48 -0
  1729. data/lib/ddex/v20121219/ddexc/sound_recording_id.rb +32 -0
  1730. data/lib/ddex/v20121219/ddexc/sound_recording_type.rb +31 -0
  1731. data/lib/ddex/v20121219/ddexc/store_location_descriptor.rb +28 -0
  1732. data/lib/ddex/v20121219/ddexc/sub_title.rb +28 -0
  1733. data/lib/ddex/v20121219/ddexc/supply_chain_status.rb +31 -0
  1734. data/lib/ddex/v20121219/ddexc/synopsis.rb +28 -0
  1735. data/lib/ddex/v20121219/ddexc/tariff_reference.rb +31 -0
  1736. data/lib/ddex/v20121219/ddexc/tax.rb +28 -0
  1737. data/lib/ddex/v20121219/ddexc/tax_rate.rb +29 -0
  1738. data/lib/ddex/v20121219/ddexc/tax_scope.rb +31 -0
  1739. data/lib/ddex/v20121219/ddexc/tax_type.rb +31 -0
  1740. data/lib/ddex/v20121219/ddexc/technical_instantiation.rb +29 -0
  1741. data/lib/ddex/v20121219/ddexc/text_codec_type.rb +34 -0
  1742. data/lib/ddex/v20121219/ddexc/text_details_by_territory.rb +39 -0
  1743. data/lib/ddex/v20121219/ddexc/text_id.rb +32 -0
  1744. data/lib/ddex/v20121219/ddexc/text_type.rb +31 -0
  1745. data/lib/ddex/v20121219/ddexc/title.rb +34 -0
  1746. data/lib/ddex/v20121219/ddexc/title_text.rb +28 -0
  1747. data/lib/ddex/v20121219/ddexc/total_royalty_amount.rb +30 -0
  1748. data/lib/ddex/v20121219/ddexc/typed_sub_title.rb +31 -0
  1749. data/lib/ddex/v20121219/ddexc/usage.rb +35 -0
  1750. data/lib/ddex/v20121219/ddexc/use_type.rb +31 -0
  1751. data/lib/ddex/v20121219/ddexc/user_defined_resource_details_by_territory.rb +41 -0
  1752. data/lib/ddex/v20121219/ddexc/user_defined_resource_id.rb +29 -0
  1753. data/lib/ddex/v20121219/ddexc/user_defined_resource_type.rb +28 -0
  1754. data/lib/ddex/v20121219/ddexc/user_defined_value.rb +34 -0
  1755. data/lib/ddex/v20121219/ddexc/user_interface_type.rb +31 -0
  1756. data/lib/ddex/v20121219/ddexc/video_codec_type.rb +34 -0
  1757. data/lib/ddex/v20121219/ddexc/video_cue_sheet_reference.rb +25 -0
  1758. data/lib/ddex/v20121219/ddexc/video_cue_sheet_reference_list.rb +25 -0
  1759. data/lib/ddex/v20121219/ddexc/video_details_by_territory.rb +50 -0
  1760. data/lib/ddex/v20121219/ddexc/video_id.rb +34 -0
  1761. data/lib/ddex/v20121219/ddexc/video_type.rb +31 -0
  1762. data/lib/ddex/v20121219/ddexc/web_page.rb +33 -0
  1763. data/lib/ddex/v20121219/ddexc/work_list.rb +29 -0
  1764. data/lib/ddex/v20121219/ddexc/ws_message_status.rb +31 -0
  1765. data/lib/ddex/version.rb +3 -0
  1766. data/spec/element_spec.rb +81 -0
  1767. data/spec/ern/341_spec.rb~ +11 -0
  1768. data/spec/ern/34_spec.rb~ +10 -0
  1769. data/spec/ern/36_spec.rb~ +14 -0
  1770. data/spec/ern/v36_spec.rb~ +11 -0
  1771. data/spec/ern/versions_spec.rb +48 -0
  1772. data/spec/ern/versions_spec.rb~ +22 -0
  1773. data/spec/ern_spec.rb +164 -0
  1774. data/spec/ern_spec.rb~ +5 -0
  1775. data/spec/fixtures/ern/33/instance1.xml +1825 -0
  1776. data/spec/fixtures/ern/34/instance1.xml +1890 -0
  1777. data/spec/fixtures/ern/341/instance1.xml +1901 -0
  1778. data/spec/fixtures/ern/35/instance1.xml +2637 -0
  1779. data/spec/fixtures/ern/351/instance1.xml +2586 -0
  1780. data/spec/fixtures/ern/36/instance1.xml +2665 -0
  1781. data/spec/fixtures/ern/37/instance1.xml +2824 -0
  1782. data/spec/fixtures/ern/37/instance2.xml +2750 -0
  1783. data/spec/fixtures/ern36.xml +244 -0
  1784. data/spec/fixtures/ern36.xml~ +243 -0
  1785. data/spec/spec_helper.rb +26 -0
  1786. data/spec/support/ddex_element.rb +58 -0
  1787. metadata +1920 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c76db225ee4e588bb9465ab9801b6ee5bbe6b4dd
4
+ data.tar.gz: c80d0d61497678b6973aa2f824cb7d56565ab91f
5
+ SHA512:
6
+ metadata.gz: d3ca2feb13983f100d20677cd7de6953dca9e03548d9ff6fa37a8d70f45e36fda273ef1c77fd735cb40fe3a2354137d51941a95d093c53f9449d0512c1a414df
7
+ data.tar.gz: 56fa38d1de3bca0de8fe49a93eb5c38d68df83c5b3bf17b9e56d2b791eff094de3936c0125dea08e02153e3c486f516f224f3c9d89c7ae99170c73592d5e1348
data/README.rdoc ADDED
@@ -0,0 +1,170 @@
1
+ = DDEX
2
+
3
+ {<img src="https://secure.travis-ci.org/sshaw/ddex.svg"/>}[http://travis-ci.org/sshaw/ddex]
4
+
5
+ {DDEX}[http://ddex.net] metadata serialization for Ruby
6
+
7
+ === Overview
8
+
9
+ require "ddex"
10
+
11
+ message = DDEX.read("path/to/metadata.xml") # ERN
12
+ puts message.update_indicator
13
+ message.resource_list.sound_recordings.each do |sr|
14
+ title = sr.reference_title.title_text
15
+ puts title.value
16
+ puts title.language_and_script_code
17
+ puts sr.remastered?
18
+ end
19
+
20
+ puts "Supported!" if DDEX.supports?("ern/341")
21
+
22
+ message = DDEX.read(string)
23
+ message = DDEX.read(io)
24
+ p message.to_hash
25
+
26
+ include DDEX::ERN::V341 # v3.4.1
27
+ message = NewReleaseMessage.new(:resource_list => ResourceList.new)
28
+ record = SoundRecording.new(:language_and_script_code => "en-US")
29
+ # ...
30
+ message.resource_list.sound_recordings = [record]
31
+
32
+ xml = DDEX.write(message)
33
+ File.open("bloat.xml", "w") { |io| io.puts(xml) }
34
+
35
+ === Installation
36
+
37
+ Rubygems:
38
+
39
+ gem install ddex
40
+
41
+ Bundler:
42
+
43
+ gem "ddex"
44
+
45
+ === Supported Versions
46
+
47
+ Currently just ERN 3.3 - 3.7, DSR soon!
48
+
49
+ === How This Differs From the Spec
50
+
51
+ Every DDEX version handled by this module is fully supported, but there are some things you'll need to know.
52
+
53
+ ==== Naming Conventions
54
+
55
+ DDEX elements and attributes use the {CamelCase naming convention}[https://en.wikipedia.org/wiki/CamelCase], this module uses Ruby naming conversions:
56
+ CamelCase for classes, and {snake_case}[https://en.wikipedia.org/wiki/Snake_case] for class attributes. For example, this DDEX XML:
57
+
58
+ <PartyName>
59
+ <FullName>sshaw</FullName>
60
+ </PartyName>
61
+
62
+ Would be manipulated via:
63
+
64
+ party = PartyName.new(:full_name => "sshaw")
65
+ puts party.full_name
66
+ party.full_name = "gwozdzie"
67
+
68
+
69
+ See also {Boolean elements and attributes}[rdoc-ref:README@Boolean+Elements+and+Attributes]
70
+
71
+ ==== Cardinally
72
+
73
+ Elements that _can_ occur more than once will be placed in an <code>Array</code> and their parent classes' accessor methods will use the plural form of
74
+ the element/attribute's name. For example:
75
+
76
+ <Release>
77
+ <!-- More data -->
78
+ <PLine>
79
+ <Year>1994</Year>
80
+ <PLineText>Track Copyright</PLineText>
81
+ </PLine>
82
+ <PLine>
83
+ <Year>2001</Year>
84
+ <PLineText>Another Track Copyright</PLineText>
85
+ </PLine>
86
+ </Release>
87
+
88
+ Would be manipulated via:
89
+
90
+ release.p_lines.each { |line| puts line.p_line_text }
91
+ release.p_lines << PLine.new(:year => 1999)
92
+
93
+ ==== Boolean Elements and Attributes
94
+
95
+ The following are applied to accessors derived from DDEX elements and attributes with an XML schema type of +boolean+:
96
+
97
+ * <code>"Is"</code> is removed from the beginning of the name
98
+ * The *reader* *method* is turned into a predicate accessor, i.e., has a <code>"?"</code> appended to it
99
+
100
+ For example, <code>SoundRecording/IsArtistRelated</code>:
101
+
102
+ recording = SoundRecording.new(:artist_related => true)
103
+ p recording.artist_related? # true
104
+ recording.artist_related = false
105
+
106
+ ==== Version Specific Changes
107
+
108
+ These changes only affect the object model, the resulting XML will conform to the appropriate DDEX schema.
109
+
110
+ ===== ERN >= v3.6
111
+
112
+ <code>PriceInformation/@PriceType</code> has been renamed to <code>PriceInformation#type</code> to avoid conflicting with the
113
+ element of the same name (<code>PriceInformation/PriceType</code>).
114
+
115
+ === Specification Version Detection
116
+
117
+ The specification version is determined by the <code>MessageSchemaVersionId</code>, which can be:
118
+
119
+ 1. Detected based on the root element's value i.e., <code>/node()/@MessageSchemaVersionId</code> (the root element varies by specification)
120
+ 2. Explicitly given to DDEX.read via the <code>:version</code> option
121
+
122
+ By default the <code>MessageSchemaVersionId</code> is assumed to be in <code>SPEC/VERSION</code> format (any leading, trailing, or duplicate slashes will be stripped),
123
+ as this seems to be the convention used by most instance docs -though the DDEX specifications
124
+ {are not strict about this}[http://www.ddex.net/content/format-messageschemaversionid]. If you're dealing with <code>MessageSchemaVersionId</code>s
125
+ that vary from this format, and explicitly setting the version is not practical, you can set the global default(s):
126
+
127
+ DDEX::ERN.config["V35"][:message_schema_version_id] = "ern tray_fever!"
128
+ DDEX::ERN.config["V351"][:message_schema_version_id] = "ern/35-punto-1"
129
+ # ...
130
+
131
+ Note that the version key must match the version's module name.
132
+
133
+ Feel free to {open an issue}[https://github.com/sshaw/ddex/issues] if you feel this arrangement is problematic or should
134
+ be modified to accommodate something more than <code>SPEC/VERSION</code> out of the box.
135
+
136
+ === Validation
137
+
138
+ Not yet!
139
+
140
+ === More Info
141
+
142
+ * {Source code}[https://github.com/sshaw/ddex]
143
+ * {Bugs}[https://github.com/sshaw/ddex/issues]
144
+ * {jaxb2ruby}[https://github.com/sshaw/jaxb2ruby] (Generate Ruby objects from an XML schema)
145
+ * {DDEX Schemas}[http://ddex.net/xml]
146
+
147
+ === TODO/Known Problems
148
+
149
+ * <code>ROXML.from_xml</code> does not check the root element's name. Need to add something like:
150
+
151
+ raise "unknown element #{xml.name}" unless xml.name == tag_name
152
+
153
+ * When an ROXML accessor expects an ROXML class, and one is not provided, <code>to_xml</code> will result in a <code>NoMethodError</code>:
154
+
155
+ # in SomeClass
156
+ xml_accessor :x, :as => AnotherClass
157
+
158
+ # Then
159
+ x = SomeClass.new(:x => "123")
160
+ x.to_xml # undefined method `to_xml' for "123":String
161
+
162
+ Raised here: https://github.com/Empact/roxml/blob/v2.5.1/lib/roxml/xml/references.rb#L262
163
+
164
+ === Author
165
+
166
+ Skye Shaw [skye.shaw {AT} gmail.com]
167
+
168
+ === License
169
+
170
+ Copyright (c) 2013 Skye Shaw. Released under the {MIT License}[www.opensource.org/licenses/MIT].
data/lib/ddex.rb ADDED
@@ -0,0 +1,86 @@
1
+ require "roxml"
2
+ require "ddex/element"
3
+
4
+ module DDEX
5
+ autoload :ERN, "ddex/ern"
6
+
7
+ XML_SCHEMA_INSTANCE_PREFIX = "xsi".freeze
8
+ XML_SCHEMA_INSTANCE_NS = "http://www.w3.org/2001/XMLSchema-instance".freeze
9
+ XML_SCHEMA_INSTANCE_ATTR = "#{XML_SCHEMA_INSTANCE_PREFIX}:schemaLocation".freeze
10
+
11
+ SPECS = %w[ERN]
12
+
13
+ class DDEXError < StandardError; end
14
+ class UnknownVersionError < DDEXError; end
15
+ class XMLLoadError < DDEXError; end
16
+
17
+ def self.supported_versions
18
+ SPECS.flat_map do |spec|
19
+ klass = const_get(spec)
20
+ klass.supported_versions.map { |v| "#{spec} #{v}" }
21
+ end
22
+ end
23
+
24
+ def self.supports?(name)
25
+ SPECS.any? { |spec| const_get(spec).supports?(name) }
26
+ end
27
+
28
+ ##
29
+ # Read DDEX metadata
30
+ #
31
+ # === Parameters
32
+ #
33
+ # [xml (String|IO|path)] The XML to read
34
+ # [options (Hash)] Options to control reading
35
+ #
36
+ # === Options
37
+ #
38
+ # [:encoding] Parse +xml+ using the given encoding
39
+ # [:version] Parse +xml+ as the given version, this must be a +MessageSchemaVersionId+ in +SPEC/VERSION+ format;
40
+ # by default this will be taken from the +MessageSchemaVersionId+ attribute of the root element
41
+ # === Returns
42
+ #
43
+ # [DDEX::Element subclass] A root element, as defined by the DDEX spec of +xml+ or the +:version+ option
44
+ #
45
+ # === Errors
46
+ #
47
+ # [DDEX::XMLLoadError] Problem parsing the XML or a required element is missing
48
+ # [DDEX::UnknownVersionError] The given or detected spec version is not known or supported
49
+ # [ArgumentError] +options+ is not a +Hash+ or is not +nil+
50
+
51
+ def self.read(xml, options = nil)
52
+ # TODO: figure out what top level spec...
53
+ DDEX::ERN.read(xml, options)
54
+ end
55
+
56
+ ##
57
+ # Turn a DDEX object into an XML string. You can also turn the object into a +Hash+ via #to_hash.
58
+ #
59
+ # === Parameters
60
+ #
61
+ # [xml (DDEX::Element subclass)] The object to create XML from
62
+ # [options (Hash)] Options to control writing
63
+ #
64
+ # === Options
65
+ #
66
+ # [:schema] Schema URI to use in the XSI schemaLocation attribute, defaults to <code>DDEX::NAME.config["VER"][:schema]</code>
67
+ # where +NAME+ is the spec name and +VER+ is the version. This is only used if +xml+ is a the root node of a spec.
68
+ #
69
+ # === Returns
70
+ #
71
+ # [String] The XML
72
+ #
73
+ # === Errors
74
+ #
75
+ # [ArgumentError] +options+ is not a +Hash+ or is not +nil+, or +xml+ is not a subclass of <code>DDEX::Element</code>
76
+
77
+ def self.write(xml, options = nil)
78
+ DDEX::ERN.write(xml, options)
79
+ end
80
+
81
+ protected
82
+ def require_standard(name, version)
83
+ root = File.dirname(File.expand_path(__FILE__))
84
+ Dir["#{root}/ddex/#{name.downcase}/v#{ version.downcase.tr(".", "") }/*.rb"].each { |path| require path }
85
+ end
86
+ end
@@ -0,0 +1,103 @@
1
+ module DDEX
2
+ class Element
3
+ include ROXML
4
+
5
+ # Set parser for ROXML
6
+ XML_PARSER = "nokogiri".freeze
7
+
8
+ xml_convention :camelcase
9
+
10
+ # ROXML doesn't have complete namespace support.
11
+ # We use this to set a namespace on calls to to_xml().
12
+ class << self
13
+ def ns
14
+ @namespace
15
+ end
16
+
17
+ private
18
+ def setns(prefix, name)
19
+ @namespace = [prefix, name].compact
20
+ end
21
+ end
22
+
23
+ ##
24
+ # Create an new instance
25
+ #
26
+ # === Arguments
27
+ #
28
+ # [attributes (Hash)] Values to set on the instance's attributes, a nested +Hash+ <b>will not</b> result in instantiation of child objects.
29
+ #
30
+ # === Errors
31
+ #
32
+ # [ArgumentError] If +attributes+ is not a +Hash+ or is not +nil+
33
+
34
+ def initialize(attributes = nil)
35
+ attributes ||= {}
36
+ raise ArgumentError, "attributes must be a Hash" unless Hash === attributes
37
+
38
+ attributes.each do |name, value|
39
+ name = name.to_s
40
+ method = "#{name}="
41
+ next unless attr = roxml_attributes[name] and respond_to?(method)
42
+
43
+ value = Array(value) if !attr.sought_type.instance_of?(Symbol) && attr.array? # If it's not a ROXML directive && ...
44
+ send(method, value)
45
+ end
46
+ end
47
+
48
+ ##
49
+ # Creates an XML representation of this instance and its descendants. Use DDEX.write instead, it's more flexable.
50
+ #
51
+
52
+ def to_xml(options = {})
53
+ doc = super
54
+ ns = self.class.ns
55
+
56
+ if ns and ns.size == 2 # prefix and name
57
+ doc.add_namespace_definition(*ns)
58
+ doc.name = "#{ns.first}:#{doc.name}"
59
+ end
60
+
61
+ doc
62
+ end
63
+
64
+ ##
65
+ # Create a +Hash+ representation of this instance and its descendants
66
+ #
67
+
68
+ def to_hash
69
+ hash = {}
70
+ roxml_attributes.values.each do |attr|
71
+ value = send(attr.accessor)
72
+ value = if value.is_a?(Array)
73
+ value.map { |v| v.respond_to?(:to_hash) ? v.to_hash : v }
74
+ else
75
+ value.respond_to?(:to_hash) ? value.to_hash : value
76
+ end
77
+
78
+ hash[attr.attr_name.to_sym] = value unless value.nil?
79
+ end
80
+
81
+ hash
82
+ end
83
+
84
+ def eql?(other)
85
+ instance_of?(other.class) && roxml_attributes.values.all? { |attr| other.respond_to?(attr.accessor) && other.send(attr.accessor) == send(attr.accessor) }
86
+ end
87
+
88
+ def ==(other)
89
+ eql?(other)
90
+ end
91
+
92
+ # TODO: hash()
93
+
94
+ private
95
+ def roxml_attributes
96
+ @roxml_attributes ||= begin
97
+ attr = {}
98
+ self.class.roxml_attrs.each { |v| attr[v.attr_name] = v }
99
+ attr
100
+ end
101
+ end
102
+ end
103
+ end
data/lib/ddex/ern.rb ADDED
@@ -0,0 +1,158 @@
1
+ require "active_support/core_ext/module/attribute_accessors"
2
+ require "nokogiri"
3
+
4
+ module DDEX
5
+ module ERN
6
+ autoload :V33, "ddex/ern/v33"
7
+ autoload :V34, "ddex/ern/v34"
8
+ autoload :V341, "ddex/ern/v341"
9
+ autoload :V35, "ddex/ern/v35"
10
+ autoload :V351, "ddex/ern/v351"
11
+ autoload :V36, "ddex/ern/v36"
12
+ autoload :V37, "ddex/ern/v37"
13
+
14
+ ROOT_ELEMENT = "NewReleaseMessage".freeze
15
+ VERSION_ATTR = "MessageSchemaVersionId".freeze
16
+
17
+ DEFAULT_CONFIG = {
18
+ "V37" => {
19
+ :schema => "http://ddex.net/xml/ern/37/release-notification.xsd",
20
+ :version => "3.7",
21
+ :message_schema_version_id => "ern/37"
22
+ },
23
+
24
+ "V36" => {
25
+ :schema => "http://ddex.net/xml/ern/36/release-notification.xsd",
26
+ :version => "3.6",
27
+ :message_schema_version_id => "ern/36"
28
+ },
29
+
30
+ "V351" => {
31
+ :schema => "http://ddex.net/xml/ern/351/release-notification.xsd",
32
+ :version => "3.5.1",
33
+ :message_schema_version_id => "ern/351"
34
+ },
35
+
36
+ "V35" => {
37
+ :schema => "http://ddex.net/xml/ern/35/release-notification.xsd",
38
+ :version => "3.5",
39
+ :message_schema_version_id => "ern/35"
40
+ },
41
+
42
+ "V341" => {
43
+ :schema => "http://ddex.net/xml/ern/341/release-notification.xsd",
44
+ :version => "3.4.1",
45
+ :message_schema_version_id => "ern/341"
46
+ },
47
+
48
+ "V34" => {
49
+ :schema => "http://ddex.net/xml/ern/34/release-notification.xsd",
50
+ :version => "3.4",
51
+ :message_schema_version_id => "ern/34"
52
+ },
53
+
54
+ "V33" => {
55
+ :schema => "http://ddex.net/xml/2011/ern-main/33/ern-main.xsd",
56
+ :version => "3.3",
57
+ :message_schema_version_id => "2011/ern-main/33"
58
+ }
59
+ }.freeze
60
+
61
+ mattr_reader :config
62
+ @@config = DEFAULT_CONFIG
63
+
64
+ def self.supported_versions
65
+ config.values.map { |cfg| cfg[:version].dup }.sort
66
+ end
67
+
68
+ def self.supports?(version)
69
+ version = version.downcase.strip
70
+ config.any? { |name,cfg| name == version || cfg[:version] == version || cfg[:message_schema_version_id] == version }
71
+ end
72
+
73
+ # options[:validate] ???
74
+ def self.read(xml, options = nil)
75
+ options ||= {}
76
+ raise ArgumentError, "options must be a Hash" unless options.is_a?(Hash)
77
+
78
+ doc = parse(xml, options)
79
+ ver = options[:version] || doc.root[VERSION_ATTR]
80
+ klass = load_version(ver)
81
+
82
+ begin
83
+ klass.from_xml(doc)
84
+ rescue NoMethodError => e # Yes, fo real... this is from ROXML
85
+ raise unless e.name == :root # It's legit
86
+ raise XMLLoadError, "XML is not well-formed"
87
+ # This is a subclass of Exception(!) so we must name it
88
+ rescue ROXML::RequiredElementMissing => e
89
+ raise XMLLoadError, "missing required element: #{e}"
90
+ end
91
+ end
92
+
93
+ def self.write(object, options = nil)
94
+ raise ArgumentError, "not a DDEX object" unless object.is_a?(DDEX::Element)
95
+
96
+ options ||= {}
97
+ raise ArgumentError, "options must be a Hash" unless options.is_a?(Hash)
98
+
99
+ xmlopts = options.reject { |k, _| k == :schema }
100
+
101
+ node = object.to_xml
102
+ return node.to_xml(xmlopts) unless object.respond_to?(:message_schema_version_id) # Is it the root element?
103
+
104
+ schema = schema_location(object, options[:schema])
105
+ if schema
106
+ node.add_namespace_definition(XML_SCHEMA_INSTANCE_PREFIX, XML_SCHEMA_INSTANCE_NS)
107
+ node[XML_SCHEMA_INSTANCE_ATTR] = schema
108
+ end
109
+
110
+ doc = Nokogiri::XML::Document.new
111
+ doc.root = node
112
+ doc.to_xml(xmlopts)
113
+ end
114
+
115
+ private
116
+ def self.schema_location(object, schema)
117
+ # extract version from namespace e.g., DDEX::ERN::V36::NewReleaseMessage
118
+ ver = object.class.name.split("::")[-2]
119
+ return unless schema or config.include?(ver)
120
+
121
+ # Check if it's "NS schema"
122
+ if schema && schema.strip.include?(" ")
123
+ schema
124
+ else
125
+ sprintf "%s %s", object.class.ns[1], schema || config[ver][:schema]
126
+ end
127
+ end
128
+
129
+ def self.parse(xml, options)
130
+ xml = File.read(xml) if xml.is_a?(String) and xml !~ /\A\s*<[?\w]/
131
+ Nokogiri::XML(xml, nil, options[:encoding]) { |cfg| cfg.strict }
132
+ # ArgumentError means there was a problem with types, expected an int, got a str
133
+ rescue IOError, SystemCallError, ArgumentError => e
134
+ raise XMLLoadError, "cannot load XML: #{e}"
135
+ rescue Nokogiri::XML::SyntaxError => e
136
+ raise XMLLoadError, "XML parsing error: #{e}"
137
+ end
138
+
139
+ def self.raise_unknown_version(version)
140
+ message = "ERN version %s" % (version ? "'#{version}'" : "attribute missing")
141
+ raise UnknownVersionError, message
142
+ end
143
+
144
+ def self.load_version(version)
145
+ raise_unknown_version(version) if version.nil?
146
+
147
+ # Some normalization
148
+ v = version.strip.gsub(%r{//+}, "/").gsub(%r{\A/|/\Z}, "")
149
+ klass, _ = config.find { |name, cfg| cfg[:message_schema_version_id] == v }
150
+ raise_unknown_version(version) unless klass
151
+
152
+ # >= 2.0 allows for one call
153
+ DDEX::ERN.const_get(klass).const_get(ROOT_ELEMENT)
154
+ rescue LoadError, NameError => e
155
+ raise_unknown_version(version)
156
+ end
157
+ end
158
+ end