{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://marqdo.dev/schemas/tool-v1.schema.json", "title": "Marqdo CLI Tool Manifest v1", "type": "object", "required": [ "schema", "schema_version", "name", "version", "command", "entrypoint" ], "properties": { "schema": { "const": "marqdo.cli-tool" }, "schema_version": { "const": 1 }, "name": { "type": "string", "minLength": 1 }, "version": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(?:-[0-9A-Za-z.-]+)?(?:\\+[0-9A-Za-z.-]+)?$" }, "command": { "type": "string", "pattern": "^[a-z][a-z0-9-]*$" }, "entrypoint": { "type": "string", "minLength": 1, "pattern": "^(?!/)(?!.*(?:^|/)\\.\\.(?:/|$)).+$" }, "compatibility": { "type": "object", "properties": { "marqdo": { "type": "string" }, "analysis": { "type": "array", "minItems": 1, "items": { "type": "integer", "minimum": 1 } }, "trace": { "type": "array", "minItems": 1, "items": { "type": "integer", "minimum": 1 } } }, "additionalProperties": true } }, "additionalProperties": true }