1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/fastjrun-ddns

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
fastjrun-apiworld-schema.xsd 2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
fastjrun Отправлено 22.08.2022 02:57 6509ce9
<?xml version="1.0"?>
<!--
~ Copyright (C) 2019 fastjrun, Inc. All Rights Reserved.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="fastjrun-schema.xsd"/>
<xs:element name="bundle">
<xs:complexType>
<xs:sequence>
<xs:element ref="packets" minOccurs="0"/>
<xs:element ref="services" minOccurs="0"/>
<xs:element ref="controllers" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" default="快嘉接口定义规范"/>
</xs:complexType>
</xs:element>
<xs:element name="controllers">
<xs:complexType>
<xs:choice>
<xs:element name="controller" type="controller" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:complexType name="controller">
<xs:all>
<xs:element name="service">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="ref" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="CustomApi"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="path" type="xs:string" use="required"/>
<xs:attribute name="version" type="xs:string"/>
<xs:attribute name="clientName" type="xs:string" use="required"/>
<xs:attribute name="remark" type="xs:string" use="required"/>
<xs:attribute name="tags" type="xs:string" use="required"/>
<xs:attribute name="new" type="xs:boolean" default="true"/>
</xs:complexType>
</xs:schema>

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/fastjrun-ddns.git
git@api.gitlife.ru:oschina-mirror/fastjrun-ddns.git
oschina-mirror
fastjrun-ddns
fastjrun-ddns
master