Annotation Body Format
(Redirected from Constraint and Annotation Body Format)
The AnnotationClient can read annotation bodies with mimetype text/html. However it stores (and reads as well) mimetype application/json for its own annotations. The json in the "content" field then looks like:
{
"color":"FFFFFF",
"html":"<b>My Annotation Body</b>"
}
This is subject to change and more like a workaround to store the color code along with the actual body.
See the RAXLD info page for further details on the annotation's json format.
See also Constraint Format.