TokensRequest schema from Apache OpenNLP
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/apache-opennlp/refs/heads/main/json-schema/apache-opennlp-tokens-request-schema.json", "title": "TokensRequest", "description": "TokensRequest schema from Apache OpenNLP", "type": "object", "properties": { "tokens": { "type": "array", "items": { "type": "string" }, "description": "Pre-tokenized array of text tokens", "example": [ "Pierre", "Vinken", "will", "join", "the", "board" ] }, "language": { "type": "string", "description": "ISO-639-3 language code", "example": "eng" } }, "required": [ "tokens" ] }