restfulobjects/restfulobjects-spec

boolean value types should be represented as JSON boolean

runrightfast opened this issue · 0 comments

In section 8.2 Version Resource Represention, the sample JSON contains:

"optionalCapabilities": {
"blobsClobs": "yes",
"deleteObjects": "no",
"domainModel": "formal",
"protoPersistentObjects": "yes",
"validateOnly": "no",
"inlinedMemberRepresentations": "yes"
}

However, the value types for these optional capabilites are defined as boolean.
Thus, the JSON should look like:

"optionalCapabilities": {
"blobsClobs": true,
"deleteObjects": true,
"domainModel": "formal",
"protoPersistentObjects": true,
"validateOnly": true,
"inlinedMemberRepresentations": true
}