Download schema/evidence.schema.json from Devseis/Arx: direct link, hf CLI and curl.
- Browser
- Download file 3.88 kB
-
https://huggingface.co/spaces/Devseis/Arx/resolve/main/schema/evidence.schema.json
- Command line
-
hf download hf://spaces/Devseis/Arx/schema/evidence.schema.json
-
curl -L -o evidence.schema.json https://huggingface.co/spaces/Devseis/Arx/resolve/main/schema/evidence.schema.json
3.88 kB
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "$id": "https://huggingface.co/spaces/Devseis/Arx/schema/evidence.schema.json", | |
| "title": "Devseis endpoint audit evidence", | |
| "description": "Output of one read-only audit run (real collector or synthetic generator). Control references are not repeated here: join results[].id with catalog/checks.json.", | |
| "type": "object", | |
| "required": ["schema_version", "catalog_version", "source", "audit", "host", "baseline", "results", "summary"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "schema_version": { "const": "1.0" }, | |
| "catalog_version": { "type": "string" }, | |
| "source": { | |
| "type": "object", | |
| "required": ["kind", "collector", "collector_version"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "kind": { "enum": ["collector", "synthetic", "web"] }, | |
| "collector": { "enum": ["windows", "linux", "macos", "ios", "android"] }, | |
| "collector_version": { "type": "string" }, | |
| "synthetic_seed": { "type": "integer" }, | |
| "synthetic_profile": { "type": "string" } | |
| } | |
| }, | |
| "audit": { | |
| "type": "object", | |
| "required": ["mode", "started_at", "execution_user", "is_admin"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "mode": { "const": "READ-ONLY" }, | |
| "started_at": { "type": "string", "description": "ISO 8601 with offset, e.g. 2026-10-06T17:09:54+05:00" }, | |
| "execution_user": { "type": "string" }, | |
| "is_admin": { "type": "boolean" } | |
| } | |
| }, | |
| "host": { | |
| "type": "object", | |
| "required": ["hostname", "os_family", "os_name", "os_version"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "hostname": { "type": "string" }, | |
| "os_family": { "enum": ["windows", "linux", "macos", "ios", "android"] }, | |
| "device_model": { "type": "string" }, | |
| "browser": { "type": "string" }, | |
| "os_name": { "type": "string" }, | |
| "os_version": { "type": "string" }, | |
| "build": { "type": "string" }, | |
| "kernel": { "type": "string" }, | |
| "architecture": { "type": "string" }, | |
| "serial_number": { "type": "string" } | |
| } | |
| }, | |
| "baseline": { | |
| "type": "object", | |
| "description": "The baseline.conf values used for this run (all values as strings).", | |
| "additionalProperties": { "type": "string" } | |
| }, | |
| "results": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "required": ["id", "section", "name", "status", "actual", "expected"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "id": { "type": "string", "description": "Check id from catalog/checks.json" }, | |
| "section": { "enum": ["baseline", "gdpr", "aiact", "org"] }, | |
| "name": { "type": "string", "description": "Report line, as printed for this OS" }, | |
| "status": { "enum": ["Compliant", "Non-Compliant", "NotApplicable", "Pending", "Error"] }, | |
| "actual": { "type": "string", "description": "What was found on the device" }, | |
| "expected": { "type": "string", "description": "What the baseline requires" }, | |
| "detail": { "type": "string", "description": "How the value was read, or why the status was given" }, | |
| "evidence": { "enum": ["detected", "self-reported"], "description": "Phones: detected by the browser, or answered by the user. Absent = read by a collector." } | |
| } | |
| } | |
| }, | |
| "summary": { | |
| "type": "object", | |
| "required": ["Compliant", "Non-Compliant", "NotApplicable", "Pending", "Error"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "Compliant": { "type": "integer" }, | |
| "Non-Compliant": { "type": "integer" }, | |
| "NotApplicable": { "type": "integer" }, | |
| "Pending": { "type": "integer" }, | |
| "Error": { "type": "integer" } | |
| } | |
| } | |
| } | |
| } | |