OSPRY Docs

API reference (v1)

Schema

The machine-readable field contract.

getContractSchema

GET /api/v1/schema Fetch the JSON Schema 2020-12 contract document.

Unauthenticated and ungated: it carries the contract, never tenant data. It performs no tenant resolution and no database read.

Responses

  • Response 200: The contract document. The handler has no failure branch: it performs no tenant resolution, calls no database, and always answers 200 with the committed schema bytes.