doxa-wording-encoder / ModelRequest.schema.json
Giuliocc's picture
Document task-specific local SDK, asset provenance and measured limits
2153e0a verified
Raw History Blame Contribute Delete
865 Bytes
{
"additionalProperties": false,
"properties": {
"schema_version": {
"const": "doxa-portfolio-request-v1",
"default": "doxa-portfolio-request-v1",
"title": "Schema Version",
"type": "string"
},
"request_id": {
"maxLength": 200,
"minLength": 1,
"title": "Request Id",
"type": "string"
},
"model_id": {
"title": "Model Id",
"type": "string"
},
"revision": {
"pattern": "^[a-f0-9]{40}$",
"title": "Revision",
"type": "string"
},
"task": {
"title": "Task",
"type": "string"
},
"payload": {
"additionalProperties": true,
"title": "Payload",
"type": "object"
}
},
"required": [
"request_id",
"model_id",
"revision",
"task",
"payload"
],
"title": "ModelRequest",
"type": "object"
}