enterprisifier 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (303) hide show
  1. data/.document +5 -0
  2. data/.gitignore +22 -0
  3. data/LICENSE +20 -0
  4. data/README.md +3 -0
  5. data/Rakefile +57 -0
  6. data/VERSION +1 -0
  7. data/lib/enterprisifier.rb +7 -0
  8. data/lib/enterprisifier/code_generation.rb +1 -0
  9. data/lib/enterprisifier/code_generation/code_builder.rb +33 -0
  10. data/lib/enterprisifier/code_generation/code_generator.rb +281 -0
  11. data/lib/enterprisifier/code_generation/generator.rb +102 -0
  12. data/lib/enterprisifier/code_generation/generators/attribute_generator.rb +22 -0
  13. data/lib/enterprisifier/code_generation/generators/choice_generator.rb +12 -0
  14. data/lib/enterprisifier/code_generation/generators/complex_content_generator.rb +12 -0
  15. data/lib/enterprisifier/code_generation/generators/complex_type_generator.rb +12 -0
  16. data/lib/enterprisifier/code_generation/generators/element_generator.rb +28 -0
  17. data/lib/enterprisifier/code_generation/generators/extension_generator.rb +11 -0
  18. data/lib/enterprisifier/code_generation/generators/group_generator.rb +27 -0
  19. data/lib/enterprisifier/code_generation/generators/restriction_generator.rb +11 -0
  20. data/lib/enterprisifier/code_generation/generators/sequence_generator.rb +12 -0
  21. data/lib/enterprisifier/code_generation/generators/simple_content_generator.rb +12 -0
  22. data/lib/enterprisifier/code_generation/generators/simple_type_generator.rb +11 -0
  23. data/lib/enterprisifier/code_generation/generators/union_generator.rb +34 -0
  24. data/lib/enterprisifier/constants.rb +3 -0
  25. data/lib/enterprisifier/logging.rb +5 -0
  26. data/lib/enterprisifier/marshalling.rb +0 -0
  27. data/lib/enterprisifier/marshalling/builder.rb +11 -0
  28. data/lib/enterprisifier/marshalling/instantiatable_element.rb +170 -0
  29. data/lib/enterprisifier/marshalling/namespace.rb +23 -0
  30. data/lib/enterprisifier/marshalling/reification.rb +30 -0
  31. data/lib/enterprisifier/marshalling/schema_composition.rb +170 -0
  32. data/lib/enterprisifier/marshalling/xsd/schema/attribute.rb +48 -0
  33. data/lib/enterprisifier/marshalling/xsd/schema/choice.rb +18 -0
  34. data/lib/enterprisifier/marshalling/xsd/schema/complex_content.rb +18 -0
  35. data/lib/enterprisifier/marshalling/xsd/schema/complex_type.rb +28 -0
  36. data/lib/enterprisifier/marshalling/xsd/schema/element.rb +92 -0
  37. data/lib/enterprisifier/marshalling/xsd/schema/extension.rb +29 -0
  38. data/lib/enterprisifier/marshalling/xsd/schema/group.rb +22 -0
  39. data/lib/enterprisifier/marshalling/xsd/schema/restriction.rb +29 -0
  40. data/lib/enterprisifier/marshalling/xsd/schema/sequence.rb +21 -0
  41. data/lib/enterprisifier/marshalling/xsd/schema/simple_content.rb +18 -0
  42. data/lib/enterprisifier/marshalling/xsd/schema/simple_type.rb +23 -0
  43. data/lib/enterprisifier/marshalling/xsd/schema/union.rb +23 -0
  44. data/lib/enterprisifier/marshalling/xsd/types/boolean.rb +14 -0
  45. data/lib/enterprisifier/marshalling/xsd/types/date.rb +13 -0
  46. data/lib/enterprisifier/marshalling/xsd/types/date_time.rb +13 -0
  47. data/lib/enterprisifier/marshalling/xsd/types/decimal.rb +13 -0
  48. data/lib/enterprisifier/marshalling/xsd/types/string.rb +14 -0
  49. data/lib/enterprisifier/marshalling/xsd/types/time.rb +14 -0
  50. data/lib/enterprisifier/schema.rb +1 -0
  51. data/lib/enterprisifier/schema/base_element.rb +156 -0
  52. data/lib/enterprisifier/schema/element_factory.rb +29 -0
  53. data/lib/enterprisifier/schema/elements/annotation.rb +20 -0
  54. data/lib/enterprisifier/schema/elements/attribute.rb +22 -0
  55. data/lib/enterprisifier/schema/elements/choice.rb +13 -0
  56. data/lib/enterprisifier/schema/elements/complex_content.rb +13 -0
  57. data/lib/enterprisifier/schema/elements/complex_type.rb +13 -0
  58. data/lib/enterprisifier/schema/elements/documentation.rb +12 -0
  59. data/lib/enterprisifier/schema/elements/element.rb +23 -0
  60. data/lib/enterprisifier/schema/elements/enumeration.rb +12 -0
  61. data/lib/enterprisifier/schema/elements/extension.rb +12 -0
  62. data/lib/enterprisifier/schema/elements/fraction_digits.rb +12 -0
  63. data/lib/enterprisifier/schema/elements/group.rb +12 -0
  64. data/lib/enterprisifier/schema/elements/import.rb +28 -0
  65. data/lib/enterprisifier/schema/elements/include.rb +28 -0
  66. data/lib/enterprisifier/schema/elements/max_inclusive.rb +12 -0
  67. data/lib/enterprisifier/schema/elements/min_inclusive.rb +12 -0
  68. data/lib/enterprisifier/schema/elements/pattern.rb +12 -0
  69. data/lib/enterprisifier/schema/elements/restriction.rb +12 -0
  70. data/lib/enterprisifier/schema/elements/schema.rb +71 -0
  71. data/lib/enterprisifier/schema/elements/sequence.rb +12 -0
  72. data/lib/enterprisifier/schema/elements/simple_content.rb +12 -0
  73. data/lib/enterprisifier/schema/elements/simple_type.rb +12 -0
  74. data/lib/enterprisifier/schema/elements/union.rb +17 -0
  75. data/lib/enterprisifier/schema/elements/unknown_element.rb +12 -0
  76. data/lib/enterprisifier/schema/loader.rb +61 -0
  77. data/test/enterprisifier_test.rb +35 -0
  78. data/test/example/e_business_for_media/aaaa/elements/aaaa_message_header.rb +15 -0
  79. data/test/example/e_business_for_media/aaaa/elements/aaaa_values.rb +52 -0
  80. data/test/example/e_business_for_media/aaaa/elements/action.rb +17 -0
  81. data/test/example/e_business_for_media/aaaa/elements/business_object.rb +17 -0
  82. data/test/example/e_business_for_media/aaaa/elements/media.rb +17 -0
  83. data/test/example/e_business_for_media/aaaa/elements/schema_name.rb +17 -0
  84. data/test/example/e_business_for_media/aaaa/elements/schema_version.rb +17 -0
  85. data/test/example/e_business_for_media/aaaa/elements/unique_message_id.rb +19 -0
  86. data/test/example/e_business_for_media/aaaa/types/aaaa_message_type.rb +58 -0
  87. data/test/example/e_business_for_media/aaaa/types/action_string.rb +18 -0
  88. data/test/example/e_business_for_media/aaaa/types/business_object_string.rb +18 -0
  89. data/test/example/e_business_for_media/aaaa/types/guid.rb +20 -0
  90. data/test/example/e_business_for_media/aaaa/types/media_string.rb +19 -0
  91. data/test/example/e_business_for_media/aaaa/types/schema_name_string.rb +18 -0
  92. data/test/example/e_business_for_media/aaaa/types/schema_version_string.rb +18 -0
  93. data/test/example/e_business_for_media/aaaa/types/unique_message_id.rb +18 -0
  94. data/test/example/e_business_for_media/iab/attributes/currency.rb +17 -0
  95. data/test/example/e_business_for_media/iab/attributes/id_owner.rb +19 -0
  96. data/test/example/e_business_for_media/iab/attributes/name.rb +19 -0
  97. data/test/example/e_business_for_media/iab/attributes/prefix.rb +18 -0
  98. data/test/example/e_business_for_media/iab/attributes/primary.rb +33 -0
  99. data/test/example/e_business_for_media/iab/attributes/script.rb +23 -0
  100. data/test/example/e_business_for_media/iab/attributes/sms_enabled.rb +20 -0
  101. data/test/example/e_business_for_media/iab/attributes/type.rb +30 -0
  102. data/test/example/e_business_for_media/iab/attributes/valid_from.rb +18 -0
  103. data/test/example/e_business_for_media/iab/attributes/valid_to.rb +18 -0
  104. data/test/example/e_business_for_media/iab/elements/ad_server.rb +17 -0
  105. data/test/example/e_business_for_media/iab/elements/additional_metrics.rb +16 -0
  106. data/test/example/e_business_for_media/iab/elements/address.rb +16 -0
  107. data/test/example/e_business_for_media/iab/elements/address_line.rb +22 -0
  108. data/test/example/e_business_for_media/iab/elements/advertiser.rb +17 -0
  109. data/test/example/e_business_for_media/iab/elements/affix.rb +53 -0
  110. data/test/example/e_business_for_media/iab/elements/agency.rb +19 -0
  111. data/test/example/e_business_for_media/iab/elements/agency_commission.rb +19 -0
  112. data/test/example/e_business_for_media/iab/elements/alternate_script.rb +147 -0
  113. data/test/example/e_business_for_media/iab/elements/amount.rb +16 -0
  114. data/test/example/e_business_for_media/iab/elements/area_city_code.rb +18 -0
  115. data/test/example/e_business_for_media/iab/elements/attachments.rb +18 -0
  116. data/test/example/e_business_for_media/iab/elements/audience.rb +17 -0
  117. data/test/example/e_business_for_media/iab/elements/background.rb +15 -0
  118. data/test/example/e_business_for_media/iab/elements/basis.rb +26 -0
  119. data/test/example/e_business_for_media/iab/elements/billing_frequency.rb +15 -0
  120. data/test/example/e_business_for_media/iab/elements/billing_info.rb +16 -0
  121. data/test/example/e_business_for_media/iab/elements/billing_notes.rb +16 -0
  122. data/test/example/e_business_for_media/iab/elements/billing_partner.rb +16 -0
  123. data/test/example/e_business_for_media/iab/elements/billing_statistics_source.rb +16 -0
  124. data/test/example/e_business_for_media/iab/elements/brand_name.rb +17 -0
  125. data/test/example/e_business_for_media/iab/elements/budget.rb +16 -0
  126. data/test/example/e_business_for_media/iab/elements/building_number.rb +23 -0
  127. data/test/example/e_business_for_media/iab/elements/campaign_brief.rb +38 -0
  128. data/test/example/e_business_for_media/iab/elements/campaign_reference_id.rb +18 -0
  129. data/test/example/e_business_for_media/iab/elements/campaign_reference_info.rb +16 -0
  130. data/test/example/e_business_for_media/iab/elements/category.rb +16 -0
  131. data/test/example/e_business_for_media/iab/elements/context.rb +17 -0
  132. data/test/example/e_business_for_media/iab/elements/contract_details.rb +17 -0
  133. data/test/example/e_business_for_media/iab/elements/count.rb +16 -0
  134. data/test/example/e_business_for_media/iab/elements/country_code.rb +23 -0
  135. data/test/example/e_business_for_media/iab/elements/created_date.rb +15 -0
  136. data/test/example/e_business_for_media/iab/elements/creating_system.rb +16 -0
  137. data/test/example/e_business_for_media/iab/elements/date.rb +16 -0
  138. data/test/example/e_business_for_media/iab/elements/delivery.rb +17 -0
  139. data/test/example/e_business_for_media/iab/elements/delivery_address.rb +72 -0
  140. data/test/example/e_business_for_media/iab/elements/description.rb +16 -0
  141. data/test/example/e_business_for_media/iab/elements/desired_positioning_notes.rb +16 -0
  142. data/test/example/e_business_for_media/iab/elements/destination_system.rb +16 -0
  143. data/test/example/e_business_for_media/iab/elements/discount.rb +19 -0
  144. data/test/example/e_business_for_media/iab/elements/distribution.rb +15 -0
  145. data/test/example/e_business_for_media/iab/elements/document_id.rb +20 -0
  146. data/test/example/e_business_for_media/iab/elements/document_name.rb +16 -0
  147. data/test/example/e_business_for_media/iab/elements/document_sender.rb +17 -0
  148. data/test/example/e_business_for_media/iab/elements/due_date.rb +15 -0
  149. data/test/example/e_business_for_media/iab/elements/end_date.rb +16 -0
  150. data/test/example/e_business_for_media/iab/elements/extension.rb +17 -0
  151. data/test/example/e_business_for_media/iab/elements/family_name.rb +55 -0
  152. data/test/example/e_business_for_media/iab/elements/fax.rb +16 -0
  153. data/test/example/e_business_for_media/iab/elements/flight_exclusivity_guidelines.rb +16 -0
  154. data/test/example/e_business_for_media/iab/elements/format.rb +16 -0
  155. data/test/example/e_business_for_media/iab/elements/formatted_name.rb +22 -0
  156. data/test/example/e_business_for_media/iab/elements/formatted_number.rb +18 -0
  157. data/test/example/e_business_for_media/iab/elements/geographic_considerations.rb +15 -0
  158. data/test/example/e_business_for_media/iab/elements/given_name.rb +19 -0
  159. data/test/example/e_business_for_media/iab/elements/goal.rb +29 -0
  160. data/test/example/e_business_for_media/iab/elements/gross_cost.rb +16 -0
  161. data/test/example/e_business_for_media/iab/elements/iab_advertiser_info.rb +15 -0
  162. data/test/example/e_business_for_media/iab/elements/iab_billing_info.rb +15 -0
  163. data/test/example/e_business_for_media/iab/elements/iab_message_base.rb +15 -0
  164. data/test/example/e_business_for_media/iab/elements/iab_message_header.rb +17 -0
  165. data/test/example/e_business_for_media/iab/elements/iab_publisher_info.rb +15 -0
  166. data/test/example/e_business_for_media/iab/elements/iab_type_of_contact.rb +17 -0
  167. data/test/example/e_business_for_media/iab/elements/id.rb +17 -0
  168. data/test/example/e_business_for_media/iab/elements/id_value.rb +34 -0
  169. data/test/example/e_business_for_media/iab/elements/in_reference_to.rb +33 -0
  170. data/test/example/e_business_for_media/iab/elements/industry.rb +17 -0
  171. data/test/example/e_business_for_media/iab/elements/instructions.rb +15 -0
  172. data/test/example/e_business_for_media/iab/elements/international_country_code.rb +17 -0
  173. data/test/example/e_business_for_media/iab/elements/internet_email_address.rb +16 -0
  174. data/test/example/e_business_for_media/iab/elements/internet_web_address.rb +17 -0
  175. data/test/example/e_business_for_media/iab/elements/legal_name.rb +19 -0
  176. data/test/example/e_business_for_media/iab/elements/link.rb +16 -0
  177. data/test/example/e_business_for_media/iab/elements/location.rb +17 -0
  178. data/test/example/e_business_for_media/iab/elements/make_good_policy.rb +16 -0
  179. data/test/example/e_business_for_media/iab/elements/middle_name.rb +17 -0
  180. data/test/example/e_business_for_media/iab/elements/mobile.rb +17 -0
  181. data/test/example/e_business_for_media/iab/elements/municipality.rb +17 -0
  182. data/test/example/e_business_for_media/iab/elements/name.rb +16 -0
  183. data/test/example/e_business_for_media/iab/elements/national_number.rb +19 -0
  184. data/test/example/e_business_for_media/iab/elements/net_cost.rb +16 -0
  185. data/test/example/e_business_for_media/iab/elements/non_standard_value.rb +16 -0
  186. data/test/example/e_business_for_media/iab/elements/notes.rb +16 -0
  187. data/test/example/e_business_for_media/iab/elements/order_status.rb +17 -0
  188. data/test/example/e_business_for_media/iab/elements/other_contacts.rb +18 -0
  189. data/test/example/e_business_for_media/iab/elements/other_id.rb +20 -0
  190. data/test/example/e_business_for_media/iab/elements/other_target.rb +17 -0
  191. data/test/example/e_business_for_media/iab/elements/out_clause.rb +16 -0
  192. data/test/example/e_business_for_media/iab/elements/pager.rb +16 -0
  193. data/test/example/e_business_for_media/iab/elements/partner.rb +19 -0
  194. data/test/example/e_business_for_media/iab/elements/payment_terms.rb +16 -0
  195. data/test/example/e_business_for_media/iab/elements/payment_type.rb +15 -0
  196. data/test/example/e_business_for_media/iab/elements/percent.rb +16 -0
  197. data/test/example/e_business_for_media/iab/elements/person_name.rb +16 -0
  198. data/test/example/e_business_for_media/iab/elements/post_office_box.rb +18 -0
  199. data/test/example/e_business_for_media/iab/elements/postal_address.rb +16 -0
  200. data/test/example/e_business_for_media/iab/elements/postal_code.rb +18 -0
  201. data/test/example/e_business_for_media/iab/elements/preferred_given_name.rb +18 -0
  202. data/test/example/e_business_for_media/iab/elements/primary_contact.rb +16 -0
  203. data/test/example/e_business_for_media/iab/elements/primary_id.rb +17 -0
  204. data/test/example/e_business_for_media/iab/elements/primary_success_metric.rb +15 -0
  205. data/test/example/e_business_for_media/iab/elements/product_name.rb +17 -0
  206. data/test/example/e_business_for_media/iab/elements/property_name.rb +16 -0
  207. data/test/example/e_business_for_media/iab/elements/publisher.rb +17 -0
  208. data/test/example/e_business_for_media/iab/elements/referenced_document_id.rb +15 -0
  209. data/test/example/e_business_for_media/iab/elements/referenced_version.rb +22 -0
  210. data/test/example/e_business_for_media/iab/elements/region.rb +21 -0
  211. data/test/example/e_business_for_media/iab/elements/request_for_proposal.rb +16 -0
  212. data/test/example/e_business_for_media/iab/elements/rfp_details.rb +15 -0
  213. data/test/example/e_business_for_media/iab/elements/rfp_response_requirements.rb +15 -0
  214. data/test/example/e_business_for_media/iab/elements/role.rb +31 -0
  215. data/test/example/e_business_for_media/iab/elements/selection_criteria.rb +16 -0
  216. data/test/example/e_business_for_media/iab/elements/sent_date.rb +15 -0
  217. data/test/example/e_business_for_media/iab/elements/standard_value.rb +16 -0
  218. data/test/example/e_business_for_media/iab/elements/start_date.rb +16 -0
  219. data/test/example/e_business_for_media/iab/elements/street_name.rb +21 -0
  220. data/test/example/e_business_for_media/iab/elements/subscriber_number.rb +19 -0
  221. data/test/example/e_business_for_media/iab/elements/target_audience.rb +15 -0
  222. data/test/example/e_business_for_media/iab/elements/targeting.rb +42 -0
  223. data/test/example/e_business_for_media/iab/elements/telephone.rb +16 -0
  224. data/test/example/e_business_for_media/iab/elements/terms_and_conditions.rb +27 -0
  225. data/test/example/e_business_for_media/iab/elements/terms_attachment.rb +15 -0
  226. data/test/example/e_business_for_media/iab/elements/terms_text.rb +15 -0
  227. data/test/example/e_business_for_media/iab/elements/time.rb +17 -0
  228. data/test/example/e_business_for_media/iab/elements/title.rb +17 -0
  229. data/test/example/e_business_for_media/iab/elements/ttytdd.rb +17 -0
  230. data/test/example/e_business_for_media/iab/elements/type.rb +15 -0
  231. data/test/example/e_business_for_media/iab/elements/unit.rb +21 -0
  232. data/test/example/e_business_for_media/iab/elements/use.rb +17 -0
  233. data/test/example/e_business_for_media/iab/elements/value.rb +15 -0
  234. data/test/example/e_business_for_media/iab/elements/version.rb +24 -0
  235. data/test/example/e_business_for_media/iab/elements/when_available.rb +19 -0
  236. data/test/example/e_business_for_media/iab/elements/zero_cost.rb +15 -0
  237. data/test/example/e_business_for_media/iab/groups/telcom_number_group.rb +52 -0
  238. data/test/example/e_business_for_media/iab/types/attachment_type.rb +32 -0
  239. data/test/example/e_business_for_media/iab/types/base_cost.rb +32 -0
  240. data/test/example/e_business_for_media/iab/types/base_target_type.rb +31 -0
  241. data/test/example/e_business_for_media/iab/types/base_unit.rb +27 -0
  242. data/test/example/e_business_for_media/iab/types/campaign_reference_info_type.rb +81 -0
  243. data/test/example/e_business_for_media/iab/types/contact_method_location_pattern_extension_type.rb +22 -0
  244. data/test/example/e_business_for_media/iab/types/contact_method_location_type.rb +24 -0
  245. data/test/example/e_business_for_media/iab/types/contact_method_type.rb +81 -0
  246. data/test/example/e_business_for_media/iab/types/contact_method_use_pattern_extension_type.rb +22 -0
  247. data/test/example/e_business_for_media/iab/types/contact_method_use_type.rb +23 -0
  248. data/test/example/e_business_for_media/iab/types/contact_method_when_available_type.rb +20 -0
  249. data/test/example/e_business_for_media/iab/types/contract_details_type.rb +46 -0
  250. data/test/example/e_business_for_media/iab/types/cost_method_enumeration.rb +29 -0
  251. data/test/example/e_business_for_media/iab/types/cost_method_type.rb +28 -0
  252. data/test/example/e_business_for_media/iab/types/currency_code_type.rb +20 -0
  253. data/test/example/e_business_for_media/iab/types/discount_type.rb +36 -0
  254. data/test/example/e_business_for_media/iab/types/entity_id_type.rb +57 -0
  255. data/test/example/e_business_for_media/iab/types/generic_target_type.rb +31 -0
  256. data/test/example/e_business_for_media/iab/types/iab_advertiser_info_type.rb +38 -0
  257. data/test/example/e_business_for_media/iab/types/iab_billing_info_type.rb +54 -0
  258. data/test/example/e_business_for_media/iab/types/iab_contact_method_type.rb +44 -0
  259. data/test/example/e_business_for_media/iab/types/iab_date_time_type.rb +28 -0
  260. data/test/example/e_business_for_media/iab/types/iab_distribution_enumerated_type.rb +22 -0
  261. data/test/example/e_business_for_media/iab/types/iab_distribution_type.rb +20 -0
  262. data/test/example/e_business_for_media/iab/types/iab_message_base_type.rb +47 -0
  263. data/test/example/e_business_for_media/iab/types/iab_message_header_type.rb +34 -0
  264. data/test/example/e_business_for_media/iab/types/iab_partner_info_type.rb +67 -0
  265. data/test/example/e_business_for_media/iab/types/iab_payment_terms_enumerated_type.rb +23 -0
  266. data/test/example/e_business_for_media/iab/types/iab_payment_terms_type.rb +20 -0
  267. data/test/example/e_business_for_media/iab/types/iab_payment_type_enumerated_type.rb +21 -0
  268. data/test/example/e_business_for_media/iab/types/iab_publisher_info_type.rb +29 -0
  269. data/test/example/e_business_for_media/iab/types/iab_type_of_contact_type.rb +30 -0
  270. data/test/example/e_business_for_media/iab/types/internet_email_address_type.rb +19 -0
  271. data/test/example/e_business_for_media/iab/types/internet_web_address_type.rb +20 -0
  272. data/test/example/e_business_for_media/iab/types/mobile_telcom_number_type.rb +33 -0
  273. data/test/example/e_business_for_media/iab/types/monetary_type.rb +28 -0
  274. data/test/example/e_business_for_media/iab/types/percentage_type.rb +21 -0
  275. data/test/example/e_business_for_media/iab/types/person_name_type.rb +282 -0
  276. data/test/example/e_business_for_media/iab/types/postal_address_type.rb +120 -0
  277. data/test/example/e_business_for_media/iab/types/request_for_proposal_type.rb +35 -0
  278. data/test/example/e_business_for_media/iab/types/rfp_details_type.rb +118 -0
  279. data/test/example/e_business_for_media/iab/types/rfp_response_requirements_type.rb +33 -0
  280. data/test/example/e_business_for_media/iab/types/telcom_number_type.rb +34 -0
  281. data/test/example/e_business_for_media/iab/types/unit_type.rb +28 -0
  282. data/test/example/e_business_for_media/iab/types/unit_type_enumeration.rb +27 -0
  283. data/test/example/e_business_for_media/iab/types/zero_cost_type.rb +29 -0
  284. data/test/example/e_business_for_media/iab/types/zero_cost_type_enumeration.rb +21 -0
  285. data/test/marshalling_test.rb +13 -0
  286. data/test/mocks.rb +10 -0
  287. data/test/teststrap.rb +23 -0
  288. data/test/xsd/AAAA_Common.xsd +76 -0
  289. data/test/xsd/HRXMLlicense.txt +32 -0
  290. data/test/xsd/IAB_Acknowledgement.xsd +181 -0
  291. data/test/xsd/IAB_AdvertiserCommon.xsd +40 -0
  292. data/test/xsd/IAB_BillingCommon.xsd +75 -0
  293. data/test/xsd/IAB_CampaignCommon.xsd +80 -0
  294. data/test/xsd/IAB_Common.xsd +1176 -0
  295. data/test/xsd/IAB_ContractCommon.xsd +54 -0
  296. data/test/xsd/IAB_InsertionOrderCommon.xsd +40 -0
  297. data/test/xsd/IAB_LineItemCommon.xsd +328 -0
  298. data/test/xsd/IAB_MessageCommon.xsd +66 -0
  299. data/test/xsd/IAB_OrderCommon.xsd +98 -0
  300. data/test/xsd/IAB_ProposalCommon.xsd +30 -0
  301. data/test/xsd/IAB_PublisherCommon.xsd +26 -0
  302. data/test/xsd/IAB_RFPCommon.xsd +126 -0
  303. metadata +626 -0
