mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10724 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
55 lines
1.9 KiB
XML
55 lines
1.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
-*- rnc -*-
|
|
RELAX NG Compact Syntax Grammar for the
|
|
Atom Format Specification Version 11
|
|
-->
|
|
<xs:schema
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
elementFormDefault="qualified"
|
|
targetNamespace="http://www.w3.org/2007/app"
|
|
xmlns:atom="http://www.w3.org/2005/Atom"
|
|
xmlns:app="http://www.w3.org/2007/app"
|
|
xmlns:cmis="http://www.cmis.org/2008/05"
|
|
>
|
|
<xs:import namespace="http://www.w3.org/2005/Atom" schemaLocation="ATOM4CMIS.xsd"/>
|
|
<xs:import namespace="http://www.cmis.org/2008/05" schemaLocation="CMIS REST.xsd"/>
|
|
|
|
|
|
<xs:element name="service" type="app:appServiceType"></xs:element>
|
|
|
|
<xs:complexType name="appServiceType">
|
|
<xs:sequence>
|
|
<xs:element ref="atom:author"></xs:element>
|
|
<xs:element ref="app:workspace" minOccurs="1" maxOccurs="unbounded"></xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:element name="workspace" type="app:appWorkspaceType"></xs:element>
|
|
|
|
<xs:complexType name="appWorkspaceType">
|
|
|
|
<xs:sequence>
|
|
<xs:element ref="atom:title"></xs:element>
|
|
<xs:element ref="cmis:repositoryInfo" minOccurs="0" maxOccurs="1"></xs:element>
|
|
<xs:element ref="app:collection" minOccurs="0" maxOccurs="unbounded"></xs:element>
|
|
</xs:sequence>
|
|
<xs:attribute ref="cmis:id"></xs:attribute>
|
|
<xs:attribute ref="cmis:repositoryRelationship"></xs:attribute>
|
|
<xs:attribute ref="app:href"></xs:attribute>
|
|
</xs:complexType>
|
|
|
|
<xs:element name="collection" type="app:appCollectionType"></xs:element>
|
|
|
|
<xs:complexType name="appCollectionType">
|
|
<xs:sequence>
|
|
<xs:element ref="atom:title"></xs:element>
|
|
</xs:sequence>
|
|
<xs:attribute ref="cmis:id"></xs:attribute>
|
|
<xs:attribute ref="cmis:collectionType"></xs:attribute>
|
|
</xs:complexType>
|
|
|
|
<xs:attribute name="href" type="xs:anyURI"></xs:attribute>
|
|
</xs:schema>
|
|
<!-- EOF -->
|