18.01.2015 Views

Content Management Interoperability Services (CMIS) Version 1.1

Content Management Interoperability Services (CMIS) Version 1.1

Content Management Interoperability Services (CMIS) Version 1.1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

string `{<br />

"title": "Service Name",<br />

"description": "The name of the service",<br />

"ui_hints": "Use the blink tag"<br />

}`;<br />

B.3.15<br />

ID's<br />

Schema elements can have an id, specified using the property “id”.<br />

For example:<br />

object {<br />

id "http://docs.oasis-open.org/ns/cmis/browser/201103/ACLcapabilities";<br />

string supportedPermissions [ "basic", "repository", "both" ];<br />

string propagation [ "repositorydetermined", "objectonly", "propagate" ];<br />

array { ref "http://docs.oasis-open.org/ns/cmis/browser/201103/permissionDefinition" }<br />

↩→ permissions;<br />

ref "http://docs.oasis-open.org/ns/cmis/browser/201103/permissionMapping" mapping;<br />

}*;<br />

B.3.16<br />

References<br />

The reference type specifier “ref” is used to refer to another Orderly schema element using the “id” described<br />

in section B.3.15. For example:<br />

object {<br />

string name;<br />

string title;<br />

ref "http://json-schema.org/card" secretary;<br />

array {<br />

ref "http://json-schema.org/card";<br />

} reports;<br />

} employee;<br />

B.3.17<br />

Bases<br />

The specifier "base" is used to define the base schema element of the element. All properties are inherited<br />

from the base element. For example:<br />

object {<br />

id "http://example.com/person";<br />

string firstname;<br />

string lastname;<br />

} person;<br />

object {<br />

id "http://example.com/employee";<br />

base "http://example.com/person";<br />

integer employee_number;<br />

} employee;<br />

// The schema element "http://example.com/employee" consists of<br />

// the properties "firstname", "lastname" and "employee_number".<br />

B.3.18<br />

More Complex Examples<br />

A number with a range, enumerated possible values, and a default value:<br />

<strong>CMIS</strong>-v<strong>1.1</strong>-csprd01<br />

Standards Track Work Product<br />

Copyright © OASIS Open 2012. All Rights Reserved.<br />

18 August 2012<br />

Page 323 of 331

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!