mirror of
https://github.com/evosoftie/AILint.git
synced 2026-08-06 12:56:52 +01:00
Add AILint Provenance Sidecar JSON Schema
This commit is contained in:
parent
13f171dfb6
commit
29c8c3d654
1 changed files with 34 additions and 0 deletions
34
spec/schema/ailint-sidecar.schema.json
Normal file
34
spec/schema/ailint-sidecar.schema.json
Normal file
|
|
@ -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."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue