credit_tracker/signal-package.xsd

71 lines
3.8 KiB
XML

<?xml version="1.0" encoding="windows-1251"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="Signals">
<xs:complexType>
<xs:sequence>
<xs:element name="Id" type="xs:string"/>
<xs:element name="Auth">
<xs:complexType>
<xs:sequence>
<xs:element name="User" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Conditions">
<xs:complexType>
<xs:sequence>
<xs:element name="Persons">
<xs:complexType>
<xs:sequence>
<xs:element name="p" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<!-- Îáÿçàòåëüíûå áàçîâûå àòðèáóòû -->
<xs:attribute name="uid" type="xs:string" use="required"/>
<xs:attribute name="s" type="xs:string" use="required"/>
<xs:attribute name="n" type="xs:string" use="required"/>
<xs:attribute name="m" type="xs:string" use="optional"/>
<xs:attribute name="d" type="xs:date" use="required"/>
<xs:attribute name="pn" type="xs:string" use="required"/>
<xs:attribute name="pd" type="xs:date" use="required"/>
<xs:attribute name="dt" type="xs:string" use="required"/>
<xs:attribute name="ip" type="xs:string" use="required"/>
<!-- Àòðèáóòû ñîãëàñèÿ -->
<xs:attribute name="consentDate" type="xs:date" use="optional"/>
<xs:attribute name="consentPurpose" type="xs:string" use="optional"/>
<xs:attribute name="reportUser" type="xs:string" use="optional"/>
<xs:attribute name="liability" type="xs:string" use="optional"/>
<xs:attribute name="consentPeriod" type="xs:string" use="optional"/>
<xs:attribute name="agrDate" type="xs:string" use="optional"/>
<xs:attribute name="reportUserRegNum" type="xs:string" use="optional"/>
<xs:attribute name="reportUserTaxID" type="xs:string" use="optional"/>
<xs:attribute name="consentHash" type="xs:string" use="optional"/>
<xs:attribute name="cS" type="xs:string" use="optional"/>
<xs:attribute name="consentN" type="xs:string" use="optional"/>
<xs:attribute name="consentM" type="xs:string" use="optional"/>
<xs:attribute name="consentBd" type="xs:date" use="optional"/>
<xs:attribute name="consentPn" type="xs:string" use="optional"/>
<xs:attribute name="consentPd" type="xs:date" use="optional"/>
<xs:attribute name="consentDt" type="xs:string" use="optional"/>
<xs:attribute name="inqPurpose" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="online" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>