Releases: openjobspec/ojs-json-schema
Releases · openjobspec/ojs-json-schema
v0.4.1
ojs-json-schema v0.3.0
v0.3.0
See the full release notes for details across all Open Job Spec projects.
Installation
See repository README for installation instructions.
v0.4.0
ojs-json-schema v0.2.0
- chore: bump version to 0.2.0
- fix: align retry extension with core lifecycle states
- fix: correct RFC 2119 keyword usage
- docs: clarify state transition semantics
- chore: update JSON Schema draft-2020-12 meta references
- feat: add schema definitions for cron extension
- docs: add conformance level mapping table
- fix: align retry extension with core lifecycle states
- docs: improve error code taxonomy description
- docs: add rationale for UUIDv7 job ID requirement
- perf: optimize data processing loop
- test: add unit tests for core utilities
- fix: correct required fields in retry extension
What's Changed
See the full release notes: https://github.com/openjobspec/openjobspec/blob/main/RELEASE_NOTES_v0.2.0.md
v0.1.0 — Initial JSON Schema Release
@openjobspec/schemas v0.1.0
JSON Schema (draft 2020-12) definitions for the Open Job Spec v1.0.
What's included
- Core schemas — Job envelope, enqueue options, retry policy, unique policy, structured errors, lifecycle events, workflows, cron jobs, queue statistics, worker info, and conformance manifest
- HTTP binding schemas — Request/response schemas for all HTTP API endpoints (enqueue, batch enqueue, fetch, ack, nack, heartbeat)
- npm package — Installable via
npm install @openjobspec/schemas
Use cases
- Runtime validation of OJS payloads in any language
- Code generation from JSON Schema
- Editor support and autocomplete for OJS JSON documents
- Conformance testing of OJS implementations