@@ -0,0 +1,54 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Created with Liquid XML Studio 1.0.8.0 (http://www.liquid-technologies.com) -->
3
+ <xsd:schema xmlns="http://ns.iab.net" xmlns:q1="http://ns.iab.net" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://ns.iab.net" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
4
+ <xsd:include schemaLocation="IAB_BillingCommon.xsd" />
5
+ <xsd:annotation>
6
+ <xsd:documentation>
7
+ "Copyright Interactive Advertising Bureau. All Rights Reserved. http://www.iab.net/ebiz"
8
+ Name: IAB_ContractCommon.xsd
9
+ Date this version: 2008-09-30
10
+ Author(s): Lon Pilot and IAB Ad Ops Council E-Business Working Group
11
+
12
+ Change History:
13
+ NONE
14
+ </xsd:documentation>
15
+ </xsd:annotation>
16
+ <xsd:element name="ContractDetails" type="q1:ContractDetailsType">
17
+ <xsd:annotation>
18
+ <xsd:documentation>Used for terms and conditions, billing agreements, and other legal aspects of a media buy. Optional for proposals, required for insertion orders.</xsd:documentation>
19
+ </xsd:annotation>
20
+ </xsd:element>
21
+ <xsd:complexType name="ContractDetailsType">
22
+ <xsd:sequence>
23
+ <xsd:element minOccurs="0" name="BillingInfo" type="q1:IABBillingInfoType" />
24
+ <xsd:element ref="q1:TermsAndConditions">
25
+ <xsd:annotation>
26
+ <xsd:documentation>Can be included inline or as a reference to an external document</xsd:documentation>
27
+ </xsd:annotation>
28
+ </xsd:element>
29
+ <xsd:element minOccurs="0" name="OutClause" type="xsd:string" />
30
+ <xsd:element minOccurs="0" name="MakeGoodPolicy" type="xsd:string" />
31
+ <xsd:element name="AgencyCommission" type="q1:DiscountType">
32
+ <xsd:annotation>
33
+ <xsd:documentation>Used to designate whether a discount is being applied according to agency commission practices. If not applicable, then this element should be provided with discount set to 0. Other types of discounts should be listed in OtherDiscount.</xsd:documentation>
34
+ </xsd:annotation>
35
+ </xsd:element>
36
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="Discount" type="q1:DiscountType">
37
+ <xsd:annotation>
38
+ <xsd:documentation>Used for discounts not related to Agency commissions. For example, volume discounts, sales incentives, etc.</xsd:documentation>
39
+ </xsd:annotation>
40
+ </xsd:element>
41
+ </xsd:sequence>
42
+ </xsd:complexType>
43
+ <xsd:element name="TermsAndConditions">
44
+ <xsd:annotation>
45
+ <xsd:documentation>Can be included inline or as a reference to an external document</xsd:documentation>
46
+ </xsd:annotation>
47
+ <xsd:complexType>
48
+ <xsd:choice>
49
+ <xsd:element name="TermsText" type="xsd:string" />
50
+ <xsd:element name="TermsAttachment" type="q1:AttachmentType" />
51
+ </xsd:choice>
52
+ </xsd:complexType>
53
+ </xsd:element>
54
+ </xsd:schema>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- edited with XMLSpy v2008 rel. 2 sp1 (http://www.altova.com) by Jeremy Fain (IAB) -->
3
+ <!-- Created with Liquid XML Studio 1.0.8.0 (http://www.liquid-technologies.com) -->
4
+ <xsd:schema xmlns="http://ns.iab.net" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ns.iab.net" elementFormDefault="qualified" attributeFormDefault="unqualified">
5
+ <xsd:annotation>
6
+ <xsd:documentation>
7
+ "Copyright Interactive Advertising Bureau. All Rights Reserved. http://www.iab.net/ebiz"
8
+ Name: IAB_InsertionOrderCommon.xsd
9
+ Date this version: 2008-09-30
10
+ Author(s): Lon Pilot and IAB Ad Ops Council E-Business Working Group
11
+
12
+ Change History:
13
+ NONE
14
+ </xsd:documentation>
15
+ </xsd:annotation>
16
+ <xsd:include schemaLocation="IAB_ContractCommon.xsd"/>
17
+ <xsd:include schemaLocation="IAB_OrderCommon.xsd"/>
18
+ <xsd:include schemaLocation="IAB_MessageCommon.xsd"/>
19
+ <xsd:element name="InsertionOrder" type="InsertionOrderType"/>
20
+ <xsd:complexType name="InsertionOrderType" mixed="false">
21
+ <xsd:complexContent mixed="false">
22
+ <xsd:extension base="IABMessageBaseType">
23
+ <xsd:sequence>
24
+ <xsd:element name="PrimaryID" type="EntityIdType">
25
+ <xsd:annotation>
26
+ <xsd:documentation>Originating system's document ID. If Publisher sent proposal, should stay publisher ID. Use of 'name' attribute allows for additional system-ID mapping and identification.</xsd:documentation>
27
+ </xsd:annotation>
28
+ </xsd:element>
29
+ <xsd:element name="OtherID" type="EntityIdType" minOccurs="0" maxOccurs="unbounded">
30
+ <xsd:annotation>
31
+ <xsd:documentation>Additional document IDs for use by other systems. In this case, Agency and/or partner systems would attach its own document ID here. Use of 'name' attribute allows for additional system-ID mapping and identification.</xsd:documentation>
32
+ </xsd:annotation>
33
+ </xsd:element>
34
+ <xsd:element ref="OrderDetails" maxOccurs="unbounded"/>
35
+ <xsd:element ref="ContractDetails"/>
36
+ </xsd:sequence>
37
+ </xsd:extension>
38
+ </xsd:complexContent>
39
+ </xsd:complexType>
40
+ </xsd:schema>
@@ -0,0 +1,328 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Created with Liquid XML Studio 1.0.8.0 (http://www.liquid-technologies.com) -->
3
+ <xsd:schema xmlns="http://ns.iab.net" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://ns.iab.net" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
4
+ <xsd:include schemaLocation="IAB_Common.xsd" />
5
+ <xsd:annotation>
6
+ <xsd:documentation>
7
+ "Copyright Interactive Advertising Bureau. All Rights Reserved. http://www.iab.net/ebiz"
8
+ Name: IAB_LineItemCommon.xsd
9
+ Date this version: 2008-09-30
10
+ Author(s): Lon Pilot and IAB Ad Ops Council E-Business Working Group
11
+
12
+ Change History:
13
+ NONE
14
+ </xsd:documentation>
15
+ </xsd:annotation>
16
+ <xsd:element name="MediaDetails" type="MediaDetailsType">
17
+ <xsd:annotation>
18
+ <xsd:documentation>Used to represent the complete media details of the line item being proposed or purchased.</xsd:documentation>
19
+ </xsd:annotation>
20
+ </xsd:element>
21
+ <xsd:complexType name="MediaDetailsType">
22
+ <xsd:sequence>
23
+ <xsd:element default="Unchanged" name="PlacementState">
24
+ <xsd:annotation>
25
+ <xsd:documentation>Will designate the intent of the line item communication. Potential values are Add, Modify, Delete, Unchanged (default)</xsd:documentation>
26
+ </xsd:annotation>
27
+ <xsd:simpleType>
28
+ <xsd:restriction base="xsd:string">
29
+ <xsd:enumeration value="Add" />
30
+ <xsd:enumeration value="Modify" />
31
+ <xsd:enumeration value="Delete" />
32
+ <xsd:enumeration value="Unchanged" />
33
+ </xsd:restriction>
34
+ </xsd:simpleType>
35
+ </xsd:element>
36
+ <xsd:element name="Name" type="xsd:string">
37
+ <xsd:annotation>
38
+ <xsd:documentation>Name or description of placement</xsd:documentation>
39
+ </xsd:annotation>
40
+ </xsd:element>
41
+ <xsd:element name="StartDate" type="IABDateTimeType">
42
+ <xsd:annotation>
43
+ <xsd:documentation>Line item start date</xsd:documentation>
44
+ </xsd:annotation>
45
+ </xsd:element>
46
+ <xsd:element name="EndDate" type="IABDateTimeType">
47
+ <xsd:annotation>
48
+ <xsd:documentation>Line item end date</xsd:documentation>
49
+ </xsd:annotation>
50
+ </xsd:element>
51
+ <xsd:element minOccurs="0" name="AdType" type="xsd:string">
52
+ <xsd:annotation>
53
+ <xsd:documentation>Intended to categorize the type of line item. The industry has not yet standardized categories. Some common examples are Text Ad, Standard, Rich Media, Interstitial, Streaming, Video, Mobile, Other, Non-media (production costs, etc.)</xsd:documentation>
54
+ </xsd:annotation>
55
+ </xsd:element>
56
+ <xsd:element minOccurs="0" name="Width" type="xsd:int">
57
+ <xsd:annotation>
58
+ <xsd:documentation>Should always be provided with display ad types. Value is in pixels.</xsd:documentation>
59
+ </xsd:annotation>
60
+ </xsd:element>
61
+ <xsd:element minOccurs="0" name="Height" type="xsd:int">
62
+ <xsd:annotation>
63
+ <xsd:documentation>Should always be provided with display ad types. Value is in pixels.</xsd:documentation>
64
+ </xsd:annotation>
65
+ </xsd:element>
66
+ <xsd:element name="Targeting">
67
+ <xsd:annotation>
68
+ <xsd:documentation>No industry standards exist for communicating targeting so this flexible framework can be used for providing text representations of the targeting associated with the line item.</xsd:documentation>
69
+ </xsd:annotation>
70
+ <xsd:complexType>
71
+ <xsd:sequence>
72
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="Audience" type="BaseTargetType">
73
+ <xsd:annotation>
74
+ <xsd:documentation>Targeting based on implicit and explicit end user properties. Examples include site usage behavior or registration properties.</xsd:documentation>
75
+ </xsd:annotation>
76
+ </xsd:element>
77
+ <xsd:element maxOccurs="unbounded" name="Context" type="BaseTargetType">
78
+ <xsd:annotation>
79
+ <xsd:documentation>One context detail should always be provided, most likely site/property</xsd:documentation>
80
+ </xsd:annotation>
81
+ </xsd:element>
82
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="Delivery" type="BaseTargetType">
83
+ <xsd:annotation>
84
+ <xsd:documentation>Targeting based on the environment of delivery. Examples include time of day, browser capability, geographic location of IP address.</xsd:documentation>
85
+ </xsd:annotation>
86
+ </xsd:element>
87
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="OtherTarget" type="GenericTargetType">
88
+ <xsd:annotation>
89
+ <xsd:documentation>Most known targeting should fit into one of the other three categories. If not, then this category can be used.</xsd:documentation>
90
+ </xsd:annotation>
91
+ </xsd:element>
92
+ </xsd:sequence>
93
+ </xsd:complexType>
94
+ </xsd:element>
95
+ <xsd:element name="CostMethod" type="CostMethodType">
96
+ <xsd:annotation>
97
+ <xsd:documentation>CPM, CPC, Sponsorship, etc</xsd:documentation>
98
+ </xsd:annotation>
99
+ </xsd:element>
100
+ <xsd:element name="UnitDetail">
101
+ <xsd:annotation>
102
+ <xsd:documentation>Type, quantity, and price of units being proposed/contracted.</xsd:documentation>
103
+ </xsd:annotation>
104
+ <xsd:complexType>
105
+ <xsd:complexContent mixed="false">
106
+ <xsd:extension base="BaseUnit">
107
+ <xsd:sequence>
108
+ <xsd:element name="GrossPrice" type="xsd:decimal">
109
+ <xsd:annotation>
110
+ <xsd:documentation>Price before any agency discounts have been applied</xsd:documentation>
111
+ </xsd:annotation>
112
+ </xsd:element>
113
+ <xsd:element name="NetPrice" type="xsd:decimal">
114
+ <xsd:annotation>
115
+ <xsd:documentation>Price after agency discount has been applied</xsd:documentation>
116
+ </xsd:annotation>
117
+ </xsd:element>
118
+ <xsd:element minOccurs="0" name="RateCardPrice" type="xsd:decimal">
119
+ <xsd:annotation>
120
+ <xsd:documentation>Commonly available unit price equivalent to a published rate card.</xsd:documentation>
121
+ </xsd:annotation>
122
+ </xsd:element>
123
+ </xsd:sequence>
124
+ </xsd:extension>
125
+ </xsd:complexContent>
126
+ </xsd:complexType>
127
+ </xsd:element>
128
+ <xsd:element name="CostDetail" type="BaseCost" />
129
+ <xsd:element minOccurs="0" name="RateCardCost" type="xsd:decimal">
130
+ <xsd:annotation>
131
+ <xsd:documentation>Projected total cost of the line item if sold at rate card pricing.</xsd:documentation>
132
+ </xsd:annotation>
133
+ </xsd:element>
134
+ <xsd:element minOccurs="0" name="CapCost" type="xsd:decimal">
135
+ <xsd:annotation>
136
+ <xsd:documentation>In some scenarios, such as CPC and CPA cost methods, the parties may agree to cap the cost of the line item.</xsd:documentation>
137
+ </xsd:annotation>
138
+ </xsd:element>
139
+ <xsd:element name="IsGuaranteed" type="xsd:boolean">
140
+ <xsd:annotation>
141
+ <xsd:documentation>Default value is True. False would correspond to a pre-emptible line item.</xsd:documentation>
142
+ </xsd:annotation>
143
+ </xsd:element>
144
+ <xsd:element minOccurs="0" ref="IsBillable" />
145
+ <xsd:element minOccurs="0" ref="ZeroCost" />
146
+ <xsd:element minOccurs="0" name="MakegoodNotes" type="xsd:string">
147
+ <xsd:annotation>
148
+ <xsd:documentation>Used when IsMakegood is True to reference what item(s) are being made good on.</xsd:documentation>
149
+ </xsd:annotation>
150
+ </xsd:element>
151
+ <xsd:element minOccurs="0" name="EstimatedShareOfVoice" type="PercentageType" />
152
+ <xsd:element minOccurs="0" name="PackageName" type="xsd:string">
153
+ <xsd:annotation>
154
+ <xsd:documentation>Used to unify line items that are part of a package</xsd:documentation>
155
+ </xsd:annotation>
156
+ </xsd:element>
157
+ <xsd:element minOccurs="0" name="Dependencies" type="xsd:string">
158
+ <xsd:annotation>
159
+ <xsd:documentation>Notes on the dependency of this line item to other line items or order properties.</xsd:documentation>
160
+ </xsd:annotation>
161
+ </xsd:element>
162
+ <xsd:element minOccurs="0" name="Notes" type="xsd:string">
163
+ <xsd:annotation>
164
+ <xsd:documentation>General notes oabout the media being proposed/contracted.</xsd:documentation>
165
+ </xsd:annotation>
166
+ </xsd:element>
167
+ </xsd:sequence>
168
+ <xsd:attribute default="USD" name="currency" type="CurrencyCodeType" />
169
+ </xsd:complexType>
170
+ <xsd:element name="AdvertiserServingDetails" type="ServingDetailsType">
171
+ <xsd:annotation>
172
+ <xsd:documentation>Used in the proposal and Insertion Order communication, this will detail the intended ad serving and rich media approach of the advertiser/agency.</xsd:documentation>
173
+ </xsd:annotation>
174
+ </xsd:element>
175
+ <xsd:complexType name="ServingDetailsType">
176
+ <xsd:sequence>
177
+ <xsd:element minOccurs="0" name="IntendedAdServer" type="xsd:string" />
178
+ <xsd:element minOccurs="0" name="IntendedRichMedia" type="xsd:string" />
179
+ <xsd:element minOccurs="0" name="ServingNotes" type="xsd:string" />
180
+ </xsd:sequence>
181
+ </xsd:complexType>
182
+ <xsd:element name="CreativeSpecsID" type="EntityIdType">
183
+ <xsd:annotation>
184
+ <xsd:documentation>Instead passing all of the creative specs in the XML communication, the publisher can reference a spec ID in the IAB Creative Specs Database.</xsd:documentation>
185
+ </xsd:annotation>
186
+ </xsd:element>
187
+ <xsd:element name="BaseCreativeDetails" type="BaseCreativeDetailsType" />
188
+ <xsd:complexType name="BaseCreativeDetailsType">
189
+ <xsd:sequence>
190
+ <xsd:element minOccurs="0" ref="CreativeSpecsID" />
191
+ <xsd:element minOccurs="0" name="ThirdPartyServingPolicy">
192
+ <xsd:simpleType>
193
+ <xsd:restriction base="xsd:string">
194
+ <xsd:enumeration value="NotSupported" />
195
+ <xsd:enumeration value="TrackingPixel" />
196
+ <xsd:enumeration value="FullAdTag" />
197
+ </xsd:restriction>
198
+ </xsd:simpleType>
199
+ </xsd:element>
200
+ <xsd:element minOccurs="0" name="SupportedRichMedia" type="xsd:string" />
201
+ <xsd:element minOccurs="0" name="TagType" type="xsd:string" />
202
+ <xsd:element minOccurs="0" name="ServingSurcharges" type="xsd:string" />
203
+ <xsd:element minOccurs="0" name="PagePositioningNotes" type="xsd:string" />
204
+ <xsd:element minOccurs="0" name="MaximumLoops" type="xsd:int" />
205
+ <xsd:element minOccurs="0" name="ExpandedHeight" type="xsd:int">
206
+ <xsd:annotation>
207
+ <xsd:documentation>In pixels.</xsd:documentation>
208
+ </xsd:annotation>
209
+ </xsd:element>
210
+ <xsd:element minOccurs="0" name="ExpandedWidth" type="xsd:int">
211
+ <xsd:annotation>
212
+ <xsd:documentation>In pixels.</xsd:documentation>
213
+ </xsd:annotation>
214
+ </xsd:element>
215
+ <xsd:element minOccurs="0" name="AllowExpandedDirections" type="xsd:string" />
216
+ <xsd:element minOccurs="0" name="MaximumFileSizes">
217
+ <xsd:complexType>
218
+ <xsd:sequence>
219
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="FileSize">
220
+ <xsd:annotation>
221
+ <xsd:documentation>Size in Kilobytes.</xsd:documentation>
222
+ </xsd:annotation>
223
+ <xsd:complexType>
224
+ <xsd:simpleContent>
225
+ <xsd:extension base="xsd:int">
226
+ <xsd:attribute name="fileType">
227
+ <xsd:simpleType>
228
+ <xsd:restriction base="xsd:string">
229
+ <xsd:enumeration value="Rich" />
230
+ <xsd:enumeration value="Image" />
231
+ <xsd:enumeration value="HTML" />
232
+ </xsd:restriction>
233
+ </xsd:simpleType>
234
+ </xsd:attribute>
235
+ </xsd:extension>
236
+ </xsd:simpleContent>
237
+ </xsd:complexType>
238
+ </xsd:element>
239
+ <xsd:element minOccurs="0" name="Notes" />
240
+ </xsd:sequence>
241
+ </xsd:complexType>
242
+ </xsd:element>
243
+ <xsd:element minOccurs="0" name="MaximumAnimationTime" type="xsd:int">
244
+ <xsd:annotation>
245
+ <xsd:documentation>In seconds.</xsd:documentation>
246
+ </xsd:annotation>
247
+ </xsd:element>
248
+ <xsd:element minOccurs="0" name="MaximumFramesPerSecond" type="xsd:int" />
249
+ <xsd:element minOccurs="0" name="MinimumTime" type="xsd:int">
250
+ <xsd:annotation>
251
+ <xsd:documentation>In seconds.</xsd:documentation>
252
+ </xsd:annotation>
253
+ </xsd:element>
254
+ <xsd:element minOccurs="0" name="MaximumTime" type="xsd:int">
255
+ <xsd:annotation>
256
+ <xsd:documentation>In seconds.</xsd:documentation>
257
+ </xsd:annotation>
258
+ </xsd:element>
259
+ <xsd:element minOccurs="0" name="Format" type="xsd:string" />
260
+ <xsd:element minOccurs="0" name="IsRequiredToBePreFormatted" type="xsd:boolean">
261
+ <xsd:annotation>
262
+ <xsd:documentation>Default/missing is false (is not required to be pre-formatted).</xsd:documentation>
263
+ </xsd:annotation>
264
+ </xsd:element>
265
+ <xsd:element minOccurs="0" name="IsClickable" type="xsd:boolean">
266
+ <xsd:annotation>
267
+ <xsd:documentation>Default/missing is false (is not clickable).</xsd:documentation>
268
+ </xsd:annotation>
269
+ </xsd:element>
270
+ <xsd:element minOccurs="0" name="CompanionAds" type="xsd:string" />
271
+ <xsd:element minOccurs="0" name="MaximumAlternativeTextLength" type="xsd:int">
272
+ <xsd:annotation>
273
+ <xsd:documentation>In characters.</xsd:documentation>
274
+ </xsd:annotation>
275
+ </xsd:element>
276
+ <xsd:element minOccurs="0" name="SoundAllowed" type="xsd:string" />
277
+ <xsd:element minOccurs="0" name="MaximumCreativesPerCampaign" type="xsd:int" />
278
+ <xsd:element minOccurs="0" name="ImplementationNotes" type="xsd:string" />
279
+ <xsd:element minOccurs="0" name="CreativeSpecificationNotes" type="xsd:string" />
280
+ </xsd:sequence>
281
+ </xsd:complexType>
282
+ <xsd:element name="CreativeDetails" type="CreativeDetailsType">
283
+ <xsd:annotation>
284
+ <xsd:documentation>Sub element of LineItem used by publisher to communicate the creative specs for line items in proposals.</xsd:documentation>
285
+ </xsd:annotation>
286
+ </xsd:element>
287
+ <xsd:complexType name="CreativeDetailsType">
288
+ <xsd:choice>
289
+ <xsd:element ref="CreativeSpecsID" />
290
+ <xsd:element name="FullDetails" type="BaseCreativeDetailsType" />
291
+ </xsd:choice>
292
+ </xsd:complexType>
293
+ <xsd:element name="LineItem" type="LineItemType">
294
+ <xsd:annotation>
295
+ <xsd:documentation>Represents proposal and insertion order line item details</xsd:documentation>
296
+ </xsd:annotation>
297
+ </xsd:element>
298
+ <xsd:complexType name="LineItemType">
299
+ <xsd:sequence>
300
+ <xsd:element name="PrimaryID" type="EntityIdType">
301
+ <xsd:annotation>
302
+ <xsd:documentation>Publisher line item ID</xsd:documentation>
303
+ </xsd:annotation>
304
+ </xsd:element>
305
+ <xsd:element minOccurs="0" maxOccurs="unbounded" name="OtherID" type="EntityIdType">
306
+ <xsd:annotation>
307
+ <xsd:documentation>For use by additional systems to map line-item IDs together. Can be used for Agency and Partner IDs.</xsd:documentation>
308
+ </xsd:annotation>
309
+ </xsd:element>
310
+ <xsd:element ref="MediaDetails" />
311
+ <xsd:element ref="AdvertiserServingDetails">
312
+ <xsd:annotation>
313
+ <xsd:documentation>Used in the Proposal and Insertion Order communication, this will detail the intended ad serving and rich media approach of the advertiser/agency.</xsd:documentation>
314
+ </xsd:annotation>
315
+ </xsd:element>
316
+ <xsd:element minOccurs="0" name="CreativeDetails" type="CreativeDetailsType">
317
+ <xsd:annotation>
318
+ <xsd:documentation>Creative Specs details</xsd:documentation>
319
+ </xsd:annotation>
320
+ </xsd:element>
321
+ </xsd:sequence>
322
+ </xsd:complexType>
323
+ <xsd:element name="IsBillable" type="xsd:boolean">
324
+ <xsd:annotation>
325
+ <xsd:documentation>Default/Missing value is True. Only need to provide if False.</xsd:documentation>
326
+ </xsd:annotation>
327
+ </xsd:element>
328
+ </xsd:schema>
@@ -0,0 +1,66 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- edited with XMLSpy v2008 rel. 2 sp1 (http://www.altova.com) by Jeremy Fain (IAB) -->
3
+ <!-- Created with Liquid XML Studio 1.0.8.0 (http://www.liquid-technologies.com) -->
4
+ <xsd:schema xmlns:ebm="http://ns.ebizformedia.com" xmlns="http://ns.iab.net" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ns.iab.net" elementFormDefault="qualified" attributeFormDefault="unqualified">
5
+ <xsd:annotation>
6
+ <xsd:documentation>
7
+ "Copyright Interactive Advertising Bureau. All Rights Reserved. http://www.iab.net/ebiz"
8
+ Name: IAB_MessageCommon.xsd
9
+ Date this version: 2008-09-30
10
+ Author(s): Lon Pilot and IAB Ad Ops Council E-Business Working Group
11
+
12
+ Change History:
13
+ NONE
14
+ </xsd:documentation>
15
+ </xsd:annotation>
16
+ <xsd:import namespace="http://ns.ebizformedia.com" schemaLocation="AAAA_Common.xsd"/>
17
+ <xsd:include schemaLocation="IAB_CampaignCommon.xsd"/>
18
+ <xsd:include schemaLocation="IAB_AdvertiserCommon.xsd"/>
19
+ <xsd:include schemaLocation="IAB_PublisherCommon.xsd"/>
20
+ <xsd:element name="IABMessageHeader" type="IABMessageHeaderType">
21
+ <xsd:annotation>
22
+ <xsd:documentation>A header element to be present in all electronic communication for reference and continuity.</xsd:documentation>
23
+ </xsd:annotation>
24
+ </xsd:element>
25
+ <xsd:complexType name="IABMessageHeaderType" mixed="false">
26
+ <xsd:complexContent mixed="false">
27
+ <xsd:extension base="ebm:aaaaMessageType">
28
+ <xsd:sequence>
29
+ <xsd:element name="CreatingSystem" type="xsd:string">
30
+ <xsd:annotation>
31
+ <xsd:documentation>Party that created the message being sent. For problem solving purposes.</xsd:documentation>
32
+ </xsd:annotation>
33
+ </xsd:element>
34
+ <xsd:element name="CreatedDate" type="xsd:dateTime"/>
35
+ </xsd:sequence>
36
+ </xsd:extension>
37
+ </xsd:complexContent>
38
+ </xsd:complexType>
39
+ <xsd:element name="IABMessageBase" type="IABMessageBaseType"/>
40
+ <xsd:complexType name="IABMessageBaseType">
41
+ <xsd:sequence>
42
+ <xsd:element ref="IABMessageHeader"/>
43
+ <xsd:element name="Advertiser" type="IABAdvertiserInfoType">
44
+ <xsd:annotation>
45
+ <xsd:documentation>Includes all information, including contacts, brand and product, on proposal's advertiser.</xsd:documentation>
46
+ </xsd:annotation>
47
+ </xsd:element>
48
+ <xsd:element name="Agency" type="IABPartnerInfoType" minOccurs="0" maxOccurs="3">
49
+ <xsd:annotation>
50
+ <xsd:documentation>Contains all information on agency including contact and role. Multiple agencies can be attached to a proposal.</xsd:documentation>
51
+ </xsd:annotation>
52
+ </xsd:element>
53
+ <xsd:element name="Publisher" type="IABPublisherInfoType">
54
+ <xsd:annotation>
55
+ <xsd:documentation>Conations all information on publisher including contact and properties for proposal.</xsd:documentation>
56
+ </xsd:annotation>
57
+ </xsd:element>
58
+ <xsd:element name="Partner" type="IABPartnerInfoType" minOccurs="0" maxOccurs="unbounded">
59
+ <xsd:annotation>
60
+ <xsd:documentation>Used to add contact and role information for additional companies involved in the campaign/proposal.</xsd:documentation>
61
+ </xsd:annotation>
62
+ </xsd:element>
63
+ <xsd:element ref="CampaignReferenceInfo"/>
64
+ </xsd:sequence>
65
+ </xsd:complexType>
66
+ </xsd:schema>