diff --git a/README.md b/README.md index 7e7e043..24dbf4b 100644 --- a/README.md +++ b/README.md @@ -82,3 +82,8 @@ Tampered receipt: - Schemas describe. - Schema-valid alone is not verified. - Webhook sender authentication is separate from receipt verification. + + +## Schema source of truth + +CommandLayer commons schemas are canonical in `commandlayer-clas`. This repository may mirror selected stable public schemas only when required for verifier/docs convenience. Stale commons and commercial schema families are not hosted here by default. diff --git a/public/agent-cards/meta/manifest.json b/public/agent-cards/meta/manifest.json index 170ed93..1fa193f 100644 --- a/public/agent-cards/meta/manifest.json +++ b/public/agent-cards/meta/manifest.json @@ -26,7 +26,7 @@ }, "bindings": { "commons": { - "source_repo": "https://github.com/commandlayer/protocol-commons", + "source_repo": "https://github.com/commandlayer/commandlayer-clas", "source_tag": "v1.1.0", "shape": "flat", "count": 10, diff --git a/public/schemas/v1.0.0/commons/analyze/receipts/analyze.receipt.schema.json b/public/schemas/v1.0.0/commons/analyze/receipts/analyze.receipt.schema.json deleted file mode 100644 index cb0244a..0000000 --- a/public/schemas/v1.0.0/commons/analyze/receipts/analyze.receipt.schema.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/analyze/receipts/analyze.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "analyze.receipt", - "description": "Receipt for an analyze request, including derived insights and optional labels.", - "type": "object", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/receipt.base.schema.json" - }, - { - "type": "object", - "properties": { - "x402": { - "description": "x402 envelope describing the verb and version for this receipt.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "analyze" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "result": { - "description": "Analysis result payload.", - "type": "object", - "additionalProperties": false, - "properties": { - "summary": { - "description": "High-level natural language summary of the analysis.", - "type": "string", - "minLength": 1 - }, - "insights": { - "description": "Key findings, observations, or flagged items.", - "type": "array", - "items": { - "type": "string", - "minLength": 1 - }, - "maxItems": 128 - }, - "labels": { - "description": "Optional labels or categories assigned to the input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 128 - }, - "maxItems": 64 - }, - "score": { - "description": "Optional normalized score (e.g., risk, quality) between 0 and 1.", - "type": "number", - "minimum": 0, - "maximum": 1 - } - }, - "required": ["summary"] - }, - "usage": { - "description": "Optional resource usage metrics for this invocation.", - "type": "object", - "additionalProperties": false, - "properties": { - "input_tokens": { "type": "integer", "minimum": 0 }, - "output_tokens": { "type": "integer", "minimum": 0 }, - "total_tokens": { "type": "integer", "minimum": 0 }, - "cost": { - "description": "Optional cost for this call in provider-defined units.", - "type": "number", - "minimum": 0 - } - } - } - }, - "required": ["result"] - } - ] -} diff --git a/public/schemas/v1.0.0/commons/analyze/requests/analyze.request.schema.json b/public/schemas/v1.0.0/commons/analyze/requests/analyze.request.schema.json deleted file mode 100644 index f72ff11..0000000 --- a/public/schemas/v1.0.0/commons/analyze/requests/analyze.request.schema.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/analyze/requests/analyze.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "analyze.request", - "description": "Request to analyze content for patterns, anomalies, structure, or meaning.", - "type": "object", - "additionalProperties": false, - "properties": { - "x402": { - "description": "x402 envelope describing the verb, version, and optional routing metadata.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "analyze" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "input": { - "description": "Content to analyze (text, JSON, or encoded payload).", - "type": "string", - "minLength": 1 - }, - "goal": { - "description": "High-level purpose of the analysis (e.g., risk assessment, classification, quality review).", - "type": "string", - "minLength": 1 - }, - "hints": { - "description": "Optional free-form hints, instructions, or questions to guide the analysis.", - "type": "array", - "items": { - "type": "string", - "minLength": 1 - }, - "maxItems": 32 - }, - "limits": { - "description": "Optional execution limits for this analysis.", - "type": "object", - "additionalProperties": false, - "properties": { - "max_tokens": { - "type": "integer", - "minimum": 1 - }, - "timeout_ms": { - "type": "integer", - "minimum": 1 - } - } - }, - "metadata": { - "description": "Opaque caller-defined metadata that does not affect semantics.", - "type": "object", - "additionalProperties": true - } - }, - "required": ["x402", "input"] -} diff --git a/public/schemas/v1.0.0/commons/classify/receipts/classify.receipt.schema.json b/public/schemas/v1.0.0/commons/classify/receipts/classify.receipt.schema.json deleted file mode 100644 index 32a0857..0000000 --- a/public/schemas/v1.0.0/commons/classify/receipts/classify.receipt.schema.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/classify/receipts/classify.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "classify.receipt", - "description": "Receipt for a classify request, including assigned labels and optional scores or taxonomy.", - "type": "object", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/receipt.base.schema.json" - }, - { - "type": "object", - "properties": { - "x402": { - "description": "x402 envelope describing the verb and version for this receipt.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "classify" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "result": { - "description": "Classification result payload.", - "type": "object", - "additionalProperties": false, - "properties": { - "labels": { - "description": "Labels assigned to the input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 128 - }, - "minItems": 1, - "maxItems": 128 - }, - "scores": { - "description": "Optional per-label scores between 0 and 1.", - "type": "array", - "items": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "maxItems": 128 - }, - "taxonomy": { - "description": "Optional taxonomy or hierarchy path used for classification.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - } - }, - "required": ["labels"] - }, - "usage": { - "description": "Optional resource usage metrics for this invocation.", - "type": "object", - "additionalProperties": false, - "properties": { - "input_tokens": { "type": "integer", "minimum": 0 }, - "output_tokens": { "type": "integer", "minimum": 0 }, - "total_tokens": { "type": "integer", "minimum": 0 }, - "cost": { - "description": "Optional cost for this call in provider-defined units.", - "type": "number", - "minimum": 0 - } - } - } - }, - "required": ["result"] - } - ] -} diff --git a/public/schemas/v1.0.0/commons/classify/requests/classify.request.schema.json b/public/schemas/v1.0.0/commons/classify/requests/classify.request.schema.json deleted file mode 100644 index 7e44114..0000000 --- a/public/schemas/v1.0.0/commons/classify/requests/classify.request.schema.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/classify/requests/classify.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "classify.request", - "description": "Request to classify content against a taxonomy using ML/rules/keywords. Non-deterministic by default; providers must disclose provenance in receipts.", - "type": "object", - "additionalProperties": false, - - "properties": { - "x402": { - "description": "x402 envelope describing the verb, version, and optional routing metadata.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "classify" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - - "actor": { - "description": "Logical caller identifier (e.g., ENS name, DID, or internal principal).", - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - - "limits": { - "description": "Optional execution limits and constraints for this classification.", - "type": "object", - "additionalProperties": false, - "properties": { - "max_labels": { - "description": "Maximum number of labels to return.", - "type": "integer", - "minimum": 1, - "maximum": 128 - }, - "max_tokens": { - "description": "Optional max tokens for model-based classification.", - "type": "integer", - "minimum": 1 - }, - "timeout_ms": { - "description": "Hard timeout for this operation in milliseconds.", - "type": "integer", - "minimum": 1 - } - } - }, - - "channel": { - "description": "Channel capabilities and modalities for this call.", - "type": "object", - "additionalProperties": false, - "properties": { - "protocol": { - "description": "Logical protocol (e.g., https, wss, xrpc).", - "type": "string", - "minLength": 1, - "maxLength": 32 - }, - "input_modalities": { - "description": "Modalities accepted for input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - }, - "output_modalities": { - "description": "Modalities produced as output.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - } - }, - "required": ["protocol", "input_modalities", "output_modalities"] - }, - - "input": { - "description": "Content to classify and optional taxonomy hints.", - "type": "object", - "additionalProperties": false, - "properties": { - "content": { - "description": "Raw text or serialized content to classify.", - "type": "string", - "minLength": 1 - }, - "taxonomy": { - "description": "Optional list of candidate labels or a taxonomy path.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 128 - }, - "maxItems": 128 - } - }, - "required": ["content"] - } - }, - - "required": ["x402", "actor", "limits", "channel", "input"] -} diff --git a/public/schemas/v1.0.0/commons/clean/receipts/clean.receipt.schema.json b/public/schemas/v1.0.0/commons/clean/receipts/clean.receipt.schema.json deleted file mode 100644 index 02abf23..0000000 --- a/public/schemas/v1.0.0/commons/clean/receipts/clean.receipt.schema.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/clean/receipts/clean.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "clean.receipt", - "description": "Receipt for a clean request, including cleaned content and applied operations.", - "type": "object", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/receipt.base.schema.json" - }, - { - "type": "object", - "properties": { - "x402": { - "description": "x402 envelope describing the verb and version for this receipt.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "clean" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "result": { - "description": "Cleaning result payload.", - "type": "object", - "additionalProperties": false, - "properties": { - "cleaned_content": { - "description": "The cleaned/normalized content.", - "type": "string", - "minLength": 1 - }, - "operations_applied": { - "description": "List of operations actually applied in order.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "maxItems": 32 - }, - "issues_detected": { - "description": "Optional list of issues found (e.g., PII, malformed HTML).", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - }, - "original_length": { - "description": "Length of the original content (characters or tokens).", - "type": "integer", - "minimum": 0 - }, - "cleaned_length": { - "description": "Length of the cleaned content.", - "type": "integer", - "minimum": 0 - } - }, - "required": ["cleaned_content"] - }, - "usage": { - "description": "Optional resource usage metrics for this invocation.", - "type": "object", - "additionalProperties": false, - "properties": { - "input_tokens": { "type": "integer", "minimum": 0 }, - "output_tokens": { "type": "integer", "minimum": 0 }, - "total_tokens": { "type": "integer", "minimum": 0 }, - "cost": { - "description": "Optional cost for this call in provider-defined units.", - "type": "number", - "minimum": 0 - } - } - } - }, - "required": ["result"] - } - ] -} diff --git a/public/schemas/v1.0.0/commons/clean/requests/clean.request.schema.json b/public/schemas/v1.0.0/commons/clean/requests/clean.request.schema.json deleted file mode 100644 index 2b01909..0000000 --- a/public/schemas/v1.0.0/commons/clean/requests/clean.request.schema.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/clean/requests/clean.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "clean.request", - "description": "Request to clean, normalize, or sanitize content according to specified operations.", - "type": "object", - "additionalProperties": false, - - "properties": { - "x402": { - "description": "x402 envelope describing the verb, version, and optional routing metadata.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "clean" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - - "actor": { - "description": "Logical caller identifier (ENS, DID, or internal principal).", - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - - "limits": { - "description": "Execution limits and constraints for this cleaning operation.", - "type": "object", - "additionalProperties": false, - "properties": { - "max_output_tokens": { - "description": "Maximum output tokens or characters allowed.", - "type": "integer", - "minimum": 1 - }, - "timeout_ms": { - "description": "Hard timeout for this operation in milliseconds.", - "type": "integer", - "minimum": 1 - } - } - }, - - "channel": { - "description": "Channel capabilities and modalities for this call.", - "type": "object", - "additionalProperties": false, - "properties": { - "protocol": { - "description": "Logical protocol (e.g., https, wss, xrpc).", - "type": "string", - "minLength": 1, - "maxLength": 32 - }, - "input_modalities": { - "description": "Modalities accepted for input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - }, - "output_modalities": { - "description": "Modalities produced as output.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - } - }, - "required": ["protocol", "input_modalities", "output_modalities"] - }, - - "input": { - "description": "Content to clean and the operations to apply.", - "type": "object", - "additionalProperties": false, - "properties": { - "content": { - "description": "Raw text or serialized content to be cleaned.", - "type": "string", - "minLength": 1 - }, - "operations": { - "description": "Operations to apply in order.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "maxItems": 32 - } - }, - "required": ["content"] - } - }, - - "required": ["x402", "actor", "limits", "channel", "input"] -} diff --git a/public/schemas/v1.0.0/commons/convert/receipts/convert.receipt.schema.json b/public/schemas/v1.0.0/commons/convert/receipts/convert.receipt.schema.json deleted file mode 100644 index 7ac350b..0000000 --- a/public/schemas/v1.0.0/commons/convert/receipts/convert.receipt.schema.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/convert/receipts/convert.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "convert.receipt", - "description": "Receipt for a convert request, including converted content and provenance details.", - "type": "object", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/receipt.base.schema.json" - }, - { - "type": "object", - "properties": { - "x402": { - "description": "x402 envelope describing the verb and version for this receipt.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "convert" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "result": { - "description": "Conversion result payload.", - "type": "object", - "additionalProperties": false, - "properties": { - "converted_content": { - "description": "The converted content.", - "type": "string", - "minLength": 1 - }, - "source_format": { - "description": "Source format actually used by the provider.", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_format": { - "description": "Target format actually produced.", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "lossy": { - "description": "Whether the conversion was lossy.", - "type": "boolean" - }, - "warnings": { - "description": "Optional warnings produced during conversion.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - } - }, - "required": ["converted_content", "target_format"] - }, - "usage": { - "description": "Optional resource usage metrics for this invocation.", - "type": "object", - "additionalProperties": false, - "properties": { - "input_tokens": { "type": "integer", "minimum": 0 }, - "output_tokens": { "type": "integer", "minimum": 0 }, - "total_tokens": { "type": "integer", "minimum": 0 }, - "cost": { - "description": "Optional cost for this call in provider-defined units.", - "type": "number", - "minimum": 0 - } - } - } - }, - "required": ["result"] - } - ] -} diff --git a/public/schemas/v1.0.0/commons/convert/requests/convert.request.schema.json b/public/schemas/v1.0.0/commons/convert/requests/convert.request.schema.json deleted file mode 100644 index 67efe70..0000000 --- a/public/schemas/v1.0.0/commons/convert/requests/convert.request.schema.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/convert/requests/convert.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "convert.request", - "description": "Request to convert content from one format or schema to another (e.g., HTML->Markdown, JSON->CSV).", - "type": "object", - "additionalProperties": false, - - "properties": { - "x402": { - "description": "x402 envelope describing the verb, version, and optional routing metadata.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "convert" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - - "actor": { - "description": "Logical caller identifier (ENS, DID, or internal principal).", - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - - "limits": { - "description": "Execution limits and constraints for this conversion.", - "type": "object", - "additionalProperties": false, - "properties": { - "max_output_tokens": { - "description": "Maximum output tokens/characters allowed.", - "type": "integer", - "minimum": 1 - }, - "timeout_ms": { - "description": "Hard timeout for this operation in milliseconds.", - "type": "integer", - "minimum": 1 - } - } - }, - - "channel": { - "description": "Channel capabilities and modalities for this call.", - "type": "object", - "additionalProperties": false, - "properties": { - "protocol": { - "description": "Logical protocol (e.g., https, wss, xrpc).", - "type": "string", - "minLength": 1, - "maxLength": 32 - }, - "input_modalities": { - "description": "Modalities accepted for input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - }, - "output_modalities": { - "description": "Modalities produced as output.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - } - }, - "required": ["protocol", "input_modalities", "output_modalities"] - }, - - "input": { - "description": "Content to convert and format details.", - "type": "object", - "additionalProperties": false, - "properties": { - "content": { - "description": "Raw content to be converted.", - "type": "string", - "minLength": 1 - }, - "source_format": { - "description": "Declared source format (e.g., html, markdown, json, csv).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_format": { - "description": "Requested target format.", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "options": { - "description": "Optional conversion options (e.g., preserve_links, pretty_print).", - "type": "object", - "additionalProperties": true - } - }, - "required": ["content", "source_format", "target_format"] - } - }, - - "required": ["x402", "actor", "limits", "channel", "input"] -} diff --git a/public/schemas/v1.0.0/commons/describe/receipts/describe.receipt.schema.json b/public/schemas/v1.0.0/commons/describe/receipts/describe.receipt.schema.json deleted file mode 100644 index 5046133..0000000 --- a/public/schemas/v1.0.0/commons/describe/receipts/describe.receipt.schema.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/describe/receipts/describe.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "describe.receipt", - "description": "Receipt for a describe request, including a description text and optional key properties.", - "type": "object", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/receipt.base.schema.json" - }, - { - "type": "object", - "properties": { - "x402": { - "description": "x402 envelope describing the verb and version for this receipt.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "describe" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "result": { - "description": "Description result payload.", - "type": "object", - "additionalProperties": false, - "properties": { - "description": { - "description": "Natural language description of the subject.", - "type": "string", - "minLength": 1 - }, - "bullets": { - "description": "Optional bullet-point summary of key attributes or behaviors.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 64 - }, - "properties": { - "description": "Optional structured key/value properties about the subject.", - "type": "object", - "additionalProperties": { - "type": "string", - "minLength": 1, - "maxLength": 256 - } - } - }, - "required": ["description"] - }, - "usage": { - "description": "Optional resource usage metrics for this invocation.", - "type": "object", - "additionalProperties": false, - "properties": { - "input_tokens": { "type": "integer", "minimum": 0 }, - "output_tokens": { "type": "integer", "minimum": 0 }, - "total_tokens": { "type": "integer", "minimum": 0 }, - "cost": { - "description": "Optional cost for this call in provider-defined units.", - "type": "number", - "minimum": 0 - } - } - } - }, - "required": ["result"] - } - ] -} diff --git a/public/schemas/v1.0.0/commons/describe/requests/describe.request.schema.json b/public/schemas/v1.0.0/commons/describe/requests/describe.request.schema.json deleted file mode 100644 index 52ef67f..0000000 --- a/public/schemas/v1.0.0/commons/describe/requests/describe.request.schema.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/describe/requests/describe.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "describe.request", - "description": "Request to produce a descriptive explanation of an input object, resource, or concept (e.g., explain what this thing is and how it behaves).", - "type": "object", - "additionalProperties": false, - - "properties": { - "x402": { - "description": "x402 envelope describing the verb, version, and optional routing metadata.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "describe" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - - "actor": { - "description": "Logical caller identifier (ENS, DID, or internal principal).", - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - - "limits": { - "description": "Execution limits and constraints for this description.", - "type": "object", - "additionalProperties": false, - "properties": { - "max_output_tokens": { - "description": "Maximum output tokens/characters allowed.", - "type": "integer", - "minimum": 1 - }, - "timeout_ms": { - "description": "Hard timeout for this operation in milliseconds.", - "type": "integer", - "minimum": 1 - } - } - }, - - "channel": { - "description": "Channel capabilities and modalities for this call.", - "type": "object", - "additionalProperties": false, - "properties": { - "protocol": { - "description": "Logical protocol (e.g., https, wss, xrpc).", - "type": "string", - "minLength": 1, - "maxLength": 32 - }, - "input_modalities": { - "description": "Modalities accepted for input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - }, - "output_modalities": { - "description": "Modalities produced as output.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - } - }, - "required": ["protocol", "input_modalities", "output_modalities"] - }, - - "input": { - "description": "Subject to describe and any contextual hints.", - "type": "object", - "additionalProperties": false, - "properties": { - "subject": { - "description": "The thing to describe (name, identifier, or short text).", - "type": "string", - "minLength": 1 - }, - "context": { - "description": "Optional additional context (e.g., where this subject appears).", - "type": "string", - "minLength": 1 - }, - "detail_level": { - "description": "Desired level of detail.", - "type": "string", - "enum": ["short", "medium", "long"] - }, - "audience": { - "description": "Intended audience (e.g., novice, expert, legal, product-manager).", - "type": "string", - "minLength": 1, - "maxLength": 64 - } - }, - "required": ["subject"] - } - }, - - "required": ["x402", "actor", "limits", "channel", "input"] -} diff --git a/public/schemas/v1.0.0/commons/explain/receipts/explain.receipt.schema.json b/public/schemas/v1.0.0/commons/explain/receipts/explain.receipt.schema.json deleted file mode 100644 index 7f4dbd1..0000000 --- a/public/schemas/v1.0.0/commons/explain/receipts/explain.receipt.schema.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/explain/receipts/explain.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "explain.receipt", - "description": "Receipt for an explain request, including the explanation and optional reasoning steps.", - "type": "object", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/receipt.base.schema.json" - }, - { - "type": "object", - "properties": { - "x402": { - "description": "x402 envelope describing the verb and version for this receipt.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "explain" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "result": { - "description": "Explanation result payload.", - "type": "object", - "additionalProperties": false, - "properties": { - "explanation": { - "description": "Natural language explanation tailored to the requested audience.", - "type": "string", - "minLength": 1 - }, - "steps": { - "description": "Optional step-by-step breakdown of the reasoning.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "maxItems": 64 - }, - "summary": { - "description": "Optional short summary of the explanation.", - "type": "string", - "minLength": 1 - }, - "references": { - "description": "Optional references or pointers used for this explanation.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "maxItems": 64 - } - }, - "required": ["explanation"] - }, - "usage": { - "description": "Optional resource usage metrics for this invocation.", - "type": "object", - "additionalProperties": false, - "properties": { - "input_tokens": { "type": "integer", "minimum": 0 }, - "output_tokens": { "type": "integer", "minimum": 0 }, - "total_tokens": { "type": "integer", "minimum": 0 }, - "cost": { - "description": "Optional cost for this call in provider-defined units.", - "type": "number", - "minimum": 0 - } - } - } - }, - "required": ["result"] - } - ] -} diff --git a/public/schemas/v1.0.0/commons/explain/requests/explain.request.schema.json b/public/schemas/v1.0.0/commons/explain/requests/explain.request.schema.json deleted file mode 100644 index 27cbdea..0000000 --- a/public/schemas/v1.0.0/commons/explain/requests/explain.request.schema.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/explain/requests/explain.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "explain.request", - "description": "Request to explain a concept, decision, or output, tailored to a specific audience and detail level.", - "type": "object", - "additionalProperties": false, - - "properties": { - "x402": { - "description": "x402 envelope describing the verb, version, and optional routing metadata.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "explain" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - - "actor": { - "description": "Logical caller identifier (ENS, DID, or internal principal).", - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - - "limits": { - "description": "Execution limits and constraints for this explanation.", - "type": "object", - "additionalProperties": false, - "properties": { - "max_output_tokens": { - "description": "Maximum output tokens/characters allowed.", - "type": "integer", - "minimum": 1 - }, - "timeout_ms": { - "description": "Hard timeout for this operation in milliseconds.", - "type": "integer", - "minimum": 1 - } - } - }, - - "channel": { - "description": "Channel capabilities and modalities for this call.", - "type": "object", - "additionalProperties": false, - "properties": { - "protocol": { - "description": "Logical protocol (e.g., https, wss, xrpc).", - "type": "string", - "minLength": 1, - "maxLength": 32 - }, - "input_modalities": { - "description": "Modalities accepted for input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - }, - "output_modalities": { - "description": "Modalities produced as output.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - } - }, - "required": ["protocol", "input_modalities", "output_modalities"] - }, - - "input": { - "description": "Subject and context to explain, plus target audience and style.", - "type": "object", - "additionalProperties": false, - "properties": { - "subject": { - "description": "What should be explained (e.g., a concept, decision, or output).", - "type": "string", - "minLength": 1 - }, - "context": { - "description": "Optional surrounding context or raw snippet to ground the explanation.", - "type": "string", - "minLength": 1 - }, - "audience": { - "description": "Intended audience (e.g., novice, expert, legal, product-manager).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "style": { - "description": "Optional style hint (e.g., step-by-step, analogy, formal).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "detail_level": { - "description": "Desired level of detail.", - "type": "string", - "enum": ["short", "medium", "long"] - } - }, - "required": ["subject"] - } - }, - - "required": ["x402", "actor", "limits", "channel", "input"] -} diff --git a/public/schemas/v1.0.0/commons/fetch/receipts/fetch.receipt.schema.json b/public/schemas/v1.0.0/commons/fetch/receipts/fetch.receipt.schema.json deleted file mode 100644 index 1028ff9..0000000 --- a/public/schemas/v1.0.0/commons/fetch/receipts/fetch.receipt.schema.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/fetch/receipts/fetch.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "fetch.receipt", - "description": "Receipt for a fetch request, including the items retrieved and pagination cursor if applicable.", - "type": "object", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/receipt.base.schema.json" - }, - { - "type": "object", - "properties": { - "x402": { - "description": "x402 envelope describing the verb and version for this receipt.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "fetch" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "result": { - "description": "Fetched items and optional pagination information.", - "type": "object", - "additionalProperties": false, - "properties": { - "items": { - "description": "Array of items returned by the fetch operation.", - "type": "array", - "items": { - "type": "object", - "description": "An individual fetched item. Structure is source-specific.", - "additionalProperties": true - } - }, - "next_cursor": { - "description": "Opaque pagination cursor for retrieving additional items, if available.", - "type": "string", - "minLength": 1 - } - }, - "required": ["items"] - }, - "usage": { - "description": "Optional resource usage metrics for this invocation.", - "type": "object", - "additionalProperties": false, - "properties": { - "input_tokens": { "type": "integer", "minimum": 0 }, - "output_tokens": { "type": "integer", "minimum": 0 }, - "total_tokens": { "type": "integer", "minimum": 0 }, - "cost": { - "description": "Optional cost for this call in provider-defined units.", - "type": "number", - "minimum": 0 - } - } - } - }, - "required": ["result"] - } - ] -} diff --git a/public/schemas/v1.0.0/commons/fetch/requests/fetch.request.schema.json b/public/schemas/v1.0.0/commons/fetch/requests/fetch.request.schema.json deleted file mode 100644 index 6f3db9c..0000000 --- a/public/schemas/v1.0.0/commons/fetch/requests/fetch.request.schema.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/fetch/requests/fetch.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "fetch.request", - "description": "Request to fetch or retrieve items from a specified source using a query or filter.", - "type": "object", - "additionalProperties": false, - "properties": { - "x402": { - "description": "x402 envelope describing the verb, version, and optional routing metadata.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "fetch" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "source": { - "description": "Logical source identifier or base URI (e.g., index name, collection, API endpoint).", - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "query": { - "description": "Query, filter, or search expression to select items.", - "type": "string", - "minLength": 1 - }, - "max_items": { - "description": "Maximum number of items to return.", - "type": "integer", - "minimum": 1, - "maximum": 10000 - }, - "include_metadata": { - "description": "Whether to include source-specific metadata in the result items.", - "type": "boolean" - }, - "metadata": { - "description": "Opaque caller-defined metadata that does not affect semantics.", - "type": "object", - "additionalProperties": true - } - }, - "required": ["x402", "source"] -} diff --git a/public/schemas/v1.0.0/commons/format/receipts/format.receipt.schema.json b/public/schemas/v1.0.0/commons/format/receipts/format.receipt.schema.json deleted file mode 100644 index b3b1d9c..0000000 --- a/public/schemas/v1.0.0/commons/format/receipts/format.receipt.schema.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/format/receipts/format.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "format.receipt", - "description": "Receipt for a format request, including formatted content and any applied style details.", - "type": "object", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/receipt.base.schema.json" - }, - { - "type": "object", - "properties": { - "x402": { - "description": "x402 envelope describing the verb and version for this receipt.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "format" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "result": { - "description": "Formatting result payload.", - "type": "object", - "additionalProperties": false, - "properties": { - "formatted_content": { - "description": "The formatted output content.", - "type": "string", - "minLength": 1 - }, - "style": { - "description": "Style actually applied (e.g., markdown, bullet-list, table).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "original_length": { - "description": "Length of the original content.", - "type": "integer", - "minimum": 0 - }, - "formatted_length": { - "description": "Length of the formatted content.", - "type": "integer", - "minimum": 0 - }, - "notes": { - "description": "Optional notes about formatting decisions or truncation.", - "type": "string", - "minLength": 1 - } - }, - "required": ["formatted_content"] - }, - "usage": { - "description": "Optional resource usage metrics for this invocation.", - "type": "object", - "additionalProperties": false, - "properties": { - "input_tokens": { "type": "integer", "minimum": 0 }, - "output_tokens": { "type": "integer", "minimum": 0 }, - "total_tokens": { "type": "integer", "minimum": 0 }, - "cost": { - "description": "Optional cost for this call in provider-defined units.", - "type": "number", - "minimum": 0 - } - } - } - }, - "required": ["result"] - } - ] -} diff --git a/public/schemas/v1.0.0/commons/format/requests/format.request.schema.json b/public/schemas/v1.0.0/commons/format/requests/format.request.schema.json deleted file mode 100644 index 4e860aa..0000000 --- a/public/schemas/v1.0.0/commons/format/requests/format.request.schema.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/format/requests/format.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "format.request", - "description": "Request to reformat or restyle content according to a target style or layout (e.g., markdown, JSON, tables, code style).", - "type": "object", - "additionalProperties": false, - - "properties": { - "x402": { - "description": "x402 envelope describing the verb, version, and optional routing metadata.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "format" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - - "actor": { - "description": "Logical caller identifier (ENS, DID, or internal principal).", - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - - "limits": { - "description": "Execution limits and constraints for this formatting operation.", - "type": "object", - "additionalProperties": false, - "properties": { - "max_output_tokens": { - "description": "Maximum output tokens/characters allowed.", - "type": "integer", - "minimum": 1 - }, - "timeout_ms": { - "description": "Hard timeout for this operation in milliseconds.", - "type": "integer", - "minimum": 1 - } - } - }, - - "channel": { - "description": "Channel capabilities and modalities for this call.", - "type": "object", - "additionalProperties": false, - "properties": { - "protocol": { - "description": "Logical protocol (e.g., https, wss, xrpc).", - "type": "string", - "minLength": 1, - "maxLength": 32 - }, - "input_modalities": { - "description": "Modalities accepted for input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - }, - "output_modalities": { - "description": "Modalities produced as output.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - } - }, - "required": ["protocol", "input_modalities", "output_modalities"] - }, - - "input": { - "description": "Content to format and the desired target style.", - "type": "object", - "additionalProperties": false, - "properties": { - "content": { - "description": "Raw text to be formatted.", - "type": "string", - "minLength": 1 - }, - "source_style": { - "description": "Optional hint of the current style (e.g., plain, markdown, json, code).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_style": { - "description": "Requested target style (e.g., markdown, bullet-list, table, json-block).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "guidelines": { - "description": "Optional additional guidelines (e.g., max line width, heading depth).", - "type": "object", - "additionalProperties": true - } - }, - "required": ["content", "target_style"] - } - }, - - "required": ["x402", "actor", "limits", "channel", "input"] -} diff --git a/public/schemas/v1.0.0/commons/parse/receipts/parse.receipt.schema.json b/public/schemas/v1.0.0/commons/parse/receipts/parse.receipt.schema.json deleted file mode 100644 index d3e46e3..0000000 --- a/public/schemas/v1.0.0/commons/parse/receipts/parse.receipt.schema.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/parse/receipts/parse.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "parse.receipt", - "description": "Receipt for a parse request, including the parsed structure and confidence/provenance details.", - "type": "object", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/receipt.base.schema.json" - }, - { - "type": "object", - "properties": { - "x402": { - "description": "x402 envelope describing the verb and version for this receipt.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "parse" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "result": { - "description": "Parsing result payload.", - "type": "object", - "additionalProperties": false, - "properties": { - "parsed": { - "description": "Parsed structured representation (e.g., JSON object).", - "type": "object", - "additionalProperties": true - }, - "target_schema": { - "description": "Schema actually used by the provider, if any.", - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "confidence": { - "description": "Confidence score in [0,1] for the parsed output.", - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "warnings": { - "description": "Optional warnings encountered during parsing.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - } - }, - "required": ["parsed"] - }, - "usage": { - "description": "Optional resource usage metrics for this invocation.", - "type": "object", - "additionalProperties": false, - "properties": { - "input_tokens": { "type": "integer", "minimum": 0 }, - "output_tokens": { "type": "integer", "minimum": 0 }, - "total_tokens": { "type": "integer", "minimum": 0 }, - "cost": { - "description": "Optional cost for this call in provider-defined units.", - "type": "number", - "minimum": 0 - } - } - } - }, - "required": ["result"] - } - ] -} diff --git a/public/schemas/v1.0.0/commons/parse/requests/parse.request.schema.json b/public/schemas/v1.0.0/commons/parse/requests/parse.request.schema.json deleted file mode 100644 index 454009d..0000000 --- a/public/schemas/v1.0.0/commons/parse/requests/parse.request.schema.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/parse/requests/parse.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "parse.request", - "description": "Request to parse unstructured or semi-structured content into a structured representation (e.g., JSON, fields, entities) with explicit limits and channel metadata.", - "type": "object", - "additionalProperties": false, - - "properties": { - "x402": { - "description": "x402 envelope describing the verb, version, and optional routing metadata.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "parse" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - - "actor": { - "description": "Logical caller identifier (ENS, DID, or internal principal).", - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - - "limits": { - "description": "Execution limits and constraints for this parse operation.", - "type": "object", - "additionalProperties": false, - "properties": { - "max_output_tokens": { - "description": "Maximum output tokens/characters allowed for the parsed structure.", - "type": "integer", - "minimum": 1 - }, - "timeout_ms": { - "description": "Hard timeout for this operation in milliseconds.", - "type": "integer", - "minimum": 1 - } - } - }, - - "channel": { - "description": "Channel capabilities and modalities for this call.", - "type": "object", - "additionalProperties": false, - "properties": { - "protocol": { - "description": "Logical protocol (e.g., https, wss, xrpc).", - "type": "string", - "minLength": 1, - "maxLength": 32 - }, - "input_modalities": { - "description": "Modalities accepted for input (e.g., text, json).", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - }, - "output_modalities": { - "description": "Modalities produced as output (e.g., json).", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "minItems": 1, - "maxItems": 8 - } - }, - "required": ["protocol", "input_modalities", "output_modalities"] - }, - - "input": { - "description": "Content to parse and hints about the desired structure.", - "type": "object", - "additionalProperties": false, - "properties": { - "content": { - "description": "Raw content to be parsed.", - "type": "string", - "minLength": 1 - }, - "content_type": { - "description": "Hint of the input type (e.g., plain, markdown, json, yaml, csv, log).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_schema": { - "description": "URI or identifier of the target schema for the parsed output (if known).", - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "mode": { - "description": "Parsing mode preference.", - "type": "string", - "enum": ["strict", "best_effort"] - } - }, - "required": ["content"] - } - }, - - "required": ["x402", "actor", "limits", "channel", "input"] -} diff --git a/public/schemas/v1.0.0/commons/summarize/receipts/summarize.receipt.schema.json b/public/schemas/v1.0.0/commons/summarize/receipts/summarize.receipt.schema.json deleted file mode 100644 index e5b1f3e..0000000 --- a/public/schemas/v1.0.0/commons/summarize/receipts/summarize.receipt.schema.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/summarize/receipts/summarize.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "summarize.receipt", - "description": "Receipt for a summarize request, including the produced summary and provenance.", - "type": "object", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/receipt.base.schema.json" - }, - { - "type": "object", - "properties": { - "x402": { - "description": "x402 envelope describing the verb and version for this receipt.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "summarize" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - "result": { - "description": "Summarization result payload.", - "type": "object", - "additionalProperties": false, - "properties": { - "summary": { - "description": "The generated summary.", - "type": "string", - "minLength": 1 - }, - "format": { - "description": "Format of the summary.", - "type": "string", - "enum": ["text", "markdown", "html", "json", "other"] - }, - "compression_ratio": { - "description": "Approximate compression ratio (input_length / output_length).", - "type": "number", - "minimum": 0 - }, - "source_hash": { - "description": "Optional hash of the input content (e.g., sha256 hex).", - "type": "string", - "minLength": 32, - "maxLength": 128 - } - }, - "required": ["summary"] - }, - "usage": { - "description": "Optional resource usage metrics for this invocation.", - "type": "object", - "additionalProperties": false, - "properties": { - "input_tokens": { "type": "integer", "minimum": 0 }, - "output_tokens": { "type": "integer", "minimum": 0 }, - "total_tokens": { "type": "integer", "minimum": 0 }, - "cost": { - "description": "Optional cost for this call in provider-defined units.", - "type": "number", - "minimum": 0 - } - } - } - }, - "required": ["result"] - } - ] -} diff --git a/public/schemas/v1.0.0/commons/summarize/requests/summarize.request.schema.json b/public/schemas/v1.0.0/commons/summarize/requests/summarize.request.schema.json deleted file mode 100644 index 11f32d6..0000000 --- a/public/schemas/v1.0.0/commons/summarize/requests/summarize.request.schema.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.0.0/commons/summarize/requests/summarize.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "summarize.request", - "description": "Request to summarize content with explicit limits, channel, auth, and optional delegation/handoff metadata.", - "type": "object", - "additionalProperties": false, - "required": ["x402", "actor", "limits", "input", "channel"], - "properties": { - "x402": { - "description": "x402 envelope describing the verb and version for this request.", - "allOf": [ - { - "$ref": "https://commandlayer.org/schemas/v1.0.0/_shared/x402.schema.json" - }, - { - "type": "object", - "properties": { - "verb": { "const": "summarize" }, - "version": { "const": "1.0.0" } - }, - "required": ["verb", "version"] - } - ] - }, - - "actor": { - "type": "string", - "description": "Logical caller identifier or subject (wallet, account, or system).", - "minLength": 1, - "maxLength": 256 - }, - - "limits": { - "type": "object", - "description": "Guardrails for output size and cost.", - "additionalProperties": false, - "required": ["max_output_tokens"], - "properties": { - "max_output_tokens": { - "type": "integer", - "minimum": 1, - "maximum": 32768 - }, - "max_latency_ms": { - "type": "integer", - "minimum": 1, - "maximum": 600000, - "description": "Optional upper bound on end-to-end latency." - }, - "max_cost_usd": { - "type": "number", - "minimum": 0, - "description": "Optional soft ceiling for cost accounting." - } - } - }, - - "input": { - "type": "object", - "description": "Content to summarize and optional instructions.", - "additionalProperties": false, - "required": ["content"], - "properties": { - "content": { - "type": "string", - "minLength": 1, - "maxLength": 250000 - }, - "format_hint": { - "type": "string", - "description": "Optional hint: e.g. 'markdown', 'html', 'plain'.", - "maxLength": 64 - }, - "summary_style": { - "type": "string", - "description": "High-level style hint such as 'bullet_points', 'narrative', 'exec_brief'.", - "maxLength": 64 - } - } - }, - - "channel": { - "type": "object", - "description": "A2A-style channel metadata: how this request is transported and what modalities are expected.", - "additionalProperties": false, - "required": ["protocol", "input_modalities", "output_modalities"], - "properties": { - "protocol": { - "type": "string", - "enum": ["https", "http", "websocket", "sse", "json-rpc"] - }, - "input_modalities": { - "type": "array", - "items": { - "type": "string", - "enum": ["text", "json", "file"] - }, - "minItems": 1 - }, - "output_modalities": { - "type": "array", - "items": { - "type": "string", - "enum": ["text", "json"] - }, - "minItems": 1 - }, - "endpoint": { - "type": "string", - "description": "Concrete endpoint URI used for this invocation (e.g., https://api.example.com/a2a/tasks).", - "minLength": 1, - "maxLength": 2048 - } - } - }, - - "auth": { - "type": "object", - "description": "Authentication material (A2A-style). Concrete credentials are deployment-specific.", - "additionalProperties": false, - "properties": { - "scheme": { - "type": "string", - "enum": ["none", "api_key", "oauth2", "signed_message"] - }, - "api_key_id": { - "type": "string", - "maxLength": 256 - }, - "oauth2_client_id": { - "type": "string", - "maxLength": 256 - }, - "signature": { - "type": "string", - "description": "Optional detached signature (e.g., EIP-191 or other scheme).", - "maxLength": 4096 - } - } - }, - - "delegation": { - "type": "object", - "description": "Swarm-style handoff/delegation hints for multi-agent flows.", - "additionalProperties": false, - "properties": { - "allowed": { - "type": "boolean", - "description": "Whether summarizeagent is allowed to handoff to another agent." - }, - "targets": { - "type": "array", - "description": "Preferred downstream agents (ENS names or URIs).", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - } - }, - "policy": { - "type": "string", - "description": "Handoff policy: 'auto', 'manual', or 'none'.", - "enum": ["auto", "manual", "none"] - }, - "reason": { - "type": "string", - "description": "Optional human-readable reason for requesting delegation.", - "maxLength": 1024 - } - } - }, - - "context": { - "type": "object", - "description": "Cross-agent shared context metadata for Swarm/A2A style message histories.", - "additionalProperties": false, - "properties": { - "conversation_id": { - "type": "string", - "maxLength": 256 - }, - "parent_task_id": { - "type": "string", - "maxLength": 256 - }, - "thread": { - "type": "array", - "description": "Minimal structured history; concrete format is left to implementers.", - "items": { "type": "object" } - } - } - }, - - "metadata": { - "type": "object", - "description": "Free-form, non-normative metadata; MUST NOT affect core semantics.", - "additionalProperties": true - } - } -} diff --git a/public/schemas/v1.1.0/commons/analyze/analyze.receipt.schema.json b/public/schemas/v1.1.0/commons/analyze/analyze.receipt.schema.json deleted file mode 100644 index 7425780..0000000 --- a/public/schemas/v1.1.0/commons/analyze/analyze.receipt.schema.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/analyze/analyze.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "analyze.receipt", - "description": "Receipt for an analyze request, including derived insights and optional labels.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "analyze" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "summary": { - "description": "High-level natural language summary of the analysis.", - "type": "string", - "minLength": 1 - }, - "insights": { - "description": "Key findings, observations, or flagged items.", - "type": "array", - "items": { - "type": "string", - "minLength": 1 - }, - "maxItems": 128 - }, - "labels": { - "description": "Optional labels or categories assigned to the input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 128 - }, - "maxItems": 64 - }, - "score": { - "description": "Optional normalized score (e.g., risk, quality) between 0 and 1.", - "type": "number", - "minimum": 0, - "maximum": 1 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "summary" - ] -} diff --git a/public/schemas/v1.1.0/commons/analyze/analyze.request.schema.json b/public/schemas/v1.1.0/commons/analyze/analyze.request.schema.json deleted file mode 100644 index 6481e9b..0000000 --- a/public/schemas/v1.1.0/commons/analyze/analyze.request.schema.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/analyze/analyze.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "analyze.request", - "description": "Request to analyze content for patterns, anomalies, structure, or meaning.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "analyze" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - } - }, - "required": [ - "verb", - "schema_version" - ] -} diff --git a/public/schemas/v1.1.0/commons/analyze/receipts/analyze.receipt.schema.json b/public/schemas/v1.1.0/commons/analyze/receipts/analyze.receipt.schema.json deleted file mode 100644 index 7425780..0000000 --- a/public/schemas/v1.1.0/commons/analyze/receipts/analyze.receipt.schema.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/analyze/analyze.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "analyze.receipt", - "description": "Receipt for an analyze request, including derived insights and optional labels.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "analyze" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "summary": { - "description": "High-level natural language summary of the analysis.", - "type": "string", - "minLength": 1 - }, - "insights": { - "description": "Key findings, observations, or flagged items.", - "type": "array", - "items": { - "type": "string", - "minLength": 1 - }, - "maxItems": 128 - }, - "labels": { - "description": "Optional labels or categories assigned to the input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 128 - }, - "maxItems": 64 - }, - "score": { - "description": "Optional normalized score (e.g., risk, quality) between 0 and 1.", - "type": "number", - "minimum": 0, - "maximum": 1 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "summary" - ] -} diff --git a/public/schemas/v1.1.0/commons/analyze/requests/analyze.request.schema.json b/public/schemas/v1.1.0/commons/analyze/requests/analyze.request.schema.json deleted file mode 100644 index 6481e9b..0000000 --- a/public/schemas/v1.1.0/commons/analyze/requests/analyze.request.schema.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/analyze/analyze.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "analyze.request", - "description": "Request to analyze content for patterns, anomalies, structure, or meaning.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "analyze" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - } - }, - "required": [ - "verb", - "schema_version" - ] -} diff --git a/public/schemas/v1.1.0/commons/checksums.txt b/public/schemas/v1.1.0/commons/checksums.txt deleted file mode 100644 index 750663a..0000000 --- a/public/schemas/v1.1.0/commons/checksums.txt +++ /dev/null @@ -1,25 +0,0 @@ -52ef53db01e23f2400058c2accabdfb34399f824a83f1a9814272cbd9f610df9 schemas/v1.1.0/_shared/identity.schema.json -bffeda39b4e7ed836991d045280cd9b2629d2ae3302b8368fe4abdc2dfcb3f7b schemas/v1.1.0/_shared/receipt.base.schema.json -86c5c092c85a96c28ad9e04a275be3f1bf58a12841101529e4d02cbcada6c0fa schemas/v1.1.0/_shared/trace.schema.json -4ca4ffcbaa0df64e698662ebbaeb5a44f74e913ca07bd923819b04ff0a46424c schemas/v1.1.0/_shared/verb.aliases.schema.json -49b5e39d80887f4d3006cc46e33c28403479b5c9b510e3d26c54432dfe40491d schemas/v1.1.0/_shared/x402.schema.json -febbb5d8d356946f1a23464dec9e9b6a6f2a3c49fd9621658a2572071e2f9642 schemas/v1.1.0/commons/analyze/receipts/analyze.receipt.schema.json -eb4cfe9584f86b2e3ff60a22c592364f5b05d1c04575fecd1f9968c9ce125b54 schemas/v1.1.0/commons/analyze/requests/analyze.request.schema.json -e2082b5cf7f018c4d731160418654bc36a9b3ac7a34fa0a4a410413c6a70ae95 schemas/v1.1.0/commons/classify/receipts/classify.receipt.schema.json -43d1ee2f5ccae39260559877c5b86a2347134aa3857e447a0c75cdebb6607f6d schemas/v1.1.0/commons/classify/requests/classify.request.schema.json -b0e599c0c539a860a57ef329a58714931012fc36f59818627c4d0190d969bb83 schemas/v1.1.0/commons/clean/receipts/clean.receipt.schema.json -36b326b675ab78622686a9510bf8c9f798453ff26f3e058452320c3c0b01308d schemas/v1.1.0/commons/clean/requests/clean.request.schema.json -a9031bf96c66c40cefe2a3aa29db34e10349497c6aa2f3a95ffcb136431d63bc schemas/v1.1.0/commons/convert/receipts/convert.receipt.schema.json -6db5a8d6295e91dfd6bad8565a625a35836d521a957bd021ba68a2c190f798f5 schemas/v1.1.0/commons/convert/requests/convert.request.schema.json -591039274d745376d72abc0e570fa1c1f78bafc9ee0439f948d7ab2e5a0f610e schemas/v1.1.0/commons/describe/receipts/describe.receipt.schema.json -f5d6b646e5c59c5f12c336915839a892d0e2c7db876edc2b6146d136dd76b05f schemas/v1.1.0/commons/describe/requests/describe.request.schema.json -5603575d8664edf7f58662bd847fa70d6e66bbed0a7251a7fab5d6d367d46518 schemas/v1.1.0/commons/explain/receipts/explain.receipt.schema.json -b5d6ef98b24f24c98ecd5dae8e163fe262221b1d32e3f2df5fe730b4bbc4f5aa schemas/v1.1.0/commons/explain/requests/explain.request.schema.json -3fa0e728968bd715b85a77839a920cdf9d63db1bfd7d6468cb1272a635207ea0 schemas/v1.1.0/commons/fetch/receipts/fetch.receipt.schema.json -9d0c39b741ba7338a18f9c0da4aaf8c35bd11bc2e2261943f77144de6770333e schemas/v1.1.0/commons/fetch/requests/fetch.request.schema.json -d5702e8d909cc00b15d9f2207cb4c54a110546a232a9c813f7644f1f65ecac3c schemas/v1.1.0/commons/format/receipts/format.receipt.schema.json -f1f3d357b2b36bc4e78b623cc5af266cd03f232cd71ad54a033782ac7b2117aa schemas/v1.1.0/commons/format/requests/format.request.schema.json -5955ba596f30605ac7a2cf5d8d55d575cf01145f3d1a4c9c4e480536d9e14f1f schemas/v1.1.0/commons/parse/receipts/parse.receipt.schema.json -df9064bea18691a93c74b751e66d5e3fe238465fa9f97ceef16eb316ef648062 schemas/v1.1.0/commons/parse/requests/parse.request.schema.json -f3cc9dd2f3163bca006efbbeb58b4b62622ef097c8a509689f2ed99b63ada047 schemas/v1.1.0/commons/summarize/receipts/summarize.receipt.schema.json -293899733f140d6938ff18122cb2c6711f9130881c68589ef3d4e5d1901c5220 schemas/v1.1.0/commons/summarize/requests/summarize.request.schema.json diff --git a/public/schemas/v1.1.0/commons/classify/classify.receipt.schema.json b/public/schemas/v1.1.0/commons/classify/classify.receipt.schema.json deleted file mode 100644 index dae5058..0000000 --- a/public/schemas/v1.1.0/commons/classify/classify.receipt.schema.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/classify/classify.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "classify.receipt", - "description": "Receipt for a classify request, including assigned labels and optional scores or taxonomy.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "classify" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "labels": { - "description": "Labels assigned to the input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 128 - }, - "minItems": 1, - "maxItems": 128 - }, - "scores": { - "description": "Optional per-label scores between 0 and 1.", - "type": "array", - "items": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "maxItems": 128 - }, - "taxonomy": { - "description": "Optional taxonomy or hierarchy path used for classification.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "labels" - ] -} diff --git a/public/schemas/v1.1.0/commons/classify/classify.request.schema.json b/public/schemas/v1.1.0/commons/classify/classify.request.schema.json deleted file mode 100644 index d55ff73..0000000 --- a/public/schemas/v1.1.0/commons/classify/classify.request.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/classify/classify.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "classify.request", - "description": "Request to classify content against a taxonomy using ML/rules/keywords. Non-deterministic by default; providers must disclose provenance in receipts.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "classify" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "description": "Raw text or serialized content to classify.", - "type": "string", - "minLength": 1 - }, - "taxonomy": { - "description": "Optional list of candidate labels or a taxonomy path.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 128 - }, - "maxItems": 128 - } - }, - "required": [ - "verb", - "schema_version", - "content" - ] -} diff --git a/public/schemas/v1.1.0/commons/classify/receipts/classify.receipt.schema.json b/public/schemas/v1.1.0/commons/classify/receipts/classify.receipt.schema.json deleted file mode 100644 index dae5058..0000000 --- a/public/schemas/v1.1.0/commons/classify/receipts/classify.receipt.schema.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/classify/classify.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "classify.receipt", - "description": "Receipt for a classify request, including assigned labels and optional scores or taxonomy.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "classify" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "labels": { - "description": "Labels assigned to the input.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 128 - }, - "minItems": 1, - "maxItems": 128 - }, - "scores": { - "description": "Optional per-label scores between 0 and 1.", - "type": "array", - "items": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "maxItems": 128 - }, - "taxonomy": { - "description": "Optional taxonomy or hierarchy path used for classification.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "labels" - ] -} diff --git a/public/schemas/v1.1.0/commons/classify/requests/classify.request.schema.json b/public/schemas/v1.1.0/commons/classify/requests/classify.request.schema.json deleted file mode 100644 index d55ff73..0000000 --- a/public/schemas/v1.1.0/commons/classify/requests/classify.request.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/classify/classify.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "classify.request", - "description": "Request to classify content against a taxonomy using ML/rules/keywords. Non-deterministic by default; providers must disclose provenance in receipts.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "classify" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "description": "Raw text or serialized content to classify.", - "type": "string", - "minLength": 1 - }, - "taxonomy": { - "description": "Optional list of candidate labels or a taxonomy path.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 128 - }, - "maxItems": 128 - } - }, - "required": [ - "verb", - "schema_version", - "content" - ] -} diff --git a/public/schemas/v1.1.0/commons/clean/clean.receipt.schema.json b/public/schemas/v1.1.0/commons/clean/clean.receipt.schema.json deleted file mode 100644 index bce7a1e..0000000 --- a/public/schemas/v1.1.0/commons/clean/clean.receipt.schema.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/clean/clean.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "clean.receipt", - "description": "Receipt for a clean request, including cleaned content and applied operations.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "clean" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "cleaned_content": { - "description": "The cleaned/normalized content.", - "type": "string", - "minLength": 1 - }, - "operations_applied": { - "description": "List of operations actually applied in order.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "maxItems": 32 - }, - "issues_detected": { - "description": "Optional list of issues found (e.g., PII, malformed HTML).", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - }, - "original_length": { - "description": "Length of the original content (characters or tokens).", - "type": "integer", - "minimum": 0 - }, - "cleaned_length": { - "description": "Length of the cleaned content.", - "type": "integer", - "minimum": 0 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "cleaned_content" - ] -} diff --git a/public/schemas/v1.1.0/commons/clean/clean.request.schema.json b/public/schemas/v1.1.0/commons/clean/clean.request.schema.json deleted file mode 100644 index 520586c..0000000 --- a/public/schemas/v1.1.0/commons/clean/clean.request.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/clean/clean.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "clean.request", - "description": "Request to clean, normalize, or sanitize content according to specified operations.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "clean" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "description": "Raw text or serialized content to be cleaned.", - "type": "string", - "minLength": 1 - }, - "operations": { - "description": "Operations to apply in order.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "maxItems": 32 - } - }, - "required": [ - "verb", - "schema_version", - "content" - ] -} diff --git a/public/schemas/v1.1.0/commons/clean/receipts/clean.receipt.schema.json b/public/schemas/v1.1.0/commons/clean/receipts/clean.receipt.schema.json deleted file mode 100644 index bce7a1e..0000000 --- a/public/schemas/v1.1.0/commons/clean/receipts/clean.receipt.schema.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/clean/clean.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "clean.receipt", - "description": "Receipt for a clean request, including cleaned content and applied operations.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "clean" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "cleaned_content": { - "description": "The cleaned/normalized content.", - "type": "string", - "minLength": 1 - }, - "operations_applied": { - "description": "List of operations actually applied in order.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "maxItems": 32 - }, - "issues_detected": { - "description": "Optional list of issues found (e.g., PII, malformed HTML).", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - }, - "original_length": { - "description": "Length of the original content (characters or tokens).", - "type": "integer", - "minimum": 0 - }, - "cleaned_length": { - "description": "Length of the cleaned content.", - "type": "integer", - "minimum": 0 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "cleaned_content" - ] -} diff --git a/public/schemas/v1.1.0/commons/clean/requests/clean.request.schema.json b/public/schemas/v1.1.0/commons/clean/requests/clean.request.schema.json deleted file mode 100644 index 520586c..0000000 --- a/public/schemas/v1.1.0/commons/clean/requests/clean.request.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/clean/clean.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "clean.request", - "description": "Request to clean, normalize, or sanitize content according to specified operations.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "clean" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "description": "Raw text or serialized content to be cleaned.", - "type": "string", - "minLength": 1 - }, - "operations": { - "description": "Operations to apply in order.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "maxItems": 32 - } - }, - "required": [ - "verb", - "schema_version", - "content" - ] -} diff --git a/public/schemas/v1.1.0/commons/convert/convert.receipt.schema.json b/public/schemas/v1.1.0/commons/convert/convert.receipt.schema.json deleted file mode 100644 index 0734ea3..0000000 --- a/public/schemas/v1.1.0/commons/convert/convert.receipt.schema.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/convert/convert.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "convert.receipt", - "description": "Receipt for a convert request, including converted content and provenance details.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "convert" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "converted_content": { - "description": "The converted content.", - "type": "string", - "minLength": 1 - }, - "source_format": { - "description": "Source format actually used by the provider.", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_format": { - "description": "Target format actually produced.", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "lossy": { - "description": "Whether the conversion was lossy.", - "type": "boolean" - }, - "warnings": { - "description": "Optional warnings produced during conversion.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "converted_content", - "target_format" - ] -} diff --git a/public/schemas/v1.1.0/commons/convert/convert.request.schema.json b/public/schemas/v1.1.0/commons/convert/convert.request.schema.json deleted file mode 100644 index 41347a6..0000000 --- a/public/schemas/v1.1.0/commons/convert/convert.request.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/convert/convert.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "convert.request", - "description": "Request to convert content from one format or schema to another (e.g., HTML->Markdown, JSON->CSV).", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "convert" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "description": "Raw content to be converted.", - "type": "string", - "minLength": 1 - }, - "source_format": { - "description": "Declared source format (e.g., html, markdown, json, csv).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_format": { - "description": "Requested target format.", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "options": { - "description": "Optional conversion options (e.g., preserve_links, pretty_print).", - "type": "object", - "additionalProperties": true - } - }, - "required": [ - "verb", - "schema_version", - "content", - "source_format", - "target_format" - ] -} diff --git a/public/schemas/v1.1.0/commons/convert/receipts/convert.receipt.schema.json b/public/schemas/v1.1.0/commons/convert/receipts/convert.receipt.schema.json deleted file mode 100644 index 0734ea3..0000000 --- a/public/schemas/v1.1.0/commons/convert/receipts/convert.receipt.schema.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/convert/convert.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "convert.receipt", - "description": "Receipt for a convert request, including converted content and provenance details.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "convert" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "converted_content": { - "description": "The converted content.", - "type": "string", - "minLength": 1 - }, - "source_format": { - "description": "Source format actually used by the provider.", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_format": { - "description": "Target format actually produced.", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "lossy": { - "description": "Whether the conversion was lossy.", - "type": "boolean" - }, - "warnings": { - "description": "Optional warnings produced during conversion.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "converted_content", - "target_format" - ] -} diff --git a/public/schemas/v1.1.0/commons/convert/requests/convert.request.schema.json b/public/schemas/v1.1.0/commons/convert/requests/convert.request.schema.json deleted file mode 100644 index 41347a6..0000000 --- a/public/schemas/v1.1.0/commons/convert/requests/convert.request.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/convert/convert.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "convert.request", - "description": "Request to convert content from one format or schema to another (e.g., HTML->Markdown, JSON->CSV).", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "convert" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "description": "Raw content to be converted.", - "type": "string", - "minLength": 1 - }, - "source_format": { - "description": "Declared source format (e.g., html, markdown, json, csv).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_format": { - "description": "Requested target format.", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "options": { - "description": "Optional conversion options (e.g., preserve_links, pretty_print).", - "type": "object", - "additionalProperties": true - } - }, - "required": [ - "verb", - "schema_version", - "content", - "source_format", - "target_format" - ] -} diff --git a/public/schemas/v1.1.0/commons/describe/describe.receipt.schema.json b/public/schemas/v1.1.0/commons/describe/describe.receipt.schema.json deleted file mode 100644 index 1a6f43e..0000000 --- a/public/schemas/v1.1.0/commons/describe/describe.receipt.schema.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/describe/describe.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "describe.receipt", - "description": "Receipt for a describe request, including a description text and optional key properties.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "describe" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "description": { - "description": "Natural language description of the subject.", - "type": "string", - "minLength": 1 - }, - "bullets": { - "description": "Optional bullet-point summary of key attributes or behaviors.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 64 - }, - "properties": { - "description": "Optional structured key/value properties about the subject.", - "type": "object", - "additionalProperties": { - "type": "string", - "minLength": 1, - "maxLength": 256 - } - } - }, - "required": [ - "verb", - "schema_version", - "status", - "description" - ] -} diff --git a/public/schemas/v1.1.0/commons/describe/describe.request.schema.json b/public/schemas/v1.1.0/commons/describe/describe.request.schema.json deleted file mode 100644 index 36be38e..0000000 --- a/public/schemas/v1.1.0/commons/describe/describe.request.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/describe/describe.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "describe.request", - "description": "Request to produce a descriptive explanation of an input object, resource, or concept (e.g., explain what this thing is and how it behaves).", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "describe" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "subject": { - "description": "The thing to describe (name, identifier, or short text).", - "type": "string", - "minLength": 1 - }, - "context": { - "description": "Optional additional context (e.g., where this subject appears).", - "type": "string", - "minLength": 1 - }, - "detail_level": { - "description": "Desired level of detail.", - "type": "string", - "enum": [ - "short", - "medium", - "long" - ] - }, - "audience": { - "description": "Intended audience (e.g., novice, expert, legal, product-manager).", - "type": "string", - "minLength": 1, - "maxLength": 64 - } - }, - "required": [ - "verb", - "schema_version", - "subject" - ] -} diff --git a/public/schemas/v1.1.0/commons/describe/receipts/describe.receipt.schema.json b/public/schemas/v1.1.0/commons/describe/receipts/describe.receipt.schema.json deleted file mode 100644 index 1a6f43e..0000000 --- a/public/schemas/v1.1.0/commons/describe/receipts/describe.receipt.schema.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/describe/describe.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "describe.receipt", - "description": "Receipt for a describe request, including a description text and optional key properties.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "describe" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "description": { - "description": "Natural language description of the subject.", - "type": "string", - "minLength": 1 - }, - "bullets": { - "description": "Optional bullet-point summary of key attributes or behaviors.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 64 - }, - "properties": { - "description": "Optional structured key/value properties about the subject.", - "type": "object", - "additionalProperties": { - "type": "string", - "minLength": 1, - "maxLength": 256 - } - } - }, - "required": [ - "verb", - "schema_version", - "status", - "description" - ] -} diff --git a/public/schemas/v1.1.0/commons/describe/requests/describe.request.schema.json b/public/schemas/v1.1.0/commons/describe/requests/describe.request.schema.json deleted file mode 100644 index 36be38e..0000000 --- a/public/schemas/v1.1.0/commons/describe/requests/describe.request.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/describe/describe.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "describe.request", - "description": "Request to produce a descriptive explanation of an input object, resource, or concept (e.g., explain what this thing is and how it behaves).", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "describe" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "subject": { - "description": "The thing to describe (name, identifier, or short text).", - "type": "string", - "minLength": 1 - }, - "context": { - "description": "Optional additional context (e.g., where this subject appears).", - "type": "string", - "minLength": 1 - }, - "detail_level": { - "description": "Desired level of detail.", - "type": "string", - "enum": [ - "short", - "medium", - "long" - ] - }, - "audience": { - "description": "Intended audience (e.g., novice, expert, legal, product-manager).", - "type": "string", - "minLength": 1, - "maxLength": 64 - } - }, - "required": [ - "verb", - "schema_version", - "subject" - ] -} diff --git a/public/schemas/v1.1.0/commons/explain/explain.receipt.schema.json b/public/schemas/v1.1.0/commons/explain/explain.receipt.schema.json deleted file mode 100644 index 1005f27..0000000 --- a/public/schemas/v1.1.0/commons/explain/explain.receipt.schema.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/explain/explain.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "explain.receipt", - "description": "Receipt for an explain request, including the explanation and optional reasoning steps.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "explain" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "explanation": { - "description": "Natural language explanation tailored to the requested audience.", - "type": "string", - "minLength": 1 - }, - "steps": { - "description": "Optional step-by-step breakdown of the reasoning.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "maxItems": 64 - }, - "summary": { - "description": "Optional short summary of the explanation.", - "type": "string", - "minLength": 1 - }, - "references": { - "description": "Optional references or pointers used for this explanation.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "maxItems": 64 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "explanation" - ] -} diff --git a/public/schemas/v1.1.0/commons/explain/explain.request.schema.json b/public/schemas/v1.1.0/commons/explain/explain.request.schema.json deleted file mode 100644 index 6ca3718..0000000 --- a/public/schemas/v1.1.0/commons/explain/explain.request.schema.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/explain/explain.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "explain.request", - "description": "Request to explain a concept, decision, or output, tailored to a specific audience and detail level.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "explain" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "subject": { - "description": "What should be explained (e.g., a concept, decision, or output).", - "type": "string", - "minLength": 1 - }, - "context": { - "description": "Optional surrounding context or raw snippet to ground the explanation.", - "type": "string", - "minLength": 1 - }, - "audience": { - "description": "Intended audience (e.g., novice, expert, legal, product-manager).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "style": { - "description": "Optional style hint (e.g., step-by-step, analogy, formal).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "detail_level": { - "description": "Desired level of detail.", - "type": "string", - "enum": [ - "short", - "medium", - "long" - ] - } - }, - "required": [ - "verb", - "schema_version", - "subject" - ] -} diff --git a/public/schemas/v1.1.0/commons/explain/receipts/explain.receipt.schema.json b/public/schemas/v1.1.0/commons/explain/receipts/explain.receipt.schema.json deleted file mode 100644 index 1005f27..0000000 --- a/public/schemas/v1.1.0/commons/explain/receipts/explain.receipt.schema.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/explain/explain.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "explain.receipt", - "description": "Receipt for an explain request, including the explanation and optional reasoning steps.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "explain" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "explanation": { - "description": "Natural language explanation tailored to the requested audience.", - "type": "string", - "minLength": 1 - }, - "steps": { - "description": "Optional step-by-step breakdown of the reasoning.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "maxItems": 64 - }, - "summary": { - "description": "Optional short summary of the explanation.", - "type": "string", - "minLength": 1 - }, - "references": { - "description": "Optional references or pointers used for this explanation.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "maxItems": 64 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "explanation" - ] -} diff --git a/public/schemas/v1.1.0/commons/explain/requests/explain.request.schema.json b/public/schemas/v1.1.0/commons/explain/requests/explain.request.schema.json deleted file mode 100644 index 6ca3718..0000000 --- a/public/schemas/v1.1.0/commons/explain/requests/explain.request.schema.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/explain/explain.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "explain.request", - "description": "Request to explain a concept, decision, or output, tailored to a specific audience and detail level.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "explain" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "subject": { - "description": "What should be explained (e.g., a concept, decision, or output).", - "type": "string", - "minLength": 1 - }, - "context": { - "description": "Optional surrounding context or raw snippet to ground the explanation.", - "type": "string", - "minLength": 1 - }, - "audience": { - "description": "Intended audience (e.g., novice, expert, legal, product-manager).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "style": { - "description": "Optional style hint (e.g., step-by-step, analogy, formal).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "detail_level": { - "description": "Desired level of detail.", - "type": "string", - "enum": [ - "short", - "medium", - "long" - ] - } - }, - "required": [ - "verb", - "schema_version", - "subject" - ] -} diff --git a/public/schemas/v1.1.0/commons/fetch/fetch.receipt.schema.json b/public/schemas/v1.1.0/commons/fetch/fetch.receipt.schema.json deleted file mode 100644 index 06c603e..0000000 --- a/public/schemas/v1.1.0/commons/fetch/fetch.receipt.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/fetch/fetch.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "fetch.receipt", - "description": "Receipt for a fetch request, including the items retrieved and pagination cursor if applicable.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "fetch" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "items": { - "description": "Array of items returned by the fetch operation.", - "type": "array", - "items": { - "type": "object", - "description": "An individual fetched item. Structure is source-specific.", - "additionalProperties": true - } - }, - "next_cursor": { - "description": "Opaque pagination cursor for retrieving additional items, if available.", - "type": "string", - "minLength": 1 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "items" - ] -} diff --git a/public/schemas/v1.1.0/commons/fetch/fetch.request.schema.json b/public/schemas/v1.1.0/commons/fetch/fetch.request.schema.json deleted file mode 100644 index d68bf5b..0000000 --- a/public/schemas/v1.1.0/commons/fetch/fetch.request.schema.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/fetch/fetch.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "fetch.request", - "description": "Request to fetch or retrieve items from a specified source using a query or filter.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "fetch" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - } - }, - "required": [ - "verb", - "schema_version" - ] -} diff --git a/public/schemas/v1.1.0/commons/fetch/receipts/fetch.receipt.schema.json b/public/schemas/v1.1.0/commons/fetch/receipts/fetch.receipt.schema.json deleted file mode 100644 index 06c603e..0000000 --- a/public/schemas/v1.1.0/commons/fetch/receipts/fetch.receipt.schema.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/fetch/fetch.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "fetch.receipt", - "description": "Receipt for a fetch request, including the items retrieved and pagination cursor if applicable.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "fetch" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "items": { - "description": "Array of items returned by the fetch operation.", - "type": "array", - "items": { - "type": "object", - "description": "An individual fetched item. Structure is source-specific.", - "additionalProperties": true - } - }, - "next_cursor": { - "description": "Opaque pagination cursor for retrieving additional items, if available.", - "type": "string", - "minLength": 1 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "items" - ] -} diff --git a/public/schemas/v1.1.0/commons/fetch/requests/fetch.request.schema.json b/public/schemas/v1.1.0/commons/fetch/requests/fetch.request.schema.json deleted file mode 100644 index d68bf5b..0000000 --- a/public/schemas/v1.1.0/commons/fetch/requests/fetch.request.schema.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/fetch/fetch.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "fetch.request", - "description": "Request to fetch or retrieve items from a specified source using a query or filter.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "fetch" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - } - }, - "required": [ - "verb", - "schema_version" - ] -} diff --git a/public/schemas/v1.1.0/commons/format/format.receipt.schema.json b/public/schemas/v1.1.0/commons/format/format.receipt.schema.json deleted file mode 100644 index ac5592a..0000000 --- a/public/schemas/v1.1.0/commons/format/format.receipt.schema.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/format/format.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "format.receipt", - "description": "Receipt for a format request, including formatted content and any applied style details.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "format" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "formatted_content": { - "description": "The formatted output content.", - "type": "string", - "minLength": 1 - }, - "style": { - "description": "Style actually applied (e.g., markdown, bullet-list, table).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "original_length": { - "description": "Length of the original content.", - "type": "integer", - "minimum": 0 - }, - "formatted_length": { - "description": "Length of the formatted content.", - "type": "integer", - "minimum": 0 - }, - "notes": { - "description": "Optional notes about formatting decisions or truncation.", - "type": "string", - "minLength": 1 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "formatted_content" - ] -} diff --git a/public/schemas/v1.1.0/commons/format/format.request.schema.json b/public/schemas/v1.1.0/commons/format/format.request.schema.json deleted file mode 100644 index 2652f4a..0000000 --- a/public/schemas/v1.1.0/commons/format/format.request.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/format/format.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "format.request", - "description": "Request to reformat or restyle content according to a target style or layout (e.g., markdown, JSON, tables, code style).", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "format" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "description": "Raw text to be formatted.", - "type": "string", - "minLength": 1 - }, - "source_style": { - "description": "Optional hint of the current style (e.g., plain, markdown, json, code).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_style": { - "description": "Requested target style (e.g., markdown, bullet-list, table, json-block).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "guidelines": { - "description": "Optional additional guidelines (e.g., max line width, heading depth).", - "type": "object", - "additionalProperties": true - } - }, - "required": [ - "verb", - "schema_version", - "content", - "target_style" - ] -} diff --git a/public/schemas/v1.1.0/commons/format/receipts/format.receipt.schema.json b/public/schemas/v1.1.0/commons/format/receipts/format.receipt.schema.json deleted file mode 100644 index ac5592a..0000000 --- a/public/schemas/v1.1.0/commons/format/receipts/format.receipt.schema.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/format/format.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "format.receipt", - "description": "Receipt for a format request, including formatted content and any applied style details.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "format" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "formatted_content": { - "description": "The formatted output content.", - "type": "string", - "minLength": 1 - }, - "style": { - "description": "Style actually applied (e.g., markdown, bullet-list, table).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "original_length": { - "description": "Length of the original content.", - "type": "integer", - "minimum": 0 - }, - "formatted_length": { - "description": "Length of the formatted content.", - "type": "integer", - "minimum": 0 - }, - "notes": { - "description": "Optional notes about formatting decisions or truncation.", - "type": "string", - "minLength": 1 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "formatted_content" - ] -} diff --git a/public/schemas/v1.1.0/commons/format/requests/format.request.schema.json b/public/schemas/v1.1.0/commons/format/requests/format.request.schema.json deleted file mode 100644 index 2652f4a..0000000 --- a/public/schemas/v1.1.0/commons/format/requests/format.request.schema.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/format/format.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "format.request", - "description": "Request to reformat or restyle content according to a target style or layout (e.g., markdown, JSON, tables, code style).", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "format" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "description": "Raw text to be formatted.", - "type": "string", - "minLength": 1 - }, - "source_style": { - "description": "Optional hint of the current style (e.g., plain, markdown, json, code).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_style": { - "description": "Requested target style (e.g., markdown, bullet-list, table, json-block).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "guidelines": { - "description": "Optional additional guidelines (e.g., max line width, heading depth).", - "type": "object", - "additionalProperties": true - } - }, - "required": [ - "verb", - "schema_version", - "content", - "target_style" - ] -} diff --git a/public/schemas/v1.1.0/commons/manifest.json b/public/schemas/v1.1.0/commons/manifest.json deleted file mode 100644 index 62d3b24..0000000 --- a/public/schemas/v1.1.0/commons/manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "commandlayer-commons", - "version": "1.1.0", - "schemas_root": "schemas/v1.1.0", - "tier": "commons", - "verbs": [ - "analyze", - "classify", - "clean", - "convert", - "describe", - "explain", - "fetch", - "format", - "parse", - "summarize" - ] -} diff --git a/public/schemas/v1.1.0/commons/parse/parse.receipt.schema.json b/public/schemas/v1.1.0/commons/parse/parse.receipt.schema.json deleted file mode 100644 index 4d1283c..0000000 --- a/public/schemas/v1.1.0/commons/parse/parse.receipt.schema.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/parse/parse.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "parse.receipt", - "description": "Receipt for a parse request, including the parsed structure and confidence/provenance details.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "parse" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "parsed": { - "description": "Parsed structured representation (e.g., JSON object).", - "type": "object", - "additionalProperties": true - }, - "target_schema": { - "description": "Schema actually used by the provider, if any.", - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "confidence": { - "description": "Confidence score in [0,1] for the parsed output.", - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "warnings": { - "description": "Optional warnings encountered during parsing.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "parsed" - ] -} diff --git a/public/schemas/v1.1.0/commons/parse/parse.request.schema.json b/public/schemas/v1.1.0/commons/parse/parse.request.schema.json deleted file mode 100644 index 92b498a..0000000 --- a/public/schemas/v1.1.0/commons/parse/parse.request.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/parse/parse.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "parse.request", - "description": "Request to parse unstructured or semi-structured content into a structured representation (e.g., JSON, fields, entities) with explicit limits and channel metadata.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "parse" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "description": "Raw content to be parsed.", - "type": "string", - "minLength": 1 - }, - "content_type": { - "description": "Hint of the input type (e.g., plain, markdown, json, yaml, csv, log).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_schema": { - "description": "URI or identifier of the target schema for the parsed output (if known).", - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "mode": { - "description": "Parsing mode preference.", - "type": "string", - "enum": [ - "strict", - "best_effort" - ] - } - }, - "required": [ - "verb", - "schema_version", - "content" - ] -} diff --git a/public/schemas/v1.1.0/commons/parse/receipts/parse.receipt.schema.json b/public/schemas/v1.1.0/commons/parse/receipts/parse.receipt.schema.json deleted file mode 100644 index 4d1283c..0000000 --- a/public/schemas/v1.1.0/commons/parse/receipts/parse.receipt.schema.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/parse/parse.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "parse.receipt", - "description": "Receipt for a parse request, including the parsed structure and confidence/provenance details.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "parse" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "parsed": { - "description": "Parsed structured representation (e.g., JSON object).", - "type": "object", - "additionalProperties": true - }, - "target_schema": { - "description": "Schema actually used by the provider, if any.", - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "confidence": { - "description": "Confidence score in [0,1] for the parsed output.", - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "warnings": { - "description": "Optional warnings encountered during parsing.", - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 256 - }, - "maxItems": 128 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "parsed" - ] -} diff --git a/public/schemas/v1.1.0/commons/parse/requests/parse.request.schema.json b/public/schemas/v1.1.0/commons/parse/requests/parse.request.schema.json deleted file mode 100644 index 92b498a..0000000 --- a/public/schemas/v1.1.0/commons/parse/requests/parse.request.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/parse/parse.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "parse.request", - "description": "Request to parse unstructured or semi-structured content into a structured representation (e.g., JSON, fields, entities) with explicit limits and channel metadata.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "parse" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "description": "Raw content to be parsed.", - "type": "string", - "minLength": 1 - }, - "content_type": { - "description": "Hint of the input type (e.g., plain, markdown, json, yaml, csv, log).", - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "target_schema": { - "description": "URI or identifier of the target schema for the parsed output (if known).", - "type": "string", - "minLength": 1, - "maxLength": 512 - }, - "mode": { - "description": "Parsing mode preference.", - "type": "string", - "enum": [ - "strict", - "best_effort" - ] - } - }, - "required": [ - "verb", - "schema_version", - "content" - ] -} diff --git a/public/schemas/v1.1.0/commons/summarize/receipts/summarize.receipt.schema.json b/public/schemas/v1.1.0/commons/summarize/receipts/summarize.receipt.schema.json deleted file mode 100644 index abf8370..0000000 --- a/public/schemas/v1.1.0/commons/summarize/receipts/summarize.receipt.schema.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/summarize/summarize.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "summarize.receipt", - "description": "Receipt for a summarize request, including the produced summary and provenance.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "summarize" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "summary": { - "description": "The generated summary.", - "type": "string", - "minLength": 1 - }, - "format": { - "description": "Format of the summary.", - "type": "string", - "enum": [ - "text", - "markdown", - "html", - "json", - "other" - ] - }, - "compression_ratio": { - "description": "Approximate compression ratio (input_length / output_length).", - "type": "number", - "minimum": 0 - }, - "source_hash": { - "description": "Optional hash of the input content (e.g., sha256 hex).", - "type": "string", - "minLength": 32, - "maxLength": 128 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "summary" - ] -} diff --git a/public/schemas/v1.1.0/commons/summarize/requests/summarize.request.schema.json b/public/schemas/v1.1.0/commons/summarize/requests/summarize.request.schema.json deleted file mode 100644 index d01eac4..0000000 --- a/public/schemas/v1.1.0/commons/summarize/requests/summarize.request.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/summarize/summarize.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "summarize.request", - "description": "Request to summarize content with explicit limits, channel, auth, and optional delegation/handoff metadata.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "summarize" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "type": "string", - "minLength": 1, - "maxLength": 250000 - }, - "format_hint": { - "type": "string", - "description": "Optional hint: e.g. 'markdown', 'html', 'plain'.", - "maxLength": 64 - }, - "summary_style": { - "type": "string", - "description": "High-level style hint such as 'bullet_points', 'narrative', 'exec_brief'.", - "maxLength": 64 - } - }, - "required": [ - "verb", - "schema_version", - "content" - ] -} diff --git a/public/schemas/v1.1.0/commons/summarize/summarize.receipt.schema.json b/public/schemas/v1.1.0/commons/summarize/summarize.receipt.schema.json deleted file mode 100644 index abf8370..0000000 --- a/public/schemas/v1.1.0/commons/summarize/summarize.receipt.schema.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/summarize/summarize.receipt.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "summarize.receipt", - "description": "Receipt for a summarize request, including the produced summary and provenance.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "summarize" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "status": { - "description": "Outcome status for this verb invocation.", - "type": "string", - "enum": [ - "success", - "error", - "delegated" - ] - }, - "summary": { - "description": "The generated summary.", - "type": "string", - "minLength": 1 - }, - "format": { - "description": "Format of the summary.", - "type": "string", - "enum": [ - "text", - "markdown", - "html", - "json", - "other" - ] - }, - "compression_ratio": { - "description": "Approximate compression ratio (input_length / output_length).", - "type": "number", - "minimum": 0 - }, - "source_hash": { - "description": "Optional hash of the input content (e.g., sha256 hex).", - "type": "string", - "minLength": 32, - "maxLength": 128 - } - }, - "required": [ - "verb", - "schema_version", - "status", - "summary" - ] -} diff --git a/public/schemas/v1.1.0/commons/summarize/summarize.request.schema.json b/public/schemas/v1.1.0/commons/summarize/summarize.request.schema.json deleted file mode 100644 index d01eac4..0000000 --- a/public/schemas/v1.1.0/commons/summarize/summarize.request.schema.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$id": "https://commandlayer.org/schemas/v1.1.0/commons/summarize/summarize.request.schema.json", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "title": "summarize.request", - "description": "Request to summarize content with explicit limits, channel, auth, and optional delegation/handoff metadata.", - "type": "object", - "additionalProperties": false, - "properties": { - "verb": { - "type": "string", - "const": "summarize" - }, - "schema_version": { - "type": "string", - "const": "1.1.0" - }, - "content": { - "type": "string", - "minLength": 1, - "maxLength": 250000 - }, - "format_hint": { - "type": "string", - "description": "Optional hint: e.g. 'markdown', 'html', 'plain'.", - "maxLength": 64 - }, - "summary_style": { - "type": "string", - "description": "High-level style hint such as 'bullet_points', 'narrative', 'exec_brief'.", - "maxLength": 64 - } - }, - "required": [ - "verb", - "schema_version", - "content" - ] -} diff --git a/public/trust-verification.html b/public/trust-verification.html index 1b8885c..8b7e899 100644 --- a/public/trust-verification.html +++ b/public/trust-verification.html @@ -100,9 +100,9 @@

Verification pipeline