[occi-wg] JSON Rendering

Feldhaus, Florian florian.feldhaus at gwdg.de
Wed Feb 22 10:16:28 EST 2012


Hi all,

I'm continuing with the work on the JSON rendering (I attached the latest version).

I'm currently reviewing the rendering of entities. I was wondering, if we could use "Collection" for rendering single entities as well. On the other hand, we might as well drop the Collection completely and just use an array of entity renderings. I would prefer using the term entities, as the rendering is then similar to the rendering of the categories (with "kinds" and "mixing"). What do you think?

e.g. instead of using
{ "collection":
 [
  { "kind: { … }, "mixing": { … }, "actions": { … }, "attributes": { … } },
  { "kind: { … }, "mixing": { … }, "actions": { … }, "attributes": { … } }
 ]
}

we could use either:
{ "entities":
 [
  { "kind: { … }, "mixing": { … }, "actions": { … }, "attributes": { … } },
  { "kind: { … }, "mixing": { … }, "actions": { … }, "attributes": { … } }
 ]
}

or just:
[
 { "kind: { … }, "mixing": { … }, "actions": { … }, "attributes": { … } },
 { "kind: { … }, "mixing": { … }, "actions": { … }, "attributes": { … } }
]

Cheers,
Florian



-------------------------------------------------------------------------------
GWDG - Gesellschaft für wissenschaftliche
Datenverarbeitung mbH Göttingen
Am Fassberg 11, 37077 Göttingen

Fon: 0551 39-20364
Fax: 0551 201-2150
E-Mail: florian.feldhaus at gwdg.de
WWW: www.gwdg.de<http://www.gwdg.de>
-----------------------------------------------------------------------------------
Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen
Handelsregister-Nr. B 598
-----------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/occi-wg/attachments/20120222/eb38a419/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: json_rendering.pdf
Type: application/pdf
Size: 109436 bytes
Desc: json_rendering.pdf
URL: <http://www.ogf.org/pipermail/occi-wg/attachments/20120222/eb38a419/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: json_rendering.tex
Type: application/octet-stream
Size: 24005 bytes
Desc: json_rendering.tex
URL: <http://www.ogf.org/pipermail/occi-wg/attachments/20120222/eb38a419/attachment-0001.obj>


More information about the occi-wg mailing list