Skip to content
Permalink
Browse files

La til xsd for ASiC manifest

  • Loading branch information...
landro committed Mar 29, 2014
1 parent 5edc6b7 commit 4a9b19e9a099722ddbac49aa5247b5a18f8508b5
Showing with 65 additions and 0 deletions.
  1. +65 −0 xsd/ts_102918v010201.xsd
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://uri.etsi.org/2918/v1.2.1#"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://uri.etsi.org/2918/v1.2.1#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
<xsd:element name="ASiCManifest" type="ASiCManifestType">
<xsd:annotation>
<xsd:documentation>Schema for ASiC-E with CAdES specifying content for ASiCManifest.xml</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ASiCManifestType">
<xsd:sequence>
<xsd:element ref="SigReference"/>
<xsd:element ref="DataObjectReference" maxOccurs="unbounded"/>
<xsd:element name="ASiCManifestExtensions" type="ExtensionsListType" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="SigReference" type="SigReferenceType"/>
<xsd:complexType name="SigReferenceType">
<xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
<xsd:attribute name="MimeType" type="xsd:string" use="optional"/>
</xsd:complexType>
<xsd:element name="DataObjectReference" type="DataObjectReferenceType"/>
<xsd:complexType name="DataObjectReferenceType">
<xsd:sequence>
<xsd:element ref="ds:DigestMethod"/>
<xsd:element ref="ds:DigestValue"/>
<xsd:element name="DataObjectReferenceExtensions" type="ExtensionsListType"
minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
<xsd:attribute name="MimeType" type="xsd:string" use="optional"/>
<xsd:attribute name="Rootfile" type="xsd:boolean" use="optional"/>
</xsd:complexType>
<xsd:complexType name="AnyType" mixed="true">
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:any processContents="lax"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="Extension" type="ExtensionType"/>
<xsd:complexType name="ExtensionType">
<xsd:complexContent>
<xsd:extension base="AnyType">
<xsd:attribute name="Critical" type="xsd:boolean" use="required"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ExtensionsListType">
<xsd:sequence>
<xsd:element ref="Extension" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="XAdESSignatures" type="XAdESSignaturesType">
<xsd:annotation>
<xsd:documentation>Schema for ASiC-E with XAdES to include one or more XML signatures in *signatures*.xml</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="XAdESSignaturesType">
<xsd:sequence>
<xsd:element ref="ds:Signature" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>

0 comments on commit 4a9b19e

Please sign in to comment.
You can’t perform that action at this time.