Add stable v1 schema IDs and docs

This commit is contained in:
Luna 2026-06-16 04:05:12 -07:00
parent bfef23fc4a
commit 7a176ea238
13 changed files with 409 additions and 8 deletions

View file

@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-3.0-or-later
"""Stable JSON schema identifiers for operator-facing contracts.
These are lightweight schema IDs, not a full JSON Schema implementation. Tests
pin the minimum v1 fields and types so downstream automation can rely on them
while newer releases remain free to add fields.
"""
ALERT_V1 = "enodia.alert.v1"
ALERT_SNAPSHOT_V1 = "enodia.alert.snapshot.v1"
INCIDENT_V1 = "enodia.incident.v1"
INCIDENT_VIEW_V1 = "enodia.incident.view.v1"
INCIDENT_BUNDLE_V1 = "enodia.incident.bundle.v1"
STATUS_V1 = "enodia.status.v1"
RESPONSE_PLAN_V1 = "enodia.response.plan.v1"
RESPONSE_AUDIT_V1 = "enodia.response.audit.v1"