2023-INGIPRO-docs/XSD/forms/GenericAct.xsd

162 lines
7.8 KiB
XML
Raw Permalink Normal View History

2024-06-07 20:33:18 +03:00
<?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\GenericDocument.xsd"/>
<xs:element name="GenericAct" type="forms:Act">
<xs:annotation><xs:documentation xml:lang="ru">
<term>обобщенная форма акта</term>
</xs:documentation></xs:annotation>
</xs:element>
<xs:complexType name="Act">
<xs:annotation><xs:appinfo>
<parentSchema>doc:Document</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="Status" type="doc:DocumentStatus" minOccurs="0"/>
<xs:element name="DocumentForm" type="base:AnyType" minOccurs="0"/>
<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"/>
<xs:element name="Parties" type="forms:Parties"/>
<xs:element name="Participants" type="forms:Participants"/>
<!-- CHECK: проверить, что все элементы списка Parties имеют представителей + представитель исполнителя работ. В некоторых случаях есть отдельно представители по стройконтролю -->
<xs:element name="Contents">
<xs:annotation><xs:documentation xml:lang="ru">
<term>содержание акта</term>
</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<!-- CHECK: обязательно внутри Entity должен быть Verdict -->
<xs:element name="Entity" type="base:AnyType"/>
</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"/>
<!-- CHECK: сделать подписи в соответствии со списком подписывающих представителей -->
</xs:sequence>
</xs:complexType>
<xs:complexType name="CapitalConstructionObject">
<xs:annotation><xs:documentation xml:lang="ru">
<term>объект капитального строительства</term>
</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="Ground" type="doc:Ground" minOccurs="0" 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:complexType name="TasksList">
<xs:annotation><xs:documentation xml:lang="ru">
<term>список работ</term>
</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="Task" type="sem:ReferenceTask" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ProjectReferences">
<xs:annotation><xs:documentation xml:lang="ru">
<term>перечень регламентирующей проектной документации</term>
</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="Document" type="doc:ReferenceDocument" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MaterialsUsed">
<xs:annotation><xs:documentation xml:lang="ru">
<term>перечень описаний примененных материалов</term>
</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="Material" type="sem:ReferenceProduct" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Evidence">
<xs:annotation><xs:documentation xml:lang="ru">
<term>перечень документов, подтверждающих соответствие освидетельствуемых работ требованиям</term>
</xs:documentation></xs:annotation>
<xs:complexContent><xs:extension base="doc:DocumentsList"/></xs:complexContent>
</xs:complexType>
<xs:complexType name="HiddenTasks">
<!-- CHECK: проверить, что для каждой работы есть акт освидетельствования скрытых работ -->
<xs:annotation><xs:documentation xml:lang="ru">
<term>перечень освидетельствованных скрытых работ, которые оказывают влияние на безопасность конструкций</term>
</xs:documentation></xs:annotation>
<xs:complexContent><xs:extension base="forms:TasksList"/></xs:complexContent>
</xs:complexType>
<xs:complexType name="Tests">
<xs:annotation><xs:documentation xml:lang="ru">
<term>перечень испытаний и опробований</term>
</xs:documentation></xs:annotation>
<xs:complexContent><xs:extension base="doc:DocumentsList"/></xs:complexContent>
</xs:complexType>
<xs:complexType name="ComplianceReferences">
<xs:annotation><xs:documentation xml:lang="ru">
<term>перечень нормативных документов, содержащих требования к освидетельствуемым работам</term>
</xs:documentation></xs:annotation>
<xs:complexContent><xs:extension base="doc:DocumentsList"/></xs:complexContent>
</xs:complexType>
<xs:complexType name="GreenlightTasks">
<xs:annotation><xs:documentation xml:lang="ru">
<term>перечень отсылок к разрешаемым работам</term>
</xs:documentation></xs:annotation>
<xs:complexContent><xs:extension base="forms:TasksList"/></xs:complexContent>
</xs:complexType>
<xs:complexType name="Verdict">
<xs:annotation><xs:documentation xml:lang="ru">
<term>заключение</term>
</xs:documentation></xs:annotation>
<xs:complexContent><xs:extension base="base:AnyType"/></xs:complexContent>
</xs:complexType>
<xs:simpleType name="AdditionalInfo">
<xs:annotation>
<xs:documentation xml:lang="ru">
<term>дополнительные сведения</term>
</xs:documentation>
<xs:appinfo>
<nillRepresentation>отсутствуют</nillRepresentation>
</xs:appinfo>
</xs:annotation>
<xs:restriction base="base:String"/>
</xs:simpleType>
</xs:schema>