Editor integration
JSON Schemas (draft 2020-12) live under schemas/, one per kind.
Add a modeline to the top of your YAML for in-editor validation via yaml-language-server:
# yaml-language-server: $schema=https://raw.githubusercontent.com/no42-org/onmsctl/main/schemas/event-source.schema.json
Swap the filename for requisition / iam-user / snmp-config / maintenance / datacollection / business-service.
Pin a release tag for stability, or reference a local clone (./schemas/<name>.schema.json).
Regenerate with make schema (CI fails if a committed artifact lags).
The requisition schema annotates list fields with x-onmsctl-list-kind: ordered|set so diff tooling distinguishes ordered sequences (detectors, policies) from sets (categories, services).