common-events
SHAREDShared fault, mode & comm-health event families reused by all domains.
Module
A small module with a clean import graph: service models import it; there is no required inheritance.
module openits-common-events {
namespace "urn:openits:yang:common-events";
// fault / mode / comm-health families every domain reuses
notification fault-raised {
leaf code { type uint16; }
leaf severity { type severity; } // info|minor|major|critical
}
notification mode-changed { leaf to { type string; } }
notification comm-health-changed { leaf state { type comm-state; } }
}
Reuse
Reused by all service domains. Because shared modules only add definitions and never change per-service semantics, updating one is backward-compatible: a consumer that doesn't import a new type simply doesn't see it.
Schema registry
Immutable and content-addressed like every module; cite the exact revision in ce-dataschema.