Web-based responsive document annotation tool
activeannoservice / api.annotate.dto / PostAnnotationResult
data class PostAnnotationResult
Data class for annotation and curation endpoints for receiving annotation results. Will be mapped into other data structures for storing.
Name | Summary |
---|---|
<init> | Data class for annotation and curation endpoints for receiving annotation results. Will be mapped into other data structures for storing.PostAnnotationResult(documentID: DocumentID , projectID: ProjectID , documentData: Map < String , Any >, annotations: AnnotationMap , usedProject: UsedAnnotateProject , interactionLog: InteractionLog , curationRequest: String ? = null) |
Name | Summary |
---|---|
annotations | val annotations: AnnotationMap |
curationRequest | val curationRequest: String ? |
documentData | val documentData: Map < String , Any > |
documentID | val documentID: DocumentID |
interactionLog | val interactionLog: InteractionLog |
projectID | val projectID: ProjectID |
usedProject | val usedProject: UsedAnnotateProject |
Name | Summary |
---|---|
validate | Validate a PostAnnotationResult by applying the enableConditions and validate the annotation if requiredsuspend fun PostAnnotationResult .validate(document: Document , project: Project , locale: Locale ?): List < ValidationError > |