190 lines
9.2 KiB
XML
190 lines
9.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
xmlns:base="http://www.ingipro.com/test/base"
|
|
xmlns:doc="http://www.ingipro.com/test/doc"
|
|
xmlns:share="http://www.ingipro.com/test/share"
|
|
xmlns:sem="http://www.ingipro.com/test/sem"
|
|
xmlns:forms="http://www.ingipro.com/test/forms"
|
|
targetNamespace="http://www.ingipro.com/test/forms">
|
|
|
|
<xs:import namespace="http://www.ingipro.com/test/base" schemaLocation="D:\DEV\!WORK\INGIPRO\XSD\platform\PlatformBasics.xsd"/>
|
|
<xs:import namespace="http://www.ingipro.com/test/doc" schemaLocation="D:\DEV\!WORK\INGIPRO\XSD\platform\DocumentationElements.xsd"/>
|
|
<xs:import namespace="http://www.ingipro.com/test/sem" schemaLocation="D:\DEV\!WORK\INGIPRO\XSD\platform\SemanticElements.xsd"/>
|
|
<xs:import namespace="http://www.ingipro.com/test/share" schemaLocation="D:\DEV\!WORK\INGIPRO\XSD\platform\CommonTypes.xsd"/>
|
|
|
|
<xs:include schemaLocation="D:\DEV\!WORK\INGIPRO\XSD\forms\GenericAct.xsd"/>
|
|
|
|
<xs:element name="ActWiringInstallation" type="forms:ActWiringInstallation">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>акт технической готовности электромонтажных работ</term>
|
|
</xs:documentation></xs:annotation>
|
|
</xs:element>
|
|
|
|
<xs:complexType name="ActWiringInstallation">
|
|
<xs:annotation><xs:appinfo>
|
|
<parentSchema>forms:Act</parentSchema>
|
|
</xs:appinfo></xs:annotation>
|
|
|
|
<xs:sequence>
|
|
<xs:element name="DocumentLink" type="base:ExternalLink" minOccurs="0" maxOccurs="unbounded"/>
|
|
<xs:element name="DocumentTitle" type="doc:DocumentTitle"/>
|
|
<xs:element name="DocumentIndex" type="doc:DocumentIndex"/>
|
|
<xs:element name="DateIssue" type="base:Date"/>
|
|
<xs:element name="DocumentGround" type="doc:Ground" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
<xs:element name="Body">
|
|
<xs:complexType><xs:sequence>
|
|
<xs:element name="CapitalConstructionObject" type="forms:CapitalConstructionObject"/>
|
|
<!-- CHECK: содержит Developer, Builder, Designer, CustomerController -->
|
|
<xs:element name="Parties" type="forms:Parties"/>
|
|
<xs:element name="Participants" type="forms:Participants"/>
|
|
|
|
<xs:element name="Contents">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>содержание акта</term>
|
|
</xs:documentation></xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Entity" type="forms:WiringInstallation"/>
|
|
</xs:sequence>
|
|
<xs:attribute name="elementType" fixed="PrimaryElement" type="doc:ElementType" use="required"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
<xs:element name="AttachmentsList" type="doc:AttachmentsList" nillable="true"/>
|
|
<xs:element name="Signature" type="doc:SignatureProperty" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="WiringInstallation">
|
|
<xs:sequence>
|
|
<xs:element name="TasksComplete" type="forms:TasksList">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>перечень выполненых работ</term>
|
|
</xs:documentation></xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ProjectReferences" type="forms:ProjectReferences"/>
|
|
<!-- TODO: добавить ограничения, предписывающие использовать определнные формы для приложений -->
|
|
<xs:element name="Deviations" type="doc:ReferenceAttachment" nillable="true">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>отступления от проекта</term>
|
|
</xs:documentation></xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="TechnicalDocumentation" type="doc:ReferenceAttachment">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>проверенная техническая документация</term>
|
|
</xs:documentation></xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="EquipmentTests" type="doc:DocumentsList" nillable="true">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>индивидуальные испытания электрооборудования</term>
|
|
</xs:documentation></xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="NonBlockingIssues" type="doc:ReferenceAttachment" nillable="true">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>остающиеся недостатки, не препятствующие комплексному опробованию</term>
|
|
</xs:documentation></xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="EquipmentSheet" type="doc:ReferenceAttachment" nillable="true">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>ведомость смонтированного оборудования</term>
|
|
</xs:documentation></xs:annotation>
|
|
</xs:element>
|
|
|
|
<xs:element name="Verdict">
|
|
<xs:annotation><xs:appinfo>
|
|
<parentSchema>forms:Verdict</parentSchema>
|
|
</xs:appinfo></xs:annotation>
|
|
<xs:complexType><xs:sequence>
|
|
<xs:element name="Statement" type="base:AnyType" maxOccurs="unbounded"/>
|
|
</xs:sequence></xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:element name="SheetNonBlockingWiringIssues">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>Ведомость электромонтажных недоделок, не препятствующих комплексному опробованию</term>
|
|
</xs:documentation></xs:annotation>
|
|
|
|
<xs:complexType>
|
|
<xs:annotation><xs:appinfo>
|
|
<parentSchema>doc:Document</parentSchema>
|
|
</xs:appinfo></xs:annotation>
|
|
|
|
<xs:sequence>
|
|
<xs:element name="DocumentID" type="doc:DocumentTitle"/>
|
|
<xs:element name="DateIssue" type="base:Date"/>
|
|
<xs:element name="DocumentGround" type="doc:Ground" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
|
<xs:element name="Body">
|
|
<xs:complexType><xs:sequence>
|
|
<xs:element name="CPProject">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>объект капитального строительства</term>
|
|
</xs:documentation></xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Ground" type="doc:Ground" maxOccurs="unbounded"/>
|
|
<xs:element name="Entity" type="sem:ReferenceCCObject"/>
|
|
</xs:sequence>
|
|
<xs:attribute name="elementType" fixed="RecurringElement" type="doc:ElementType" use="required"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
<xs:element name="Parties">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>стороны-участники акта</term>
|
|
</xs:documentation></xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Ground" type="doc:Ground" maxOccurs="unbounded"/>
|
|
<xs:element name="List">
|
|
<xs:complexType><xs:sequence>
|
|
<xs:element name="ExecutorID" type="base:String"/>
|
|
<xs:element name="CustomerID" type="base:String"/>
|
|
</xs:sequence></xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
<xs:attribute name="elementType" fixed="RecurringElement" type="doc:ElementType" use="required"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
<xs:element name="Registry">
|
|
<xs:annotation><xs:documentation xml:lang="ru">
|
|
<term>представители, принимающие участие в актируемой деятельности</term>
|
|
</xs:documentation></xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="List">
|
|
<xs:complexType><xs:sequence>
|
|
<xs:element name="Issue" minOccurs="0" maxOccurs="unbounded">
|
|
<xs:complexType><xs:sequence>
|
|
<xs:element name="IssueID" type="base:IndexNumber"/>
|
|
<xs:element name="Description" type="base:String"/>
|
|
<xs:element name="DateTargetResolve" type="base:Date"/>
|
|
<!-- TODO: разобраться в какой форме указывается "кто устраняет" -->
|
|
<xs:element name="ResponsibleMitigator" type="base:String"/>
|
|
</xs:sequence></xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence></xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
<xs:attribute name="elementType" fixed="PrimaryElement" type="doc:ElementType" use="required"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
</xs:sequence></xs:complexType>
|
|
</xs:element>
|
|
|
|
<!-- TODO: требования к списку подписантов -->
|
|
<xs:element name="Signature" type="doc:SignatureProperty" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
</xs:schema> |