From 29c8c3d65446826c8ea8e0e243aa8a08a38f6e99 Mon Sep 17 00:00:00 2001 From: evosoft-ie Date: Sun, 28 Dec 2025 11:20:33 +0000 Subject: [PATCH] Add AILint Provenance Sidecar JSON Schema --- spec/schema/ailint-sidecar.schema.json | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 spec/schema/ailint-sidecar.schema.json diff --git a/spec/schema/ailint-sidecar.schema.json b/spec/schema/ailint-sidecar.schema.json new file mode 100644 index 0000000..49b39a3 --- /dev/null +++ b/spec/schema/ailint-sidecar.schema.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://evosoft.ie/ailint/schema/sidecar/v1", + "title": "AILint Provenance Sidecar Record", + "type": "object", + "required": ["id", "content_hash", "provenance"], + "additionalProperties": false, + + "properties": { + "id": { + "type": "string", + "description": "Unique provenance record identifier." + }, + + "path": { + "type": "string", + "description": "Relative path to the content." + }, + + "content_hash": { + "type": "string", + "description": "Hash of the content this record applies to." + }, + + "provenance": { + "$ref": "./ailint-provenance.schema.json" + }, + + "signature": { + "type": "string", + "description": "Optional cryptographic signature." + } + } +}