enodia-sentinal/enodia_sentinel/schemas.py

21 lines
829 B
Python

# 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"
INTEGRITY_V1 = "enodia.integrity.v1"
HASH_CHAIN_V1 = "enodia.hash_chain.v1"
FIRST_SEEN_V1 = "enodia.first_seen.v1"
RESPONSE_PLAN_V1 = "enodia.response.plan.v1"
RESPONSE_AUDIT_V1 = "enodia.response.audit.v1"
RECONCILE_V1 = "enodia.reconcile.v1"
EVENT_V1 = "enodia.event.v1"