-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnapshot-bundle.schema.json
More file actions
26 lines (26 loc) · 908 Bytes
/
Copy pathsnapshot-bundle.schema.json
File metadata and controls
26 lines (26 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://zaati-os.dev/schemas/snapshot-bundle.schema.json",
"title": "Zaati OS atomic snapshot bundle",
"type": "object",
"additionalProperties": false,
"required": ["bundle_version", "run_id", "generated_at", "expected_source_ids", "snapshots"],
"properties": {
"bundle_version": { "const": "0.1.1" },
"run_id": { "type": "string", "pattern": "^[a-zA-Z0-9._:-]{1,120}$" },
"generated_at": { "type": "string", "format": "date-time" },
"expected_source_ids": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"uniqueItems": true,
"items": { "type": "string", "pattern": "^[a-z0-9-]+:[a-z0-9-]+$" }
},
"snapshots": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"items": { "$ref": "https://zaati-os.dev/schemas/snapshot.schema.json" }
}
}
}