Skip to content

Releases: openjobspec/ojs-json-schema

v0.4.1

24 Apr 00:12

Choose a tag to compare

  • chore: update CHANGELOG for v0.4.0

ojs-json-schema v0.3.0

09 Mar 20:16

Choose a tag to compare

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

20 Apr 17:26

Choose a tag to compare

Release v0.4.0

ojs-json-schema v0.2.0

28 Feb 15:29

Choose a tag to compare

  • 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

23 Feb 09:47

Choose a tag to compare

@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