{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/sakura-internet/main/json-schema/sakura-internet-trace-storage-schema.json", "title": "TraceStorage", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/sakura-internet-monitoring-suite-openapi.yml#/components/schemas/TraceStorage", "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "title": "Cloud resource id", "readOnly": true }, "name": { "type": "string", "maxLength": 64 }, "description": { "type": "string", "maxLength": 512 }, "tags": { "type": "array", "items": { "type": "string" }, "readOnly": true }, "icon": { "type": [ "object", "null" ], "properties": { "id": { "type": "string" } }, "readOnly": true }, "retention_period_days": { "type": "integer", "readOnly": true }, "created_at": { "type": "string", "format": "date-time", "readOnly": true, "title": "Register datetime" }, "endpoints": { "type": "object", "properties": { "ingester": { "type": "object", "properties": { "address": { "type": "string" }, "insecure": { "type": "boolean" } }, "required": [ "address" ] } }, "required": [ "ingester" ], "readOnly": true }, "account_id": { "type": "string", "readOnly": true, "title": "Cloud account id" }, "resource_id": { "type": "integer", "readOnly": true, "title": "Cloud resource id", "format": "int64", "minimum": 0, "maximum": 999999999999 }, "classification": { "type": "string", "enum": [ "shared", "dedicated" ], "readOnly": true }, "kms_key_id": { "type": [ "integer", "null" ], "format": "int64", "readOnly": true }, "service_principal_id": { "type": [ "integer", "null" ], "format": "int64" } }, "required": [ "account_id", "classification", "created_at", "endpoints", "icon", "id", "kms_key_id", "resource_id", "retention_period_days", "tags" ] }