{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/sakura-internet/main/json-schema/sakura-internet-document-schema.json", "title": "Document", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/sakura-internet-ai-engine-rag-openapi.yml#/components/schemas/Document", "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "status": { "allOf": [ { "$ref": "#/$defs/StatusEnum" } ], "readOnly": true, "title": "ステータス" }, "name": { "type": "string", "maxLength": 255 }, "model": { "type": "string", "readOnly": true }, "chunk_size": { "type": "integer", "readOnly": true }, "chunk_count": { "type": "integer", "readOnly": true }, "tags": { "type": "array", "items": { "type": "string" } }, "content": { "type": "string", "readOnly": true }, "error_message": { "type": "string", "readOnly": true } }, "required": [ "chunk_count", "chunk_size", "content", "created_at", "error_message", "id", "model", "name", "status" ], "$defs": { "StatusEnum": { "enum": [ "pending", "processing", "available", "deleted", "error" ], "type": "string", "description": "* `pending` - Pending\n* `processing` - Processing\n* `available` - Available\n* `deleted` - Deleted\n* `error` - Error" } } }