opc-relationships.xsd 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/relationships"
  3. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  4. targetNamespace="http://schemas.openxmlformats.org/package/2006/relationships"
  5. elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
  6. <xsd:element name="Relationships" type="CT_Relationships"/>
  7. <xsd:element name="Relationship" type="CT_Relationship"/>
  8. <xsd:complexType name="CT_Relationships">
  9. <xsd:sequence>
  10. <xsd:element ref="Relationship" minOccurs="0" maxOccurs="unbounded"/>
  11. </xsd:sequence>
  12. </xsd:complexType>
  13. <xsd:complexType name="CT_Relationship">
  14. <xsd:simpleContent>
  15. <xsd:extension base="xsd:string">
  16. <xsd:attribute name="TargetMode" type="ST_TargetMode" use="optional"/>
  17. <xsd:attribute name="Target" type="xsd:anyURI" use="required"/>
  18. <xsd:attribute name="Type" type="xsd:anyURI" use="required"/>
  19. <xsd:attribute name="Id" type="xsd:ID" use="required"/>
  20. </xsd:extension>
  21. </xsd:simpleContent>
  22. </xsd:complexType>
  23. <xsd:simpleType name="ST_TargetMode">
  24. <xsd:restriction base="xsd:string">
  25. <xsd:enumeration value="External"/>
  26. <xsd:enumeration value="Internal"/>
  27. </xsd:restriction>
  28. </xsd:simpleType>
  29. </xsd:schema>