Demiton · Schema

self_reported_disease contract v1

The Self reported disease register contract, version 1. JSON Schema (draft 2020-12); x-demiton-* keywords carry Demiton's own meaning and standard validators ignore them.

CompanyConstructionCivil EngineeringProject ManagementComplianceMCPArtificial IntelligenceOpen Contracting

Properties

Name Type Description
kind string the kind the person raised it as (`extra_work`, `delay`, `defect`, `dispute`, `over_budget` or `compliance`).
status string counting, answered Not an issue, or deducted at verification. Withdrawn raises are retracted, not listed.
disease string the disease the raised kind names: a `DISEASE_CATALOG` key (`claim_window`, `rework_signal`, `evidence_gap`, `overrun_signal` or `compliance_gate`).
currency string ISO 4217 code of `estimate`, `supported_estimate` and `deducted`.
deducted number the amount deducted again: `estimate` less `supported_estimate`.
estimate number the raiser's estimate, in `currency`.
raised_at string when the issue was raised, UTC.
raised_by integer the Demiton user id of the first raiser.
raised_by_name string the raiser's display name at the time of the last sync.
supported_estimate number what Demiton found the email and the job's records support, when the raise was deducted; 0 when the figure was made up.
email_issue_fact_id integer the `email_issue` fact this row is the self-reported view of. The only link back to the email.
View JSON Schema on GitHub

JSON Schema

demiton-io-self_reported_disease-v1-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/self_reported_disease/v1.json",
  "title": "self_reported_disease contract v1",
  "type": "object",
  "required": [
    "disease",
    "email_issue_fact_id",
    "kind",
    "raised_at",
    "raised_by",
    "raised_by_name",
    "status"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "description": "the kind the person raised it as (`extra_work`, `delay`, `defect`, `dispute`, `over_budget` or `compliance`).",
      "x-demiton-requiredness": "required"
    },
    "status": {
      "type": "string",
      "description": "counting, answered Not an issue, or deducted at verification. Withdrawn raises are retracted, not listed.",
      "x-demiton-requiredness": "required"
    },
    "disease": {
      "type": "string",
      "description": "the disease the raised kind names: a `DISEASE_CATALOG` key (`claim_window`, `rework_signal`, `evidence_gap`, `overrun_signal` or `compliance_gate`).",
      "x-demiton-requiredness": "required"
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 code of `estimate`, `supported_estimate` and `deducted`.",
      "x-demiton-requiredness": "optional"
    },
    "deducted": {
      "type": "number",
      "description": "the amount deducted again: `estimate` less `supported_estimate`.",
      "x-demiton-requiredness": "optional"
    },
    "estimate": {
      "type": "number",
      "description": "the raiser's estimate, in `currency`.",
      "x-demiton-requiredness": "optional"
    },
    "raised_at": {
      "type": "string",
      "description": "when the issue was raised, UTC.",
      "x-demiton-requiredness": "required",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "raised_by": {
      "type": "integer",
      "description": "the Demiton user id of the first raiser.",
      "x-demiton-requiredness": "required"
    },
    "raised_by_name": {
      "type": "string",
      "description": "the raiser's display name at the time of the last sync.",
      "x-demiton-requiredness": "required"
    },
    "supported_estimate": {
      "type": "number",
      "description": "what Demiton found the email and the job's records support, when the raise was deducted; 0 when the figure was made up.",
      "x-demiton-requiredness": "optional"
    },
    "email_issue_fact_id": {
      "type": "integer",
      "description": "the `email_issue` fact this row is the self-reported view of. The only link back to the email.",
      "x-demiton-requiredness": "required"
    }
  },
  "x-demiton-register-type": "self_reported_disease",
  "x-demiton-contract-version": "1.0.0",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [
    {
      "axis": "project",
      "requirement": "required",
      "role": "subject"
    }
  ],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": []
  },
  "description": "The Self reported disease register contract, version 1. JSON Schema (draft 2020-12); x-demiton-* keywords carry Demiton's own meaning and standard validators ignore them.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/self_reported_disease/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/demiton-io-self_reported_disease-v1"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.