mirror of
https://github.com/gsi-upm/senpy
synced 2025-10-19 09:48:26 +00:00
Bug-fixes and improvements: * Closes #5 * Closes #1 * Adds Client (beta) * Added several schemas * Lighter string representation -> should avoid delays in the analysis with plugins that have 'heavy' attributes Backwards-incompatible changes: * Context in headers by default * All schemas include a "@type" argument that is used for autodetection in the client ... And possibly many more, this is still <1.0
35 lines
744 B
JSON
35 lines
744 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"name": "Entry",
|
|
"properties": {
|
|
"@id": {
|
|
"type": "string"
|
|
},
|
|
"nif:isString": {
|
|
"description": "String contained in this Context",
|
|
"type": "string"
|
|
},
|
|
"sentiments": {
|
|
"type": "array",
|
|
"items": {"$ref": "sentiment.json" }
|
|
},
|
|
"emotions": {
|
|
"type": "array",
|
|
"items": {"$ref": "emotionSet.json" }
|
|
},
|
|
"entities": {
|
|
"type": "array",
|
|
"items": {"$ref": "entity.json" }
|
|
},
|
|
"topics": {
|
|
"type": "array",
|
|
"items": {"$ref": "topic.json" }
|
|
},
|
|
"suggestions": {
|
|
"type": "array",
|
|
"items": {"$ref": "suggestion.json" }
|
|
}
|
|
},
|
|
"required": ["@id", "nif:isString"]
|
|
}
|