I've updated the UI Preview V3 draft [1] to use JSON-LD for the Compact resource instead of the pseudo-RDF/XML format we had before. The thinking is UI previews are usually displayed in a browser, and JSON is easier to handle there. Comments and feedback welcome.
A few things to note: - The current draft removes the 2.0 XML format entirely, although it does say providers may continue to support it for backwards compatibility. - It also requires the compacted document form [2] of JSON-LD so that the document is easy to parse from the browser. Alternatives are allowing any valid JSON-LD or just using a simple, plain JSON format instead. [1] http://open-services.net/wiki/core/User-Interface-Previews-3.0/ [2] http://www.w3.org/TR/json-ld/#compacted-document-form -- Samuel Padgett | IBM Rational | [email protected] Eclipse Lyo: Enabling tool integration with OSLC
