Skip to content

Implement sourceos.event.v0.1 JSON Schema and fixtures #4

Description

@mdheller

Goal

Implement the canonical sourceos.event.v0.1 JSON Schema from docs/canonical-event-envelope.md and add validation fixtures.

Scope

  • Add JSON Schema for the canonical event envelope.
  • Enforce controlled vocabularies for event_class, lane, severity, outcome, and privacy tier.
  • Add fixtures for process.exec, policy.decision, trust.evaluation, and telemetry.coalesced.
  • Add invalid fixtures that prove validation rejects bad severity/outcome/lane/event-class values.

Acceptance criteria

  • Required causality fields are enforced.
  • Privacy tier is required.
  • Network trust posture is explicit.
  • Sample fixtures validate cleanly.
  • Invalid fixtures fail predictably.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions