Reading the repo
Reading the repo
How to install on macOS
Validate event schemas for versioning, idempotency, and required fields.
Saved setup from 6 h ago
Will it work on my device?
CONTRIBUTING.mdThanks for taking the time to contribute.
A single-file Python CLI that validates event schemas for required fields, versioning, idempotency, and naming conventions. Zero dependencies, MIT licence.
git clone https://github.com/rahmankhanjohn/event-schema-lint.git
cd event-schema-lint
python -m unittest test_event_schema_lint -v
All tests should pass on Python 3.9 or newer. No install step.
event_schema_lint.py is the whole tool. Keep it that way.test_event_schema_lint.py that fails without your change.git checkout -b feat/your-change.python -m unittest test_event_schema_lint -v.python event_schema_lint.py . --report.Open a GitHub issue with:
Be direct, be specific, be kind. This is a tool for operators who are already having a hard quarter. Don't make them work harder to use it.
python event_schema_lint.py /path/to/schemas
python event_schema_lint.py /path/to/schemas --report
python event_schema_lint.py /path/to/schemas --json
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/rahmankhanjohn/event-schema-lint.git cd event-schema-lint
Python 3
brew install python
In the maintainers' order. Do the README instructions above first — they cover steps outside the terminal.
python event_schema_lint.py /path/to/schemas python event_schema_lint.py /path/to/schemas --report python event_schema_lint.py /path/to/schemas --json
No reports for macOS yet.
Opens a chat with this manual already filled in, for macOS. It uses your own account; gitmanual sends nothing.