Initialize repository snapshot
This commit is contained in:
24
spec/sentinel/integrity.schema.json
Normal file
24
spec/sentinel/integrity.schema.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "VaultMesh Sentinel v1 Integrity Manifest (integrity.json)",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["format", "hash_algo", "files"],
|
||||
"properties": {
|
||||
"format": { "type": "string", "const": "vm-sentinel-integrity-v1" },
|
||||
"hash_algo": { "type": "string", "enum": ["blake3", "sha256"] },
|
||||
"files": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["path", "digest"],
|
||||
"properties": {
|
||||
"path": { "type": "string" },
|
||||
"digest": { "type": "string" },
|
||||
"size_bytes": { "type": "integer", "minimum": 0 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user