oadr_siscale_20b.xsd 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Energy Market Information Exchange (EMIX) Version 1.0
  4. Committee Specification Draft 04 / Public Review 04
  5. 08 September 2011
  6. Copyright (c) OASIS Open 2011. All Rights Reserved.
  7. Source: http://docs.oasis-open.org/emix/emix/v1.0/csprd04/xsd/
  8. -->
  9. <!-- ====================================================================== -->
  10. <!-- ===== SI Scale Code List Schema Module ===== -->
  11. <!-- ====================================================================== -->
  12. <!--
  13. Schema agency: OASIS EMIX TC
  14. Schema version: 1.0
  15. Schema date: 7 September 2011
  16. Purpose: Enumerates scale factors for Units based on the International System of Units (SI) (originally Le Système International d'Unités)
  17. It would be well if there were a common non-emix genericode Si Scale schema to refer to for this, but the editor is aware of none.
  18. -->
  19. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale" targetNamespace="http://docs.oasis-open.org/ns/emix/2011/06/siscale" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
  20. <!-- ======================================================================= -->
  21. <!-- ===== Element Declarations ===== -->
  22. <!-- ======================================================================= -->
  23. <!-- ===== Root Element ===== -->
  24. <!-- ======================================================================= -->
  25. <xs:element name="siScaleCode" type="scale:SiScaleCodeType"/>
  26. <!-- ================================================================== -->
  27. <!-- ===== Type Definitions ===== -->
  28. <!-- ================================================================== -->
  29. <!-- ===== Type Definition: ISO 3 alpha currency code Content Type ===== -->
  30. <!-- ================================================================== -->
  31. <xs:simpleType name="SiScaleCodeType">
  32. <xs:annotation>
  33. <xs:documentation>Scale based on representations of SI scale as expressed in the unit multipliers</xs:documentation>
  34. <xs:documentation xml:lang="en">enumeration</xs:documentation>
  35. </xs:annotation>
  36. <xs:restriction base="xs:string">
  37. <xs:enumeration value="p">
  38. <xs:annotation>
  39. <xs:documentation>Pico 10**-12</xs:documentation>
  40. <xs:appinfo>-12</xs:appinfo>
  41. </xs:annotation>
  42. </xs:enumeration>
  43. <xs:enumeration value="n">
  44. <xs:annotation>
  45. <xs:documentation>Nano 10**-9</xs:documentation>
  46. <xs:appinfo>-9</xs:appinfo>
  47. </xs:annotation>
  48. </xs:enumeration>
  49. <xs:enumeration value="micro">
  50. <xs:annotation>
  51. <xs:documentation>Micro 10**-6</xs:documentation>
  52. <xs:appinfo>-6</xs:appinfo>
  53. </xs:annotation>
  54. </xs:enumeration>
  55. <xs:enumeration value="m">
  56. <xs:annotation>
  57. <xs:documentation>Milli 10**-3</xs:documentation>
  58. <xs:appinfo>-3</xs:appinfo>
  59. </xs:annotation>
  60. </xs:enumeration>
  61. <xs:enumeration value="c">
  62. <xs:annotation>
  63. <xs:documentation>Centi 10**-2</xs:documentation>
  64. <xs:appinfo>-2</xs:appinfo>
  65. </xs:annotation>
  66. </xs:enumeration>
  67. <xs:enumeration value="d">
  68. <xs:annotation>
  69. <xs:documentation>Deci 10**-1</xs:documentation>
  70. <xs:appinfo>-1</xs:appinfo>
  71. </xs:annotation>
  72. </xs:enumeration>
  73. <xs:enumeration value="k">
  74. <xs:annotation>
  75. <xs:documentation>Kilo 10**3</xs:documentation>
  76. <xs:appinfo>3</xs:appinfo>
  77. </xs:annotation>
  78. </xs:enumeration>
  79. <xs:enumeration value="M">
  80. <xs:annotation>
  81. <xs:documentation>Mega 10**6</xs:documentation>
  82. <xs:appinfo>6</xs:appinfo>
  83. </xs:annotation>
  84. </xs:enumeration>
  85. <xs:enumeration value="G">
  86. <xs:annotation>
  87. <xs:documentation>Giga 10**9</xs:documentation>
  88. <xs:appinfo>9</xs:appinfo>
  89. </xs:annotation>
  90. </xs:enumeration>
  91. <xs:enumeration value="T">
  92. <xs:annotation>
  93. <xs:documentation>Tera 10**12</xs:documentation>
  94. <xs:appinfo>12</xs:appinfo>
  95. </xs:annotation>
  96. </xs:enumeration>
  97. <xs:enumeration value="none">
  98. <xs:annotation>
  99. <xs:documentation>Native Scale</xs:documentation>
  100. <xs:appinfo>0</xs:appinfo>
  101. </xs:annotation>
  102. </xs:enumeration>
  103. </xs:restriction>
  104. </xs:simpleType>
  105. </xs:schema>