xds文件

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema xmlns="http://www.huawei.com/cms/DataSync" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.huawei.com/" targetNamespace="http://www.huawei.com/cms/DataSync" elementFormDefault="qualified" attributeFormDefault="unqualified">
 <!--
        接口方向:BMS to portal
        IB的操作约定:
        如果是新增,那么操作是add
        如果是修改(在草稿状态下),那么操作是modify  
        如果是删除,那么操作是delete.(如果删除的是父分类,那么接收端需要将子分类一起删除,发送端不会再单独发送子分类的删除通知)      
    --> 
 <xs:element name="categoryRequest" type="commonCategoryRequest"/>
 <xs:complexType name="commonCategoryRequest">
  <xs:sequence>
   <xs:element name="categoryRec" type="categoryRec" maxOccurs="unbounded"/>
  </xs:sequence>
 </xs:complexType>
 <xs:complexType name="categoryRec">
  <xs:sequence>
   <xs:element ref="streamingNo"/>
   <xs:element ref="commonCategoryInfo"/>
  </xs:sequence>
 </xs:complexType>
 <xs:element name="streamingNo" type="xs:string">
  <xs:annotation>
   <xs:documentation>记录流水号.</xs:documentation>
  </xs:annotation>
 </xs:element>
 <xs:element name="commonCategoryInfo" type="CommonCategoryInfo">
  <xs:annotation>
   <xs:documentation>业务分类信息.</xs:documentation>
  </xs:annotation>
 </xs:element>
 <xs:complexType name="CommonCategoryInfo">
  <xs:sequence>
   <xs:element ref="categoryID"/>
   <xs:element ref="categoryName" maxOccurs="unbounded"/>
   <xs:element ref="categoryType"/>
   <xs:element ref="fatherID" minOccurs="0"/>
   <xs:element ref="createtime"/>
   <xs:element ref="operatorID" minOccurs="0"/>
   <xs:element name="extElements" type="anyElement" minOccurs="0">
                <xs:annotation>
     <xs:documentation>
         xml tag      length          type        description
      iconFile     256             String      icon URL of the genre (directory in portal)
                        sequence     10              String      sequence number of this node in its parent genre
                        status       4               int   whether be displayed in portal, 0-NOT, 1-YES    
     </xs:documentation>
    </xs:annotation>
   </xs:element>   
  </xs:sequence>
 </xs:complexType>
 <xs:element name="categoryID" type="xs:string">
  <xs:annotation>
   <xs:documentation>业务分类ID</xs:documentation>
  </xs:annotation>
 </xs:element>
 <xs:element name="categoryName" type="dialectType">
  <xs:annotation>
   <xs:documentation>业务分类名称</xs:documentation>
  </xs:annotation>
 </xs:element>
 <xs:element name="categoryType" type="xs:int">
  <xs:annotation>
   <xs:documentation>分类的类型,0:业务分类,将来可能有应用的分类</xs:documentation>
  </xs:annotation>
 </xs:element>
 <xs:element name="fatherID" type="xs:string">
  <xs:annotation>
   <xs:documentation>父节点ID.</xs:documentation>
  </xs:annotation>
 </xs:element>
 <xs:element name="createtime" type="xs:string">
  <xs:annotation>
   <xs:documentation>创建时间,格式为yyyyMMddHHmmss。UTC 时间</xs:documentation>
  </xs:annotation>
 </xs:element>
 
 <xs:element name="operatorID" type="xs:string">
  <xs:annotation>
   <xs:documentation>子网ID</xs:documentation>
  </xs:annotation>
 </xs:element>
 
 <xs:complexType name="dialectType">
  <xs:annotation>
   <xs:documentation>多语言描述类型,用来描述一种语言以及对应语言的具体取值</xs:documentation>
  </xs:annotation>
  <xs:sequence>
   <xs:element name="language" type="xs:string">
    <xs:annotation>
     <xs:documentation>语言描述信息,取值如下:zh、en、hk等等</xs:documentation>
    </xs:annotation>
   </xs:element>
   <xs:element name="value" type="xs:string">
    <xs:annotation>
     <xs:documentation>对应语言的具体取值</xs:documentation>
    </xs:annotation>
   </xs:element>
  </xs:sequence>
 </xs:complexType>
 <xs:complexType name="anyElement">
        <xs:sequence>
            <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
  </xs:complexType>
</xs:schema>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值