Send a feedback for the given document and optionally evaluate.
When a document is to be reviewed, this endpoint is used to send the user feedback.
Permission required: submit
643 matches
100 actions
Contract.fit
100 actions
Other/Contract.fit
Send a feedback for the given document and optionally evaluate.
When a document is to be reviewed, this endpoint is used to send the user feedback.
Permission required: submit
{
"type": "object",
"properties": {
"annotations": {
"type": "object",
"properties": {
"string": {
"type": "array",
"items": {
"type": "object",
"required": [
"gold",
"text",
"textual_coord"
],
"properties": {
"gold": {
"type": "string"
},
"text": {
"type": "string"
},
"textual_coord": {
"type": "array",
"items": {
"type": "integer"
}
},
"visual_coord": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}
}
}
},
"cmp_version": {
"type": "string"
},
"evaluate": {
"type": "boolean"
},
"lines": {
"type": "object",
"properties": {
"string": {
"type": "array",
"items": {
"type": "object",
"properties": {
"string": {
"type": "object",
"required": [
"gold",
"text",
"textual_coord"
],
"properties": {
"gold": {
"type": "string"
},
"text": {
"type": "string"
},
"textual_coord": {
"type": "array",
"items": {
"type": "integer"
}
},
"visual_coord": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}
}
}
}
}
},
"name": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"page"
],
"properties": {
"confidence": {
"type": "integer"
},
"document_type": {
"type": "string"
},
"format": {
"type": "string"
},
"page": {
"type": "integer"
}
}
}
}
}
}{
"type": "object",
"additionalProperties": true
}