Skip to content

Commit

Permalink
upd xsd for aggregated (AVVISO SPID n. 19, 22)
Browse files Browse the repository at this point in the history
  • Loading branch information
damikael committed Aug 20, 2020
1 parent bb3d72a commit 25e5ab9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@
<element ref="spid:VATNumber" minOccurs="0"/>
<element ref="spid:IPACode" minOccurs="0"/>
<element ref="spid:FiscalCode" minOccurs="0"/>
<choice minOccurs="0" maxOccurs="1">
<element ref="spid:PublicServicesFullAggregator"/>
<element ref="spid:PublicServicesLightAggregator"/>
<element ref="spid:PrivateServicesFullAggregator"/>
<element ref="spid:PrivateServicesLightAggregator"/>
<element ref="spid:PublicServicesFullOperator"/>
<element ref="spid:PublicServicesLightOperator"/>
</choice>
</sequence>
</complexType>

Expand Down Expand Up @@ -105,11 +113,11 @@
<choice>
<choice maxOccurs="unbounded">
<element ref="md:RoleDescriptor"/>
<element ref="md:SPSSODescriptor"/>
<element ref="md:SPSSODescriptor"/>
</choice>
</choice>
<element ref="md:Organization" minOccurs="1" maxOccurs="1"/>
<element ref="md:ContactPerson" minOccurs="2" maxOccurs="2"/>
<element ref="md:ContactPerson" minOccurs="2" maxOccurs="3"/>
</sequence>
<attribute name="entityID" type="md:entityIDType" use="required"/>
<attribute name="validUntil" type="dateTime" use="optional"/>
Expand All @@ -134,17 +142,22 @@
<element name="ContactPerson" type="md:ContactType"/>
<complexType name="ContactType">
<sequence>
<element ref="md:Company" minOccurs="1" maxOccurs="1"/>
<element ref="md:Extensions" minOccurs="1" maxOccurs="1"/>
<element ref="md:Company" minOccurs="1" maxOccurs="1"/>
<element ref="md:EmailAddress" minOccurs="0" maxOccurs="1"/>
<element ref="md:TelephoneNumber" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="contactType" type="md:ContactTypeType" use="required"/>
<attribute ref="spid:entityType" use="required" />
<anyAttribute namespace="##other" processContents="lax"/>
</complexType>
<element name="Company" type="string"/>
<element name="EmailAddress" type="string"/>
<element name="TelephoneNumber" type="string"/>
<simpleType name="ContactTypeType">
<restriction base="string">
<enumeration value="other"/>
<enumeration value="billing"/>
</restriction>
</simpleType>

Expand All @@ -162,7 +175,7 @@
<attribute name="cacheDuration" type="duration" use="optional"/>
<attribute name="protocolSupportEnumeration" type="md:anyURIListType" use="required"/>
<attribute name="errorURL" type="anyURI" use="optional"/>
<anyAttribute namespace="##other" processContents="lax"/>
<anyAttribute namespace="##other" processContents="lax"/>
</complexType>
<simpleType name="anyURIListType">
<list itemType="anyURI"/>
Expand Down
7 changes: 7 additions & 0 deletions specs-compliance-tests/xsd/spid.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,12 @@
<element name="VATNumber" type="string"/>
<element name="IPACode" type="string"/>
<element name="FiscalCode" type="string"/>

<element name="PublicServicesFullAggregator" type="string" fixed=""/>
<element name="PublicServicesLightAggregator" type="string" fixed=""/>
<element name="PrivateServicesFullAggregator" type="string" fixed=""/>
<element name="PrivateServicesLightAggregator" type="string" fixed=""/>
<element name="PublicServicesFullOperator" type="string" fixed=""/>
<element name="PublicServicesLightOperator" type="string" fixed=""/>

</schema>

0 comments on commit 25e5ab9

Please sign in to comment.