instruction.schema.json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://titip.id/schemas/instruction.schema.json",
"title": "InstructionWrite",
"description": "Request body for creating an instruction version. The service must reject secret-like content before encryption. The plaintext body is not a storage shape.",
"type": "object",
"additionalProperties": false,
"required": [
"body"
],
"properties": {
"body": {
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"asset_id": {
"type": "string",
"pattern": "^ast_[a-zA-Z0-9]+$"
}
}
}