2023-INGIPRO-docs/XSD/forms/doc/ActAcceptWork.xsd
2024-06-07 20:33:18 +03:00

151 lines
6.9 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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="ActAcceptWork" type="forms:ActAcceptWork">
<xs:annotation><xs:documentation xml:lang="ru">
<term>акт приемки выполненных работ (КС-2)</term>
</xs:documentation></xs:annotation>
</xs:element>
<xs:complexType name="ActAcceptWork">
<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="DocumentForm">
<xs:complexType><xs:sequence>
<xs:element name="OKUD" type="share:OKUD" fixed="0322005"/>
</xs:sequence></xs:complexType>
</xs:element>
<!-- CHECK: потребовать наличие договора подряда (и доп. соглашения) как основания -->
<xs:element name="DocumentGround" type="doc:Ground" maxOccurs="unbounded"/>
<xs:element name="Body">
<xs:complexType><xs:sequence>
<xs:element name="CapitalConstructionObject">
<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>
<!-- CHECK: содержит Сustomer, Developer, Builder -->
<xs:element name="Parties" type="forms:Parties"/>
<xs:element name="ActivityType">
<xs:complexType>
<xs:sequence>
<xs:element name="Ground" type="doc:Ground" maxOccurs="unbounded"/>
<xs:element name="Value" type="share:OKVED"/>
</xs:sequence>
<xs:attribute name="elementType" fixed="RecurringElement" type="doc:ElementType" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="OperationType" type="base:String" minOccurs="0">
<!-- INFO: ??поле не имеет инструкций по заполнению и является опциональным -->
<xs:annotation><xs:documentation xml:lang="ru">
<term>вид операции</term>
</xs:documentation></xs:annotation>
</xs:element>
<xs:element name="ReportingPeriod">
<xs:annotation><xs:documentation xml:lang="ru">
<term>отчетный период</term>
</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Entity">
<xs:complexType><xs:sequence>
<xs:element name="DateStart" type="base:Date"/>
<xs:element name="DateFinish" type="base:Date"/>
</xs:sequence></xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="elementType" fixed="PrimaryElement" type="doc:ElementType" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="EstimateCost">
<xs:annotation><xs:documentation xml:lang="ru">
<term>сметная стоимость в соответствии с договором</term>
</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Value" type="base:Price"/>
</xs:sequence>
<xs:attribute name="elementType" fixed="PrimaryElement" type="doc:ElementType" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="WorkDetailsPivot">
<xs:annotation><xs:documentation xml:lang="ru">
<term>сводная таблица работ</term>
</xs:documentation></xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Pivot" type="forms:WorkDetailsPivot"/>
</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="Signature" type="doc:SignatureProperty" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="WorkDetailsPivot">
<xs:complexContent><xs:restriction base="base:PivotTable">
<xs:sequence>
<xs:element name="ItemSchema" fixed="forms:WorkEntry" type="base:QNameXML"/>
<xs:element name="Items" type="base:PivotItems"/>
<xs:element name="Summary" type="base:AnyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:restriction></xs:complexContent>
</xs:complexType>
<xs:complexType name="WorkEntry">
<xs:annotation><xs:documentation xml:lang="ru">
<term>структура записи о работе</term>
</xs:documentation></xs:annotation>
<xs:sequence>
<!-- INFO: все значения цен предполагаются в рублях по умолчанию -->
<xs:element name="EntryID" type="base:String" nillable="true"/>
<xs:element name="EntryName" type="base:String"/>
<xs:element name="UnitOfMeasurement" type="base:String" minOccurs="0"/>
<xs:element name="Scope" type="base:Decimal" minOccurs="0"/>
<xs:element name="PricePerUnit" type="base:Decimal" minOccurs="0"/>
<xs:element name="PriceTotal" type="base:Decimal" minOccurs="0"/>
<xs:element name="ScopeCompleted" type="base:Decimal" minOccurs="0"/>
<xs:element name="PriceCompleted" type="base:Decimal" minOccurs="0"/>
<xs:element name="ScopeCompletedInPeriod" type="base:Decimal" minOccurs="0"/>
<xs:element name="PriceCompletedInPeriod" type="base:Decimal" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>