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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix B. Schema Language (Orderly)<br />

We wish to thank Lloyd Hilaiel for his work in defining the Orderly language, and express our gratitude for<br />

allowing the use of Orderly in this specification.<br />

The following is a description of the Orderly Language. In this description, we have liberally copied sections<br />

from the original Orderly definition from http://Orderly-json.org/. In some cases, there may be differences<br />

between the description here and the description from http://Orderly-json.org/. In any case, the description<br />

of Orderly in this specification SHALL be used to describe the JSON elements of this specification.<br />

B.1 Overview<br />

Orderly is an ergonomic micro-language that can represent a subset of JSONSchema. Orderly is designed<br />

to feel familiar to the average programmer and to be extremely easy to learn and remember. This document<br />

provides a conversational overview of Orderly as well as a normative grammar.<br />

B.2 A subset of JSONSchema<br />

JSONSchema attempts to provide a representation for three distinct types of information about JSON structures:<br />

• Data structure (for documentation and validation purposes)<br />

• Storage attributes (information pertinent to tools that wish to persist JSON data)<br />

• Interaction Control (providing hints on how to render a UI where data can be manipulated).<br />

Orderly purposefuly ignores all features of JSONSchema which aren't useful for validation, including the<br />

following attributes:<br />

• options (label/value)<br />

• title<br />

• description<br />

• transient<br />

• hidden<br />

• disallow<br />

• extends<br />

• identity<br />

An exhaustive list of the differences between Orderly and JSONSchema is below.<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 318 of 331

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

Saved successfully!

Ooh no, something went wrong!