chinaport-data-signature/doc/海关总署xml报文(202205版)/附件2 海关跨境电商统一版系统企业对接报文规范(202205版)/xsd202205/海关跨境传输节点报文定义202205.xsd
julian 7b33b530fa [feature] 将海关跨境电商统一版系统企业对接报文规范更新到 202205 版,含历史文档 2018 版,方便开发者查阅
[feature] yaml配置参数精简,修改元数据备注,更利于理解
[feature] 303出口单同步更新“企业对接报文规范(202205版)”中的备注
[feature] 更新README描述
2023-08-05 13:47:46 +08:00

85 lines
3.1 KiB
XML
Raw Permalink 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"?>
<!-- edited with XMLSpy v2008 rel. 2 sp2 (http://www.altova.com) by chenguanlin (EPORT) -->
<xs:schema xmlns:dxp="http://www.chinaport.gov.cn/dxp" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.chinaport.gov.cn/dxp" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="终端节点报文.xsd"/>
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
<xs:element name="DxpMsgSv">
<xs:annotation>
<xs:documentation>服务器传输报文</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="SvNo" type="dxp:SvNoType">
<xs:annotation>
<xs:documentation>服务器节点,都由服务器节点生成</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="dxp:DxpMsg"/>
<xs:element ref="ds:Signature" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="ver" type="xs:string" use="required" fixed="1.0"/>
<xs:attribute name="Id" type="xs:ID"/>
</xs:complexType>
</xs:element>
<xs:complexType name="SvNoType">
<xs:annotation>
<xs:documentation>ServerNode</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="MsgId">
<xs:annotation>
<xs:documentation>报文在交换平台的唯一id号:8位节点id+时间yyyymmddhh24mmss+10位序列
共32位</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="32"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SubMsgId" minOccurs="0">
<xs:annotation>
<xs:documentation>分拆报文的报文id用于多个接收者时</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SendTime" type="xs:dateTime">
<xs:annotation>
<xs:documentation>报文处理时间,暂不更新,由接入节点填入</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EndNode">
<xs:annotation>
<xs:documentation>报文目的服务器节点</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="8"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="StaNode">
<xs:annotation>
<xs:documentation>报文接入服务器节点</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="8"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attribute name="Ver" type="xs:string" use="required" fixed="1.0">
<xs:annotation>
<xs:documentation>服务器节点版本</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:schema>