Forums » #273 - OCCI JSON Rendering »
Specification of the attribute definition
Added by Zdenek Sustr over 7 years ago
The distinction between attribute and attribute description seems not clearly explained. Also, following the Attribute Rendering "example" given in 3.5, the Attribute Description Rendering example shown in 3.5.1 should look more like this:
{
"one": {
"two": {
"three": {
"mutable": Boolean,
"required": Boolean,
"type": String,
"default": String | Number | Boolean,
"description": String
}
}
}
}
The specification would be even better if examples were given alongside the definitions (they were in the 2013 draft).
There's also the Object/Array Issue to settle here, already reported in https://redmine.ogf.org/boards/30/topics/452
Replies (1)
(1-1/1)