Printable version | Disclaimers | Privacy policy

Constraint Format

From IntereditionWiki

Plaintext

"RFC_5147"

annotation_type: "RFC_5147"

IMO the type of constraint should have a different name, as only the 'position' field is of type RFC_5147 --moritz

constraint:

Stringified JSON like


{
		"position":"line=51,57",
		"context":"{\"after\":\"hat she ought to hav\",\"before\":\"\\npicking the daisies\"}",
		"checksum":"3e899c5d9f39cbf8be8d42ad2ef74605"
}

The AnnotationClient accepts as values for the "position" field for now:

                "position":"char=51,57"

or the relaxed version:

                "position":"51,57"

If the context is not present or empty, constraint validation is skipped. This is for testing purposes only.

The RFC 5147 capabilities of the AnnotationClient will be expanded to support all features.

See the fragment-context constraint service info page on more details on constraints.

See also Annotation Body Format.

Retrieved from "http://beintereditioneu.huygens.knaw.nl/wiki/index.php/Constraint_Format"

This page has been accessed 93 times. This page was last modified 14:32, 20 January 2012. Content is available under GNU Free Documentation License 1.2.


Find

Browse
Main Page
Upcoming meetings
Past meetings
Recent changes
Help
Donations
Edit
View source
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
Bug reports
More...