The published schema
The canonical risk object, the documents every verb answers with, and the map from response to schema. No account, no key, no install.
| File | What it is | Emitted version |
|---|---|---|
risk-object.v0.schema.json | Craton canonical risk object, v0 | 0.2.0 |
account.v0.schema.json | Craton account, v0 | 0.2.0 |
accumulation.v0.schema.json | Craton accumulation rollup, v0 | 0.1.0 |
analysis.v0.schema.json | Craton analyse run, v0 | 0.1.0 |
backtest-response.v0.schema.json | Craton backtest artifact, v0 | 0.3.0 |
error.v0.schema.json | Craton error response, v0 | 0.1.0 |
event-catalogue.v0.schema.json | Craton public event catalog page, v0 | 0.1.0 |
event-footprint.v0.schema.json | Craton event footprint, v0 | 0.1.0 |
exchange-check.v0.schema.json | Craton model exchange connectivity check, v0 | 0.1.0 |
exchange-connector.v0.schema.json | Craton model exchange connector, v0 | 0.1.0 |
exchange-grants.v0.schema.json | Craton model exchange grants, v0 | 0.1.0 |
exchange-model-index.v0.schema.json | Craton model exchange index, v0 | 0.1.0 |
exchange-model.v0.schema.json | Craton model exchange listing, v0 | 0.2.0 |
exposure-codes.v0.schema.json | Craton exposure coding answer, v0 | 0.1.0 |
feed-data.v0.schema.json | Craton feed data document, v0 | 0.1.0 |
feed-index.v0.schema.json | Craton feed registry index, v0 | 0.1.0 |
feed-object.v0.schema.json | Craton feed object, v0 | 0.1.0 |
geocode.v0.schema.json | Craton geocoding lookup, v0 | 0.1.0 |
hazard.v0.schema.json | Craton point hazard lookup, v0 | 0.1.0 |
job.v0.schema.json | Craton job resource, v0 | 0.4.0 |
model-object.v0.schema.json | Craton model object, v0 | 0.3.0 |
model-primitives.v0.schema.json | Craton model builder primitives, v0 | 0.1.0 |
model-run.v0.schema.json | Craton model run result, v0 | 0.1.0 |
monitoring-index.v0.schema.json | Craton monitoring index, v0 | 0.1.0 |
monitoring-notification.v0.schema.json | Craton monitoring notification, v0 | 0.1.0 |
monitoring-webhook-index.v0.schema.json | Craton monitoring webhook index, v0 | 0.1.0 |
monitoring-webhook.v0.schema.json | Craton monitoring webhook registration, v0 | 0.1.0 |
monitoring.v0.schema.json | Craton monitoring record, v0 | 0.1.0 |
multi-building-flags.v0.schema.json | Craton multi-building check answer, v0 | 0.1.0 |
package.v0.schema.json | Craton submission pack, v0 | 0.2.0 |
price-response.v0.schema.json | Craton price response, v0 | 0.1.0 |
service-info.v0.schema.json | Craton service info, v0 | 0.2.0 |
structure.v0.schema.json | Craton structure resource, v0 | 0.1.0 |
usage.v0.schema.json | Craton usage, v0 | 0.1.0 |
api-contract.v0.json | Craton API response contract, v0 | None |
README.md | The Craton canonical risk object schema | None |
validate.py | Validator for the CEDE canonical risk object schema (SPEC.md section 2). | None |
Versions and validation
The file name carries the version line: risk-object.v0 reads every 0.x.y document, so a minor version never invalidates an object you already hold.
/schema.json is the short URL for the risk object. validate.py validates a document against it with nothing but a Python 3 and this directory.
These are the same files Craton validates its own responses against, served byte for byte as the release carries them.