{"openapi":"3.1.0","jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","info":{"title":"Indices, Indexing and Taxonomies: The Global Risks Index (NXS-GRX) API","version":"0.9.0","summary":"The Index network's domain product: the NHS-1 hazard and NIS-1 indicator taxonomies, deterministic classification, SSSOM crosswalks, a composite builder on your own data, the method, series, editions and country scopes. Institutional records are under /v1/grx/org. Values answer NOT_YET_PUBLISHED until an edition is released.","description":"Every record carries its authority, state, and the repository, commit, path, SHA-256 and licence of its source. Nothing here is a rating, advice, certification or compliance claim, and no value, rank or class is published before an edition is released. Independent of Foundry: it calls no Foundry route.","contact":{"name":"GCRI Canada, publisher of The Global Risks Index"},"license":{"name":"Data: per record (meta.provenance.licence), the Index registry licence is PENDING (D-9); code: Apache-2.0"}},"servers":[{"url":"https://api.risksindex.com","description":"Planned address; not live until T2 records it"}],"paths":{"/v1/status":{"get":{"operationId":"grx_status","summary":"Counts and state of every capability","description":"What the service holds, with the state of each route. The Index publishes no value before an edition is released. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.status","x-example":{"request":"/v1/status"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/editions":{"get":{"operationId":"grx_editions","summary":"Editions of the Index","description":"The edition in preparation, its evidence close, the release cadence and the lifecycle. released is false until an edition is issued. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"EditionList","x-mcp-tool":"grx.editions","x-example":{"request":"/v1/editions"},"parameters":[{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/EditionList"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/grx/org/what-changed":{"get":{"operationId":"grx_what_changed","summary":"What changed: editions, corrections and notices","description":"The feed of released editions, published corrections and replies (JSON Feed 1.1 items), optionally since a date. Empty until an edition is issued. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.what_changed","x-moved-from":"/v1/what-changed","x-moved-status":308,"x-example":{"request":"/v1/grx/org/what-changed?since=2026-01-01"},"parameters":[{"name":"since","in":"query","required":false,"description":"ISO date (YYYY-MM-DD); only items on or after it","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad since. Codes: BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/grx/org/corrections":{"get":{"operationId":"grx_corrections","summary":"Public corrections and replies log","description":"The correction and right-of-reply log by place (grx.corrections/v1). Optionally one place by ISO3 code. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.corrections","x-moved-from":"/v1/corrections","x-moved-status":308,"x-example":{"request":"/v1/grx/org/corrections?place=KEN"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms over the place, the correction and the reply","schema":{"type":"string"}},{"name":"place","in":"query","required":false,"description":"ISO3 code or ISO3/unit path","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/grx/org/coverage":{"get":{"operationId":"grx_coverage","summary":"Coverage of leaf indicators by data","description":"Leaves covered of leaves in total: a count, never a score. Its basis is stated in the answer. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.coverage","x-moved-from":"/v1/coverage","x-moved-status":308,"x-example":{"request":"/v1/grx/org/coverage"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/grx/org/calendar":{"get":{"operationId":"grx_calendar","summary":"Dated public items (release dates, data windows)","description":"Dated items GRIx staff publish once a date is final, read server side from the Index backend (nexus.calendar.source/v1). Answers BACKEND_CONNECTION_OFF while INDEX_API_BACKEND_URL is unset. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.calendar","x-moved-from":"/v1/calendar","x-moved-status":308,"x-example":{"request":"/v1/grx/org/calendar"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"502":{"description":"Backend bad response. Codes: BACKEND_BAD_RESPONSE, BACKEND_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BACKEND_BAD_RESPONSE","type":"urn:therisk:problem:index-api:backend_bad_response"},{"code":"BACKEND_UNAVAILABLE","type":"urn:therisk:problem:index-api:backend_unavailable"}]},"503":{"description":"Backend connection off. Codes: BACKEND_CONNECTION_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BACKEND_CONNECTION_OFF","type":"urn:therisk:problem:index-api:backend_connection_off"}]},"504":{"description":"Backend timeout. Codes: BACKEND_TIMEOUT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BACKEND_TIMEOUT","type":"urn:therisk:problem:index-api:backend_timeout"}]}},"x-availability":"available"}},"/v1/federation":{"get":{"operationId":"grx_federation","summary":"Federation descriptor for the Risk Graph","description":"The machine-readable descriptor the Risk Graph reads: authority record types, id pattern, resolve template, search route, neighbours source (the typed links), changes route, MCP catalogue, snapshot digest and snapshotAt, with link counts by rel. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Federation","x-mcp-tool":"grx.federation","x-example":{"request":"/v1/federation"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Federation"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/search":{"get":{"operationId":"grx_search","summary":"Search across the Index record types","description":"Hazards, hazard families and domains, indicators and domains, series, countries, mapping sets and product APIs. Deterministic ranking with no model; every hit names the terms that matched, the field and the weight, and its authority. Dimensions narrow hazards and indicators; others are reported in coverage. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"SearchHit[]","x-mcp-tool":"grx.search","x-example":{"request":"/v1/search?q=flood&type=hazard&limit=5"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms (required, 2 to 200 characters)","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"Comma-separated record types: hazard, hazard-family, hazard-domain, indicator, indicator-domain, series, country, mapping-set, product","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SearchHit"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_PAGE, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/context.jsonld":{"get":{"operationId":"GET_v1_context_jsonld","summary":"The JSON-LD context","description":"The @context that maps the fields of every record to SKOS, PROV-O, schema.org, DCAT 3 and Dublin Core terms. Any route answers application/ld+json on Accept: application/ld+json, with this context. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-example":{"request":"/v1/context.jsonld"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/ld+json":{"schema":{"type":"object","required":["@context"],"properties":{"@context":{"type":"object","description":"The JSON-LD context that maps the answer's keys to their vocabulary terms."}}}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/methods":{"get":{"operationId":"grx_methods","summary":"Method cards of the computed outputs","description":"One card per computed output: the builder, classification, crosswalks, the distribution step, the change feed and coverage. Generated from code. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.methods","x-example":{"request":"/v1/methods"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/methods/{id}":{"get":{"operationId":"grx_method_card","summary":"One method card","description":"Purpose, inputs, equations, assumptions, limits, uncertainty, sensitivity, replication, validation and version. The builder card runs the OECD/JRC Handbook golden values (Tables 14, 6, 7 and 11) and the hand derivations against the live code each time it is read. Review state: unreviewed. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"MethodCard","x-mcp-tool":"grx.method_card","x-example":{"request":"/v1/methods/grx-build-v1"},"parameters":[{"name":"id","in":"path","required":true,"description":"Method id of the Methods register: grx-build-v1, rule-v1, sssom-crosswalk-v1, sol28-distribution-v1, change-feed-v1 or coverage-v1","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/MethodCard"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/changes":{"get":{"operationId":"grx_changes","summary":"Change feed: CloudEvents 1.0 batches","description":"Events index.<type>.created|updated|corrected|withdrawn, derived deterministically from the diff of record digests between the previous released snapshot and this one, each with its provenance block. Over HTTP the media type is application/cloudevents-batch+json (a bare batch; paging by Link rel next and prev, total in X-Total-Count). format=envelope answers the same events inside the service envelope. Filters: since, type, subject. The first snapshot has no baseline, so every record is created. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"CloudEventBatch","x-mcp-tool":"grx.changes","x-example":{"request":"/v1/changes?type=index.series.created&limit=3"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms over the event type and subject","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: events on or after it","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"Comma-separated event types, for example index.hazard.updated","schema":{"type":"string"}},{"name":"subject","in":"query","required":false,"description":"A UNI, e.g. index:indicator/<id>: the history of one record","schema":{"type":"string"}},{"name":"format","in":"query","required":false,"description":"cloudevents (default) or envelope","schema":{"type":"string","enum":["cloudevents","envelope"]}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/cloudevents-batch+json":{"schema":{"$ref":"#/components/schemas/CloudEventBatch"}},"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/CloudEventBatch"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_FILTER, BAD_PAGE, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_FILTER","type":"urn:therisk:problem:index-api:bad_filter"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/sources":{"get":{"operationId":"grx_sources","summary":"Source files and commits of this snapshot","description":"Every source file the records come from, with repository, commit, path, SHA-256 and licence. (Moved from the 0.1 route /v1/changes, which is now the CloudEvents feed.) Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.sources","x-example":{"request":"/v1/sources"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/method":{"get":{"operationId":"grx_method","summary":"The Index method","description":"Version, status, principles, risk chain, composite formula and uncertainty design, minimum coverage, construction steps, validation and lifecycle of the draft method. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.method","x-example":{"request":"/v1/method"},"parameters":[{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/method/vocabularies":{"get":{"operationId":"grx_vocabulary","summary":"Classes, value states, status words and levels","description":"The five classes with their ranges and the class rule, the five value states, the eight status words, the six levels and the lifecycle. A vocabulary, never a value. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.vocabulary","x-example":{"request":"/v1/method/vocabularies"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/pillars":{"get":{"operationId":"grx_pillar_list","summary":"The four pillars","description":"HTE, VUL, MSF and LCC with their question and the domain indices that feed each. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.pillar_list","x-example":{"request":"/v1/pillars"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/pillars/{code}":{"get":{"operationId":"grx_pillar_get","summary":"One pillar with its domain indices","description":"A pillar by code, with each of its domain indices expanded to the NIS-1 record. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.pillar_get","x-example":{"request":"/v1/pillars/HTE"},"parameters":[{"name":"code","in":"path","required":true,"description":"Pillar code of the Pillars register: HTE, VUL, MSF or LCC","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/grx/org/instruments":{"get":{"operationId":"grx_instrument_list","summary":"The seven instruments","description":"Structural, Pulse, Outlook and the other instruments with cadence, question, method, outputs and status words. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.instrument_list","x-moved-from":"/v1/instruments","x-moved-status":308,"x-example":{"request":"/v1/grx/org/instruments"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/grx/org/instruments/{code}":{"get":{"operationId":"grx_instrument","summary":"One instrument","description":"By code (STR, PUL, OUT and the others) or slug. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.instrument","x-moved-from":"/v1/instruments/{code}","x-moved-status":308,"x-example":{"request":"/v1/grx/org/instruments/pulse"},"parameters":[{"name":"code","in":"path","required":true,"description":"Instrument code or slug of the Instruments register, e.g. STR","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/series":{"get":{"operationId":"grx_series","summary":"Index series (NXS-GRX)","description":"The 54 series of The Global Risks Index with scope, questions, domains and hazards. No values before an edition is released. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Series[]","x-mcp-tool":"grx.series","x-example":{"request":"/v1/series"},"parameters":[{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}},{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"family","in":"query","required":false,"description":"Series family of the Series register: GLB, GS, SR, TH or XT","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Series"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_PAGE, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/series/{code}":{"get":{"operationId":"grx_series_get","summary":"One Index series","description":"By series code, e.g. GS-01 or SR-03. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Series","x-mcp-tool":"grx.series_get","x-example":{"request":"/v1/series/GS-01"},"parameters":[{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}},{"name":"code","in":"path","required":true,"description":"Series code of the Series register, e.g. GS-01 or SR-03","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Series"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/countries":{"get":{"operationId":"grx_country_list","summary":"Country profiles (195)","description":"The 193 UN member states and the 2 UN observer states, regions and sub-regions by UN M49. A listing takes no position on status. No value. Availability: Available. Deprecated parameter: region (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Country[]","x-mcp-tool":"grx.country_list","x-example":{"request":"/v1/countries"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms (name or code)","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"UN M49 region or sub-region (name, e.g. Africa, or 3 digit code): the countries in it","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"subregion","in":"query","required":false,"description":"UN M49 sub-region","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Country"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/countries/{iso3}":{"get":{"operationId":"grx_country_get","summary":"One country profile","description":"The registry record, its value state (withheld until an edition is released), corrections for the place and links to the series and domain indices that apply. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"CountryProfile","x-mcp-tool":"grx.country_get","x-example":{"request":"/v1/countries/KEN"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/CountryProfile"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/resolve/{curie}":{"get":{"operationId":"grx_resolve","summary":"Resolve an Index identifier","description":"Resolves an index:<type>/<local-id>[@version] CURIE (or its https://graph.therisk.global/v1/resolve/<curie> form) to the record, its links, the authority and a pointer to its change history. A pinned version this snapshot does not hold answers 404 VERSION_NOT_IN_SNAPSHOT, never the latest. Identifiers of other networks answer 404 NOT_THIS_AUTHORITY with the authority named. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Resolved","x-mcp-tool":"grx.resolve","x-example":{"request":"/v1/resolve/index:hazard%2Fatmo.convective.thunderstorm"},"parameters":[{"name":"curie","in":"path","required":true,"description":"index:<type>/<local-id>, for example index:hazard/atmo.convective.thunderstorm, optionally @version","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Resolved"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad identifier. Codes: BAD_IDENTIFIER","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_IDENTIFIER","type":"urn:therisk:problem:index-api:bad_identifier"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND, NOT_THIS_AUTHORITY, UNKNOWN_TYPE, VERSION_NOT_IN_SNAPSHOT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"NOT_THIS_AUTHORITY","type":"urn:therisk:problem:index-api:not_this_authority"},{"code":"UNKNOWN_TYPE","type":"urn:therisk:problem:index-api:unknown_type"},{"code":"VERSION_NOT_IN_SNAPSHOT","type":"urn:therisk:problem:index-api:version_not_in_snapshot"}]},"410":{"description":"Withdrawn. Codes: WITHDRAWN","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WITHDRAWN","type":"urn:therisk:problem:index-api:withdrawn"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/problems":{"get":{"operationId":"grx_problems","summary":"The problem catalogue","description":"Every error code, its type urn:therisk:problem:index-api:<code>, status and meaning. Each route declares the codes it can answer (x-problem-codes). Availability: Available.","tags":["public"],"x-public":true,"x-returns":"ProblemCatalogueEntry[]","x-mcp-tool":"grx.problems","x-example":{"request":"/v1/problems?q=cursor"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms (case-insensitive; every term must match)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ProblemCatalogueEntry"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/deprecations":{"get":{"operationId":"grx_deprecations","summary":"Deprecated routes and parameters","description":"Superseded routes (308 with Deprecation, Sunset and successor links) and the deprecated parameters (risk, alias of hazard; country, alias of jurisdiction on the profiles bulk listing), with at least 12 months of notice. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.deprecations","x-example":{"request":"/v1/deprecations"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/taxonomy/hazards/domains":{"get":{"operationId":"grx_taxonomy_hazard_domains","summary":"NHS-1 hazard domains and families","description":"The 14 NHS-1 domains with their families and hazard counts. Nexus Standards is the authority; this is an indexing product over it. Draft: expert review required. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"HazardDomain[]","x-mcp-tool":"grx.taxonomy_hazard_domains","x-example":{"request":"/v1/taxonomy/hazards/domains?jurisdiction=KEN"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms (case-insensitive; every term must match)","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/HazardDomain"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_PAGE, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/taxonomy/hazards":{"get":{"operationId":"grx_taxonomy_hazard","summary":"Search the NHS-1 hazard taxonomy","description":"905 hazards in 120 families and 14 domains, each with definition, aliases, attributes (origin, onset, footprint, sector contexts) and review state. Filter by domain, family, origin, sector context or risk, and by the coverage dimensions. Relations carry a confidence label and its basis. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Hazard[]","x-mcp-tool":"grx.taxonomy_hazard","x-example":{"request":"/v1/taxonomy/hazards?q=flood&context=energy&jurisdiction=KEN&limit=5"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms (label, aliases, definition)","schema":{"type":"string"}},{"name":"domain","in":"query","required":false,"description":"NHS-1 domain, for example water","schema":{"type":"string"}},{"name":"family","in":"query","required":false,"description":"Series family of the Series register: GLB, GS, SR, TH or XT","schema":{"type":"string"}},{"name":"origin","in":"query","required":false,"description":"natural, human or other origin attribute","schema":{"type":"string"}},{"name":"context","in":"query","required":false,"description":"NHS-1 sector context, for example energy","schema":{"type":"string"}},{"name":"theme","in":"query","required":false,"description":"Index theme code or slug (TH-01 to TH-04)","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Hazard"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_PAGE, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/taxonomy/hazards/{id}":{"get":{"operationId":"grx_taxonomy_hazard_get","summary":"One NHS-1 hazard with relations, indicators and links","description":"A hazard by NHS-1 id with its family, relations in and out (each with confidence label and basis, marked unreviewed), the NIS-1 indicators that name it or its family, crosswalk coverage (none for HIPs 2025, EM-DAT and ISIC) and typed links. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"HazardDetail","x-mcp-tool":"grx.taxonomy_hazard_get","x-example":{"request":"/v1/taxonomy/hazards/atmo.convective.thunderstorm"},"parameters":[{"name":"id","in":"path","required":true,"description":"NHS-1 hazard id, for example atmo.convective.thunderstorm","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/HazardDetail"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/taxonomy/indicators/domains":{"get":{"operationId":"grx_domain_list","summary":"The 20 NIS-1 domains and their domain indices","description":"NIS-1 domains with scope, subdomains, indicator counts and the ids of the domain indices. Moved from /v1/domains. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"IndicatorDomain[]","x-mcp-tool":"grx.domain_list","x-moved-from":"/v1/domains","x-moved-status":308,"x-example":{"request":"/v1/taxonomy/indicators/domains"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms (case-insensitive; every term must match)","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/IndicatorDomain"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_PAGE, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/taxonomy/indicators/domains/{code}":{"get":{"operationId":"grx_domain_get","summary":"One NIS-1 domain","description":"A domain with its domain indices, sub-indices and indicators. Moved from /v1/domains/{code}. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"IndicatorDomainDetail","x-mcp-tool":"grx.domain_get","x-moved-from":"/v1/domains/{code}","x-moved-status":308,"x-example":{"request":"/v1/taxonomy/indicators/domains/FIS"},"parameters":[{"name":"code","in":"path","required":true,"description":"NIS-1 domain code, e.g. FIS","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/IndicatorDomainDetail"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/taxonomy/indicators":{"get":{"operationId":"grx_taxonomy_indicator","summary":"Search the NIS-1 indicator taxonomy","description":"451 indicators (IND), 86 sub-indices (SUB) and 20 domain indices (IDX) with definition, polarity, unit, frequency, spatial levels, sources and crosswalks. Moved and extended from /v1/indicators; risk narrows to indicators that name a hazard, its family or its domain. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Indicator[]","x-mcp-tool":"grx.taxonomy_indicator","x-moved-from":"/v1/indicators","x-moved-status":308,"x-example":{"request":"/v1/taxonomy/indicators?risk=water.flood&level=COUNTRY&limit=5"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"domain","in":"query","required":false,"description":"NIS-1 domain code","schema":{"type":"string"}},{"name":"layer","in":"query","required":false,"description":"IND, SUB or IDX","schema":{"type":"string"}},{"name":"level","in":"query","required":false,"description":"Spatial level, e.g. COUNTRY","schema":{"type":"string"}},{"name":"theme","in":"query","required":false,"description":"Index theme code or slug (TH-01 to TH-04)","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Indicator"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_LAYER, BAD_PAGE, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/taxonomy/indicators/{id}":{"get":{"operationId":"grx_indicator_get","summary":"One NIS-1 indicator, sub-index or domain index","description":"By NIS-1 id, optionally with @version, with typed links to hazards, crosswalk rows and the authority. Moved from /v1/indicators/{id}. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Indicator","x-mcp-tool":"grx.indicator_get","x-moved-from":"/v1/indicators/{id}","x-moved-status":308,"x-example":{"request":"/v1/taxonomy/indicators/nis:IND.MAC.output.gdp.usd"},"parameters":[{"name":"id","in":"path","required":true,"description":"NIS-1 id, e.g. nis:IDX.FIS.debt.fiscal_risk","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Indicator"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/classify":{"get":{"operationId":"grx_classify","summary":"Classify text or a code to taxonomy codes","description":"Deterministic, no model call. Give q (text) or code with system (nhs-1, nis-1, hips-2025, emdat, sendai, sdg, inform). Returns NHS-1 hazards and NIS-1 indicators with a confidence and its basis; a rule score or a draft crosswalk label, never a probability. A suggestion to review, not an assignment. Availability: Available. Deprecated parameter: risk, limit (alias of top), region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"ClassifyAnswer","x-mcp-tool":"grx.classify","x-example":{"request":"/v1/classify?q=river%20flood%20damage%20to%20a%20power%20substation&scheme=hazard"},"parameters":[{"name":"q","in":"query","required":false,"description":"Text to classify, 3 to 2000 characters","schema":{"type":"string"}},{"name":"code","in":"query","required":false,"description":"A code of the code system named by system, e.g. an NHS-1 or NIS-1 id","schema":{"type":"string"}},{"name":"system","in":"query","required":false,"description":"nhs-1, nis-1, hips-2025, emdat, sendai, sdg or inform","schema":{"type":"string"}},{"name":"scheme","in":"query","required":false,"description":"hazard, indicator or both (default both)","schema":{"type":"string"}},{"name":"top","in":"query","required":false,"description":"Most matches to return, 1 to 50 (default 10): a ranked shortlist, not a page","schema":{"type":"integer","minimum":1,"maximum":50},"x-aliases":[{"name":"limit","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"top"}}]},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/ClassifyAnswer"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad code. Codes: BAD_CODE, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_INPUT, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SCHEME, BAD_SINCE, BAD_SYSTEM, BAD_TEXT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CODE","type":"urn:therisk:problem:index-api:bad_code"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_INPUT","type":"urn:therisk:problem:index-api:bad_input"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SCHEME","type":"urn:therisk:problem:index-api:bad_scheme"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"},{"code":"BAD_SYSTEM","type":"urn:therisk:problem:index-api:bad_system"},{"code":"BAD_TEXT","type":"urn:therisk:problem:index-api:bad_text"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/crosswalks":{"get":{"operationId":"grx_crosswalk_list","summary":"Mapping sets (SSSOM) to HIPs 2025, EM-DAT, Sendai, SDG, INFORM and ISIC","description":"Nine mapping sets with their row counts, review state and coverage. Rows come only from the registry; every row is an unreviewed draft and a set with no rows says coverage none. Nothing is invented. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"MappingSet[]","x-mcp-tool":"grx.crosswalk_list","x-example":{"request":"/v1/crosswalks"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms (case-insensitive; every term must match)","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MappingSet"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_PAGE, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/crosswalks/{set}":{"get":{"operationId":"grx_crosswalk","summary":"Rows of one mapping set (JSON or SSSOM TSV)","description":"Rows with predicate, justification, confidence, date and review label. format=sssom-tsv returns valid SSSOM TSV with its metadata block (mapping_set_id, license, mapping_date, curie_map). Filters: subject, object, min_confidence, reviewed. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"MappingRow[]","x-mcp-tool":"grx.crosswalk","x-example":{"request":"/v1/crosswalks/nis1-sendai?min_confidence=0.9"},"parameters":[{"name":"set","in":"path","required":true,"description":"nis1-hips-2025, nis1-emdat, nis1-sendai, nis1-sdg, nis1-inform, nhs1-hips-2025, nhs1-emdat, nhs1-isic-rev5 or nis1-isic-rev5","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms over subject, object and labels","schema":{"type":"string"}},{"name":"subject","in":"query","required":false,"description":"A UNI, e.g. index:indicator/<id>: the history of one record","schema":{"type":"string"}},{"name":"object","in":"query","required":false,"description":"An external code, with or without its prefix","schema":{"type":"string"}},{"name":"min_confidence","in":"query","required":false,"description":"From 0 to 1. Default when omitted: no minimum.","schema":{"type":"number","minimum":0,"maximum":1}},{"name":"reviewed","in":"query","required":false,"description":"true or false (reviewed rows: none yet). Default when omitted: both.","schema":{"type":"string","enum":["true","false"]}},{"name":"format","in":"query","required":false,"description":"json (default) or sssom-tsv","schema":{"type":"string","enum":["json","sssom-tsv"]}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/MappingRow"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad confidence. Codes: BAD_CONFIDENCE, BAD_CURSOR, BAD_FILTER, BAD_FORMAT, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_PAGE, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CONFIDENCE","type":"urn:therisk:problem:index-api:bad_confidence"},{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_FILTER","type":"urn:therisk:problem:index-api:bad_filter"},{"code":"BAD_FORMAT","type":"urn:therisk:problem:index-api:bad_format"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/method/builder":{"get":{"operationId":"grx_method_builder","summary":"The composite builder design, options and limits","description":"How POST /v1/build follows the OECD/JRC Handbook: steps implemented and not, normalisation, outlier, weighting and aggregation options, uncertainty and Sobol design, limits, and the audit findings it applies. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.method_builder","x-example":{"request":"/v1/method/builder"},"parameters":[{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/method/known-issues":{"get":{"operationId":"grx_method_issues","summary":"Open findings against the Index method draft","description":"The method findings of the 2026-11-22 expert audit (orphaned MAC, doubled CLI, unbounded Coupled score, aggregation, uncertainty design) as open items the builder does not inherit. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.method_issues","x-example":{"request":"/v1/method/known-issues"},"parameters":[{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/build":{"post":{"operationId":"grx_build","summary":"Build a composite on your own data","description":"Normalise, weight, aggregate and quantify uncertainty for indicators and units you send, following the OECD/JRC Handbook. Scores are bounded 0 to 10, aggregation is declared per level (arithmetic, geometric, geometric-complement), outliers use the skewness and kurtosis rule, and uncertainty is a seeded Monte Carlo with Sobol indices. The whole design is in the answer. Open and free; nothing is stored. Illustrative, never an Index value, rating or advice. Over MCP the tool is listed only with a Passport token (the kit allows anonymous GET tools only). Availability: Available.","tags":["public"],"x-public":true,"x-returns":"BuildResult","x-mcp-tool":"grx.build","x-mcp-requires-token":true,"x-example":{"request":"/v1/build","note":"Three countries, two pillars, a missing value left null, geometric-complement for the hazard pillar.","body":{"indicators":[{"id":"flood_exposure","pillar":"HAZ","polarity":"higher-is-riskier"},{"id":"heat_days","pillar":"HAZ","polarity":"higher-is-riskier"},{"id":"health_beds","pillar":"CAP","polarity":"lower-is-riskier"},{"id":"early_warning","pillar":"CAP","polarity":"lower-is-riskier"}],"units":[{"id":"A","values":{"flood_exposure":0.2,"heat_days":10,"health_beds":3.1,"early_warning":0.8}},{"id":"B","values":{"flood_exposure":0.6,"heat_days":40,"health_beds":1.2,"early_warning":null}},{"id":"C","values":{"flood_exposure":0.9,"heat_days":25,"health_beds":0.6,"early_warning":0.2}}],"design":{"withinPillar":"geometric-complement","acrossPillars":"geometric"},"uncertainty":{"runs":200,"seed":7}}},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/BuildResult"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["indicators","units"],"additionalProperties":false,"properties":{"indicators":{"type":"array","minItems":1,"maxItems":120,"items":{"type":"object","required":["id"],"additionalProperties":false,"properties":{"id":{"type":"string","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"pillar":{"type":"string"},"polarity":{"type":"string","enum":["higher-is-riskier","lower-is-riskier"]},"weight":{"type":"number","exclusiveMinimum":0},"min":{"type":"number"},"max":{"type":"number"},"log":{"type":"boolean"},"nis":{"type":"string","description":"A NIS-1 indicator id: polarity and goalposts are read from it when not given"},"provenance":{"type":"string","maxLength":200,"description":"Where the record comes from, in W3C PROV-O terms: repository, commit, path, SHA-256 digest, licence, snapshot time and the source's own identifiers."}}}},"units":{"type":"array","minItems":2,"maxItems":250,"items":{"type":"object","required":["id","values"],"additionalProperties":false,"properties":{"id":{"type":"string","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"values":{"type":"object","additionalProperties":{"type":["number","null"]}}}}},"design":{"type":"object","additionalProperties":false,"properties":{"normalisation":{"type":"string","enum":["min-max","rank","z-bounded"]},"outliers":{"type":"string","enum":["none","winsorise","log"]},"imputation":{"type":"string","enum":["none","median"]},"weighting":{"type":"string","enum":["equal","given"]},"pillarWeighting":{"type":"string","enum":["equal","given"]},"pillarWeights":{"type":"object","additionalProperties":{"type":"number"}},"withinPillar":{"type":"string","enum":["arithmetic","geometric","geometric-complement"]},"acrossPillars":{"type":"string","enum":["arithmetic","geometric","geometric-complement"]},"floor":{"type":"number","exclusiveMinimum":0,"maximum":1},"minCoverage":{"type":"number","exclusiveMinimum":0,"maximum":1}}},"uncertainty":{"type":"object","additionalProperties":false,"properties":{"runs":{"type":"integer","minimum":100,"maximum":2000},"seed":{"type":"integer","minimum":0},"weightPerturbation":{"type":"number","minimum":0,"maximum":0.5},"alternatives":{"type":"object","properties":{"normalisation":{"type":"array","items":{"type":"string"}},"outliers":{"type":"array","items":{"type":"string"}},"aggregation":{"type":"array","items":{"type":"string"}}}}},"description":"The uncertainty of a computed value: its interval or distribution and how it was derived."}}}}}},"x-availability":"available"}},"/v1/editions/{edition}":{"get":{"operationId":"grx_edition_get","summary":"One edition of the Index","description":"The edition in preparation by id (GRIX-2026-BASELINE). No edition is released; any other id is 404. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Edition","x-mcp-tool":"grx.edition_get","x-example":{"request":"/v1/editions/GRIX-2026-BASELINE"},"parameters":[{"name":"edition","in":"path","required":true,"description":"Edition id of the Editions register, e.g. GRIX-2026-BASELINE","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Edition"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/editions/{edition}/values":{"get":{"operationId":"grx_edition_values","summary":"Values of an edition","description":"Answers 501 NOT_YET_PUBLISHED until the edition is released; then the values with 90% intervals, class probability, method version and replication digest. Availability: Planned (answers a typed problem response until built). Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.edition_values","x-example":{"request":"/v1/editions/GRIX-2026-BASELINE/values?jurisdiction=KEN"},"parameters":[{"name":"edition","in":"path","required":true,"description":"Edition id of the Editions register, e.g. GRIX-2026-BASELINE","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_YET_PUBLISHED","type":"urn:therisk:problem:index-api:not_yet_published"}]}},"x-availability":"planned"}},"/v1/series/{code}/values":{"get":{"operationId":"grx_series_values","summary":"Values of one series","description":"Answers 501 NOT_YET_PUBLISHED until an edition is released. Varies by industry, jurisdiction and risk when released. Availability: Planned (answers a typed problem response until built). Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.series_values","x-example":{"request":"/v1/series/GS-01/values?jurisdiction=KEN"},"parameters":[{"name":"code","in":"path","required":true,"description":"Series code of the Series register, e.g. GS-01 or SR-03","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_YET_PUBLISHED","type":"urn:therisk:problem:index-api:not_yet_published"}]}},"x-availability":"planned"}},"/v1/products":{"get":{"operationId":"grx_product_list","summary":"Catalogue of scopes: country editions and themes","description":"Every scope of the Index: 195 country editions and 4 thematic scopes, each with its operations, tool count, coverage and availability, and the MCP address and tool prefix. A scope with no resources of its own says so. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"SubApi[]","x-mcp-tool":"grx.product_list","x-example":{"request":"/v1/products?kind=theme"},"parameters":[{"name":"kind","in":"query","required":false,"description":"country or theme","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SubApi"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","x-legacy-tool":"grx.subapis"}},"/v1/n":{"get":{"operationId":"legacy_grx_subapis","summary":"Legacy address: catalogue of scopes: country editions and themes","description":"Every scope of the Index: 195 country editions and 4 thematic scopes, each with its operations, tool count, coverage and availability, and the MCP address and tool prefix. A scope with no resources of its own says so. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"SubApi[]","parameters":[{"name":"kind","in":"query","required":false,"description":"country or theme","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SubApi"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/products","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/products"}}},"/v1/country-editions":{"get":{"operationId":"grx_country_edition_list","summary":"The 195 country editions","description":"The jurisdiction dimension: one scoped edition of the Index per country. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Subsite[]","x-mcp-tool":"grx.country_edition_list","x-example":{"request":"/v1/country-editions?q=kenya"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms (name or code)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Subsite"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","x-legacy-tool":"grx.country_sites"}},"/v1/n/country":{"get":{"operationId":"legacy_grx_country_sites","summary":"Legacy address: the 195 country editions","description":"The jurisdiction dimension: one scoped edition of the Index per country. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Subsite[]","parameters":[{"name":"q","in":"query","required":false,"description":"Search terms (name or code)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Subsite"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/country-editions","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/country-editions"}}},"/v1/countries/{iso3}/edition":{"get":{"operationId":"grx_country_edition","summary":"One country edition: what is held and what is not","description":"The country with its scoped resources and an honest coverage block (the vocabularies apply everywhere, no country-specific record exists, no value until an edition is released). Kenya (KEN) is the live test. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"CountrySite","x-mcp-tool":"grx.country_edition","x-example":{"request":"/v1/countries/KEN/edition"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/CountrySite"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","x-legacy-tool":"grx.country_site"}},"/v1/n/country/{iso3}":{"get":{"operationId":"legacy_grx_country_site","summary":"Legacy address: one country edition: what is held and what is not","description":"The country with its scoped resources and an honest coverage block (the vocabularies apply everywhere, no country-specific record exists, no value until an edition is released). Kenya (KEN) is the live test. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"CountrySite","parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/CountrySite"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/countries/{iso3}/edition","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/countries/{iso3}/edition"}}},"/v1/countries/{iso3}/taxonomy/hazards":{"get":{"operationId":"grx_country_hazards","summary":"NHS-1 hazards scoped to the country","description":"The route /v1/taxonomy/hazards fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.country_hazards","x-example":{"request":"/v1/countries/KEN/taxonomy/hazards?q=drought&limit=3"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE, BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/country/{iso3}/taxonomy/hazards":{"get":{"operationId":"legacy_grx_country_hazards","summary":"Legacy address: nHS-1 hazards scoped to the country","description":"The route /v1/taxonomy/hazards fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE, BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/countries/{iso3}/taxonomy/hazards","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/countries/{iso3}/taxonomy/hazards"}}},"/v1/countries/{iso3}/taxonomy/indicators":{"get":{"operationId":"grx_country_indicators","summary":"NIS-1 indicators scoped to the country","description":"The route /v1/taxonomy/indicators fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.country_indicators","x-example":{"request":"/v1/countries/KEN/taxonomy/indicators"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/country/{iso3}/taxonomy/indicators":{"get":{"operationId":"legacy_grx_country_indicators","summary":"Legacy address: nIS-1 indicators scoped to the country","description":"The route /v1/taxonomy/indicators fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/countries/{iso3}/taxonomy/indicators","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/countries/{iso3}/taxonomy/indicators"}}},"/v1/countries/{iso3}/classify":{"get":{"operationId":"grx_country_classify","summary":"Classification scoped to the country","description":"The route /v1/classify fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.country_classify","x-example":{"request":"/v1/countries/KEN/classify?q=drought%20and%20crop%20failure"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text to classify","schema":{"type":"string"}},{"name":"code","in":"query","required":false,"description":"A code of the code system named by system, e.g. an NHS-1 or NIS-1 id","schema":{"type":"string"}},{"name":"system","in":"query","required":false,"description":"Code system","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/country/{iso3}/classify":{"get":{"operationId":"legacy_grx_country_classify","summary":"Legacy address: classification scoped to the country","description":"The route /v1/classify fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text to classify","schema":{"type":"string"}},{"name":"code","in":"query","required":false,"description":"A code of the code system named by system, e.g. an NHS-1 or NIS-1 id","schema":{"type":"string"}},{"name":"system","in":"query","required":false,"description":"Code system","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/countries/{iso3}/classify","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/countries/{iso3}/classify"}}},"/v1/countries/{iso3}/crosswalks":{"get":{"operationId":"grx_country_crosswalks","summary":"Crosswalk sets scoped to the country","description":"The route /v1/crosswalks fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.country_crosswalks","x-example":{"request":"/v1/countries/KEN/crosswalks"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/country/{iso3}/crosswalks":{"get":{"operationId":"legacy_grx_country_crosswalks","summary":"Legacy address: crosswalk sets scoped to the country","description":"The route /v1/crosswalks fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/countries/{iso3}/crosswalks","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/countries/{iso3}/crosswalks"}}},"/v1/countries/{iso3}/method":{"get":{"operationId":"grx_country_method","summary":"The method scoped to the country","description":"The route /v1/method fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.country_method","x-example":{"request":"/v1/countries/KEN/method"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/country/{iso3}/method":{"get":{"operationId":"legacy_grx_country_method","summary":"Legacy address: the method scoped to the country","description":"The route /v1/method fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/countries/{iso3}/method","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/countries/{iso3}/method"}}},"/v1/countries/{iso3}/series":{"get":{"operationId":"grx_country_series","summary":"Index series scoped to the country","description":"The route /v1/series fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.country_series","x-example":{"request":"/v1/countries/KEN/series"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/country/{iso3}/series":{"get":{"operationId":"legacy_grx_country_series","summary":"Legacy address: index series scoped to the country","description":"The route /v1/series fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/countries/{iso3}/series","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/countries/{iso3}/series"}}},"/v1/countries/{iso3}/editions":{"get":{"operationId":"grx_country_editions","summary":"Editions scoped to the country","description":"The route /v1/editions fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.country_editions","x-example":{"request":"/v1/countries/KEN/editions"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/country/{iso3}/editions":{"get":{"operationId":"legacy_grx_country_editions","summary":"Legacy address: editions scoped to the country","description":"The route /v1/editions fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/countries/{iso3}/editions","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/countries/{iso3}/editions"}}},"/v1/countries/{iso3}/values":{"get":{"operationId":"grx_country_values","summary":"Values scoped to the country","description":"The route /v1/values/{iso3} fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Answers NOT_YET_PUBLISHED until an edition is released. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.country_values","x-example":{"request":"/v1/countries/KEN/values"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_YET_PUBLISHED","type":"urn:therisk:problem:index-api:not_yet_published"}]}},"x-availability":"planned"}},"/v1/n/country/{iso3}/values":{"get":{"operationId":"legacy_grx_country_values","summary":"Legacy address: values scoped to the country","description":"The route /v1/values/{iso3} fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Answers NOT_YET_PUBLISHED until an edition is released. Availability: Planned (answers a typed problem response until built).","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"400":{"description":"Bad theme. Codes: BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_YET_PUBLISHED","type":"urn:therisk:problem:index-api:not_yet_published"}]}},"x-availability":"planned","deprecated":true,"x-legacy":true,"x-successor":"/v1/countries/{iso3}/values","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/countries/{iso3}/values"}}},"/v1/countries/{iso3}/changes":{"get":{"operationId":"grx_country_changes","summary":"The change feed scoped to the country","description":"The route /v1/changes fixed to the country: the same parameters apply and the answer names the scope it was fixed to. CloudEvents of the records this scope serves (its own slice of the feed). Availability: Available.","tags":["public"],"x-public":true,"x-returns":"CloudEventBatch","x-mcp-tool":"grx.country_changes","x-example":{"request":"/v1/countries/KEN/changes?limit=3"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms over the event type and subject","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"Event types","schema":{"type":"string"}},{"name":"subject","in":"query","required":false,"description":"A UNI, e.g. index:indicator/<id>: the history of one record","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/cloudevents-batch+json":{"schema":{"$ref":"#/components/schemas/CloudEventBatch"}},"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/CloudEventBatch"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE, BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/country/{iso3}/changes":{"get":{"operationId":"legacy_grx_country_changes","summary":"Legacy address: the change feed scoped to the country","description":"The route /v1/changes fixed to the country: the same parameters apply and the answer names the scope it was fixed to. CloudEvents of the records this scope serves (its own slice of the feed). Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"CloudEventBatch","parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms over the event type and subject","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"Event types","schema":{"type":"string"}},{"name":"subject","in":"query","required":false,"description":"A UNI, e.g. index:indicator/<id>: the history of one record","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/cloudevents-batch+json":{"schema":{"$ref":"#/components/schemas/CloudEventBatch"}},"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/CloudEventBatch"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE, BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/countries/{iso3}/changes","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/countries/{iso3}/changes"}}},"/v1/contributions":{"get":{"operationId":"grx_contributions","summary":"Published contributions (native data intake)","description":"Accepted, de-identified contributions from the Index site (data corrections, source suggestions, rights of reply), each with its review record, the licence the contributor granted and the provenance { source: \"intake\", feature, reviewRole, decisionId }. Self-reported data is labelled self-reported. The route is built (E); the data path is D until a reviewed contribution exists: the list is empty and coverage is none. Never a score. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Contribution[]","x-mcp-tool":"grx.contributions","x-example":{"request":"/v1/contributions"},"parameters":[{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166 alpha-3 code of the place","schema":{"type":"string"}},{"name":"theme","in":"query","required":false,"description":"Theme slug","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms in the contribution text","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"data-correction, source-suggestion, right-of-reply or local-observation","schema":{"type":"string"}},{"name":"feature","in":"query","required":false,"description":"The declared site feature, for example GRX-MAIN.value-correction","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Contribution"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/countries/{iso3}/contributions":{"get":{"operationId":"grx_country_contributions","summary":"Published contributions about the country","description":"The published contributions that name this place. The route is built; coverage is none until one is published. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Contribution[]","x-mcp-tool":"grx.country_contributions","x-example":{"request":"/v1/countries/KEN/contributions"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms in the contribution text","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"data-correction, source-suggestion, right-of-reply or local-observation","schema":{"type":"string"}},{"name":"feature","in":"query","required":false,"description":"The declared site feature","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Contribution"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE, BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/country/{iso3}/contributions":{"get":{"operationId":"legacy_grx_country_contributions","summary":"Legacy address: published contributions about the country","description":"The published contributions that name this place. The route is built; coverage is none until one is published. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Contribution[]","parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms in the contribution text","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"data-correction, source-suggestion, right-of-reply or local-observation","schema":{"type":"string"}},{"name":"feature","in":"query","required":false,"description":"The declared site feature","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Contribution"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE, BAD_THEME, SCOPE_CONFLICT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"},{"code":"SCOPE_CONFLICT","type":"urn:therisk:problem:index-api:scope_conflict"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/countries/{iso3}/contributions","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/countries/{iso3}/contributions"}}},"/v1/themes/{slug}/contributions":{"get":{"operationId":"grx_theme_contributions","summary":"Published contributions for the theme","description":"The published contributions tagged with this theme. The route is built; coverage is none until one is published. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Contribution[]","x-mcp-tool":"grx.theme_contributions","x-example":{"request":"/v1/themes/wefh-b/contributions"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms in the contribution text","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"data-correction, source-suggestion, right-of-reply or local-observation","schema":{"type":"string"}},{"name":"feature","in":"query","required":false,"description":"The declared site feature","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Contribution"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/contributions":{"get":{"operationId":"legacy_grx_theme_contributions","summary":"Legacy address: published contributions for the theme","description":"The published contributions tagged with this theme. The route is built; coverage is none until one is published. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Contribution[]","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms in the contribution text","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"data-correction, source-suggestion, right-of-reply or local-observation","schema":{"type":"string"}},{"name":"feature","in":"query","required":false,"description":"The declared site feature","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Contribution"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/contributions","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/contributions"}}},"/v1/themes":{"get":{"operationId":"grx_theme_list","summary":"The four thematic scopes","description":"Thematic scopes exist only where Index series records exist: the four TH series (WEFH-B, DRR, DRF, DRI). Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Subsite[]","x-mcp-tool":"grx.theme_list","x-example":{"request":"/v1/themes"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms (case-insensitive; every term must match)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Subsite"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme":{"get":{"operationId":"legacy_grx_theme_list","summary":"Legacy address: the four thematic scopes","description":"Thematic scopes exist only where Index series records exist: the four TH series (WEFH-B, DRR, DRF, DRI). Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Subsite[]","parameters":[{"name":"q","in":"query","required":false,"description":"Search terms (case-insensitive; every term must match)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Subsite"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes"}}},"/v1/themes/{slug}":{"get":{"operationId":"grx_theme_get","summary":"One thematic scope","description":"The series, its NIS-1 domains and NHS-1 domains; the scope has no resource of its own yet. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Subsite","x-mcp-tool":"grx.theme_get","x-example":{"request":"/v1/themes/wefh-b"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Subsite"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}":{"get":{"operationId":"legacy_grx_theme_get","summary":"Legacy address: one thematic scope","description":"The series, its NIS-1 domains and NHS-1 domains; the scope has no resource of its own yet. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Subsite","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Subsite"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}"}}},"/v1/themes/{slug}/taxonomy/hazards":{"get":{"operationId":"grx_theme_hazards","summary":"NHS-1 hazards scoped to the theme","description":"The route /v1/taxonomy/hazards fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.theme_hazards","x-example":{"request":"/v1/themes/wefh-b/taxonomy/hazards?q=drought&limit=3"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/taxonomy/hazards":{"get":{"operationId":"legacy_grx_theme_hazards","summary":"Legacy address: nHS-1 hazards scoped to the theme","description":"The route /v1/taxonomy/hazards fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/taxonomy/hazards","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/taxonomy/hazards"}}},"/v1/themes/{slug}/taxonomy/indicators":{"get":{"operationId":"grx_theme_indicators","summary":"NIS-1 indicators scoped to the theme","description":"The route /v1/taxonomy/indicators fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.theme_indicators","x-example":{"request":"/v1/themes/wefh-b/taxonomy/indicators"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/taxonomy/indicators":{"get":{"operationId":"legacy_grx_theme_indicators","summary":"Legacy address: nIS-1 indicators scoped to the theme","description":"The route /v1/taxonomy/indicators fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/taxonomy/indicators","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/taxonomy/indicators"}}},"/v1/themes/{slug}/classify":{"get":{"operationId":"grx_theme_classify","summary":"Classification scoped to the theme","description":"The route /v1/classify fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.theme_classify","x-example":{"request":"/v1/themes/wefh-b/classify?q=drought%20and%20crop%20failure"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text to classify","schema":{"type":"string"}},{"name":"code","in":"query","required":false,"description":"A code of the code system named by system, e.g. an NHS-1 or NIS-1 id","schema":{"type":"string"}},{"name":"system","in":"query","required":false,"description":"Code system","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/classify":{"get":{"operationId":"legacy_grx_theme_classify","summary":"Legacy address: classification scoped to the theme","description":"The route /v1/classify fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text to classify","schema":{"type":"string"}},{"name":"code","in":"query","required":false,"description":"A code of the code system named by system, e.g. an NHS-1 or NIS-1 id","schema":{"type":"string"}},{"name":"system","in":"query","required":false,"description":"Code system","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/classify","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/classify"}}},"/v1/themes/{slug}/crosswalks":{"get":{"operationId":"grx_theme_crosswalks","summary":"Crosswalk sets scoped to the theme","description":"The route /v1/crosswalks fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.theme_crosswalks","x-example":{"request":"/v1/themes/wefh-b/crosswalks"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/crosswalks":{"get":{"operationId":"legacy_grx_theme_crosswalks","summary":"Legacy address: crosswalk sets scoped to the theme","description":"The route /v1/crosswalks fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/crosswalks","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/crosswalks"}}},"/v1/themes/{slug}/method":{"get":{"operationId":"grx_theme_method","summary":"The method scoped to the theme","description":"The route /v1/method fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.theme_method","x-example":{"request":"/v1/themes/wefh-b/method"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/method":{"get":{"operationId":"legacy_grx_theme_method","summary":"Legacy address: the method scoped to the theme","description":"The route /v1/method fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/method","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/method"}}},"/v1/themes/{slug}/series":{"get":{"operationId":"grx_theme_series","summary":"Index series scoped to the theme","description":"The route /v1/series fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.theme_series","x-example":{"request":"/v1/themes/wefh-b/series"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/series":{"get":{"operationId":"legacy_grx_theme_series","summary":"Legacy address: index series scoped to the theme","description":"The route /v1/series fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/series","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/series"}}},"/v1/themes/{slug}/editions":{"get":{"operationId":"grx_theme_editions","summary":"Editions scoped to the theme","description":"The route /v1/editions fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.theme_editions","x-example":{"request":"/v1/themes/wefh-b/editions"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/editions":{"get":{"operationId":"legacy_grx_theme_editions","summary":"Legacy address: editions scoped to the theme","description":"The route /v1/editions fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/editions","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/editions"}}},"/v1/themes/{slug}/values":{"get":{"operationId":"grx_theme_values","summary":"Values scoped to the theme","description":"The route /v1/series/{code}/values fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Answers NOT_YET_PUBLISHED until an edition is released. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.theme_values","x-example":{"request":"/v1/themes/wefh-b/values"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_YET_PUBLISHED","type":"urn:therisk:problem:index-api:not_yet_published"}]}},"x-availability":"planned"}},"/v1/n/theme/{slug}/values":{"get":{"operationId":"legacy_grx_theme_values","summary":"Legacy address: values scoped to the theme","description":"The route /v1/series/{code}/values fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. Answers NOT_YET_PUBLISHED until an edition is released. Availability: Planned (answers a typed problem response until built).","tags":["Legacy"],"x-public":false,"x-returns":"Object","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_YET_PUBLISHED","type":"urn:therisk:problem:index-api:not_yet_published"}]}},"x-availability":"planned","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/values","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/values"}}},"/v1/themes/{slug}/changes":{"get":{"operationId":"grx_theme_changes","summary":"The change feed scoped to the theme","description":"The route /v1/changes fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. CloudEvents of the records this scope serves (its own slice of the feed). Availability: Available.","tags":["public"],"x-public":true,"x-returns":"CloudEventBatch","x-mcp-tool":"grx.theme_changes","x-example":{"request":"/v1/themes/wefh-b/changes?limit=3"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms over the event type and subject","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"Event types","schema":{"type":"string"}},{"name":"subject","in":"query","required":false,"description":"A UNI, e.g. index:indicator/<id>: the history of one record","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/cloudevents-batch+json":{"schema":{"$ref":"#/components/schemas/CloudEventBatch"}},"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/CloudEventBatch"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/changes":{"get":{"operationId":"legacy_grx_theme_changes","summary":"Legacy address: the change feed scoped to the theme","description":"The route /v1/changes fixed to the theme: the same parameters apply and the answer names the scope it was fixed to. CloudEvents of the records this scope serves (its own slice of the feed). Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"CloudEventBatch","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms over the event type and subject","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date","schema":{"type":"string"}},{"name":"type","in":"query","required":false,"description":"Event types","schema":{"type":"string"}},{"name":"subject","in":"query","required":false,"description":"A UNI, e.g. index:indicator/<id>: the history of one record","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/cloudevents-batch+json":{"schema":{"$ref":"#/components/schemas/CloudEventBatch"}},"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/CloudEventBatch"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/changes","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/changes"}}},"/v1/themes/{slug}/indicator-set":{"get":{"operationId":"grx_theme_indicator_set","summary":"The theme's indicator set from NIS-1, with metadata","description":"The leaf indicators of the domain index of each of the theme's NIS-1 domains, grouped by pillar, each with its NIS-1 metadata (polarity, unit, frequency, spatial levels, sources, goalposts, hazards, review state) and effective weight. A definition set; no value. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"ThemeIndicatorSet","x-mcp-tool":"grx.theme_indicator_set","x-example":{"request":"/v1/themes/wefh-b/indicator-set"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/ThemeIndicatorSet"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/indicator-set":{"get":{"operationId":"legacy_grx_theme_indicator_set","summary":"Legacy address: the theme's indicator set from NIS-1, with metadata","description":"The leaf indicators of the domain index of each of the theme's NIS-1 domains, grouped by pillar, each with its NIS-1 metadata (polarity, unit, frequency, spatial levels, sources, goalposts, hazards, review state) and effective weight. A definition set; no value. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"ThemeIndicatorSet","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/ThemeIndicatorSet"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/indicator-set","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/indicator-set"}}},"/v1/themes/{slug}/framework":{"get":{"operationId":"grx_theme_framework","summary":"The theme's framework and builder parameters","description":"The composite framework of the theme (one pillar per domain index) with the method as parameters: normalisation, outlier treatment, aggregation, minimum coverage, equal pillar weights, Monte Carlo and Sobol design, taken from the NIS-1 domain indices and the Index method draft, with the simplifications stated. Ready to send to the theme build route. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"ThemeFramework","x-mcp-tool":"grx.theme_framework","x-example":{"request":"/v1/themes/drr/framework"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/ThemeFramework"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/framework":{"get":{"operationId":"legacy_grx_theme_framework","summary":"Legacy address: the theme's framework and builder parameters","description":"The composite framework of the theme (one pillar per domain index) with the method as parameters: normalisation, outlier treatment, aggregation, minimum coverage, equal pillar weights, Monte Carlo and Sobol design, taken from the NIS-1 domain indices and the Index method draft, with the simplifications stated. Ready to send to the theme build route. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"ThemeFramework","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/ThemeFramework"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad layer. Codes: BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/framework","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/framework"}}},"/v1/themes/{slug}/framework-crosswalks":{"get":{"operationId":"grx_theme_framework_crosswalks","summary":"Crosswalks of the theme's indicator set to its frameworks","description":"The registry mapping rows of the theme's indicators to Sendai, SDG, HIPs 2025, EM-DAT and INFORM (SSSOM rows, all unreviewed), with row counts per framework. Frameworks the registry has no row for (Paris Agreement, ISIC) are listed as none. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"ThemeCrosswalkRow[]","x-mcp-tool":"grx.theme_framework_crosswalks","x-example":{"request":"/v1/themes/drr/framework-crosswalks?framework=nis1-sendai&limit=5"},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"framework","in":"query","required":false,"description":"A framework or set id, for example Sendai Framework Monitor or nis1-sdg","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms in the mapped codes and labels","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ThemeCrosswalkRow"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/n/theme/{slug}/framework-crosswalks":{"get":{"operationId":"legacy_grx_theme_framework_crosswalks","summary":"Legacy address: crosswalks of the theme's indicator set to its frameworks","description":"The registry mapping rows of the theme's indicators to Sendai, SDG, HIPs 2025, EM-DAT and INFORM (SSSOM rows, all unreviewed), with row counts per framework. Frameworks the registry has no row for (Paris Agreement, ISIC) are listed as none. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"ThemeCrosswalkRow[]","parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}},{"name":"framework","in":"query","required":false,"description":"A framework or set id, for example Sendai Framework Monitor or nis1-sdg","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms in the mapped codes and labels","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ThemeCrosswalkRow"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_LAYER, BAD_PAGE, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/framework-crosswalks","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/framework-crosswalks"}}},"/v1/themes/{slug}/build":{"post":{"operationId":"grx_theme_build","summary":"Build the theme's composite on your own data","description":"The composite builder pre-configured for the theme: send units with values keyed by NIS-1 indicator id; polarity, goalposts, effective weights, pillars and the method parameters come from the framework and can be overridden in design and uncertainty. Returns the builder result with intervals, Sobol sensitivity and a replication digest, and says which pillars are missing. Illustrative, on your data, never an Index value, rating or advice. Open over HTTP; over MCP only with a Passport token. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"BuildResult","x-mcp-tool":"grx.theme_build","x-mcp-requires-token":true,"x-example":{"request":"/v1/themes/wefh-b/build","note":"Four synthetic units, two indicators of the water pillar and two of the energy pillar, NIS-1 goalposts.","body":{"units":[{"id":"A","values":{"nis:IND.WAT.access.basic_handwashing.share":80,"nis:IND.WAT.access.safely_managed_drinking_water.share":90,"nis:IND.ENE.access.clean_cooking":70,"nis:IND.ENE.access.electricity_access":95}},{"id":"B","values":{"nis:IND.WAT.access.basic_handwashing.share":40,"nis:IND.WAT.access.safely_managed_drinking_water.share":55,"nis:IND.ENE.access.clean_cooking":20,"nis:IND.ENE.access.electricity_access":60}},{"id":"C","values":{"nis:IND.WAT.access.basic_handwashing.share":60,"nis:IND.WAT.access.safely_managed_drinking_water.share":70,"nis:IND.ENE.access.clean_cooking":45,"nis:IND.ENE.access.electricity_access":80}}],"uncertainty":{"runs":200,"seed":3,"bootstrap":0}}},"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/BuildResult"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON, BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["units"],"additionalProperties":false,"properties":{"units":{"type":"array","minItems":2,"maxItems":250,"items":{"type":"object","required":["id","values"],"properties":{"id":{"type":"string","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"values":{"type":"object","additionalProperties":{"type":["number","null"]}}}}},"indicators":{"type":"array","items":{"type":"string"}},"design":{"type":"object"},"uncertainty":{"type":["object","boolean"],"description":"The uncertainty of a computed value: its interval or distribution and how it was derived."},"goalposts":{"type":"boolean"}}}}}},"x-availability":"available"}},"/v1/n/theme/{slug}/build":{"post":{"operationId":"legacy_grx_theme_build","summary":"Legacy address: build the theme's composite on your own data","description":"The composite builder pre-configured for the theme: send units with values keyed by NIS-1 indicator id; polarity, goalposts, effective weights, pillars and the method parameters come from the framework and can be overridden in design and uncertainty. Returns the builder result with intervals, Sobol sensitivity and a replication digest, and says which pillars are missing. Illustrative, on your data, never an Index value, rating or advice. Open over HTTP; over MCP only with a Passport token. Availability: Available.","tags":["Legacy"],"x-public":false,"x-returns":"BuildResult","x-mcp-requires-token":true,"parameters":[{"name":"slug","in":"path","required":true,"description":"Slug of a thematic scope of the Themes register: drf, dri, drr or wefh-b","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/BuildResult"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON, BAD_LAYER, BAD_THEME","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"},{"code":"BAD_LAYER","type":"urn:therisk:problem:index-api:bad_layer"},{"code":"BAD_THEME","type":"urn:therisk:problem:index-api:bad_theme"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["units"],"additionalProperties":false,"properties":{"units":{"type":"array","minItems":2,"maxItems":250,"items":{"type":"object","required":["id","values"],"properties":{"id":{"type":"string","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"values":{"type":"object","additionalProperties":{"type":["number","null"]}}}}},"indicators":{"type":"array","items":{"type":"string"}},"design":{"type":"object"},"uncertainty":{"type":["object","boolean"],"description":"The uncertainty of a computed value: its interval or distribution and how it was derived."},"goalposts":{"type":"boolean"}}}}}},"x-availability":"available","deprecated":true,"x-legacy":true,"x-successor":"/v1/themes/{slug}/build","x-deprecated":{"since":"2026-11-26","sunset":"2027-11-27","successor":"/v1/themes/{slug}/build"}}},"/v1/webhooks":{"post":{"operationId":"POST_v1_webhooks","summary":"Subscribe a receiver","description":"Creates a webhook subscription for the account of the token: an https url, the event types (for example index.hazard.created, or *) and an optional description. The receiver must complete the CloudEvents validation handshake. The signing secret is answered once. Scope index.webhook_subscribe:write. Off (503 WEBHOOKS_OFF) until INDEX_API_DATABASE_URL is set; the change feed at /v1/changes carries the same changes. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"WebhookDocument","parameters":[],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"400":{"description":"Bad body. Codes: BAD_BODY, BAD_BUILD, BAD_JSON, BAD_QUERY, BAD_WEBHOOK","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BODY","type":"urn:therisk:problem:index-api:bad_body"},{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"},{"code":"BAD_QUERY","type":"urn:therisk:problem:index-api:bad_query"},{"code":"BAD_WEBHOOK","type":"urn:therisk:problem:index-api:bad_webhook"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"403":{"description":"Insufficient scope. Codes: INSUFFICIENT_SCOPE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INSUFFICIENT_SCOPE","type":"urn:therisk:problem:index-api:insufficient_scope"}]},"404":{"description":"No such webhook. Codes: WEBHOOK_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_NOT_FOUND","type":"urn:therisk:problem:index-api:webhook_not_found"}]},"409":{"description":"Webhook exists. Codes: WEBHOOK_EXISTS, WEBHOOK_LIMIT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_EXISTS","type":"urn:therisk:problem:index-api:webhook_exists"},{"code":"WEBHOOK_LIMIT","type":"urn:therisk:problem:index-api:webhook_limit"}]},"413":{"description":"Body too large. Codes: BODY_TOO_LARGE, TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BODY_TOO_LARGE","type":"urn:therisk:problem:index-api:body_too_large"},{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"422":{"description":"Receiver not validated. Codes: WEBHOOK_NOT_VALIDATED, WEBHOOK_URL_REFUSED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_NOT_VALIDATED","type":"urn:therisk:problem:index-api:webhook_not_validated"},{"code":"WEBHOOK_URL_REFUSED","type":"urn:therisk:problem:index-api:webhook_url_refused"}]},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Webhooks off. Codes: WEBHOOKS_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOKS_OFF","type":"urn:therisk:problem:index-api:webhooks_off"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"x-availability":"planned"},"get":{"operationId":"GET_v1_webhooks","summary":"List the account's webhooks","description":"The subscriptions of the account of the token, without secrets. Off (503 WEBHOOKS_OFF) until INDEX_API_DATABASE_URL is set; the change feed at /v1/changes carries the same changes. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"WebhookDocument","parameters":[],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad body. Codes: BAD_BODY, BAD_QUERY, BAD_WEBHOOK","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BODY","type":"urn:therisk:problem:index-api:bad_body"},{"code":"BAD_QUERY","type":"urn:therisk:problem:index-api:bad_query"},{"code":"BAD_WEBHOOK","type":"urn:therisk:problem:index-api:bad_webhook"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"403":{"description":"Insufficient scope. Codes: INSUFFICIENT_SCOPE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INSUFFICIENT_SCOPE","type":"urn:therisk:problem:index-api:insufficient_scope"}]},"404":{"description":"No such webhook. Codes: WEBHOOK_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_NOT_FOUND","type":"urn:therisk:problem:index-api:webhook_not_found"}]},"409":{"description":"Webhook exists. Codes: WEBHOOK_EXISTS, WEBHOOK_LIMIT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_EXISTS","type":"urn:therisk:problem:index-api:webhook_exists"},{"code":"WEBHOOK_LIMIT","type":"urn:therisk:problem:index-api:webhook_limit"}]},"413":{"description":"Body too large. Codes: BODY_TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BODY_TOO_LARGE","type":"urn:therisk:problem:index-api:body_too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"422":{"description":"Receiver not validated. Codes: WEBHOOK_NOT_VALIDATED, WEBHOOK_URL_REFUSED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_NOT_VALIDATED","type":"urn:therisk:problem:index-api:webhook_not_validated"},{"code":"WEBHOOK_URL_REFUSED","type":"urn:therisk:problem:index-api:webhook_url_refused"}]},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Webhooks off. Codes: WEBHOOKS_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOKS_OFF","type":"urn:therisk:problem:index-api:webhooks_off"}]}},"x-availability":"planned"}},"/v1/webhooks/{id}":{"get":{"operationId":"GET_v1_webhooks_id_","summary":"One webhook","description":"One subscription of the account. Off (503 WEBHOOKS_OFF) until INDEX_API_DATABASE_URL is set; the change feed at /v1/changes carries the same changes. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"WebhookDocument","parameters":[{"name":"id","in":"path","required":true,"description":"Webhook id (uuid)","schema":{"type":"string"}}],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad body. Codes: BAD_BODY, BAD_QUERY, BAD_WEBHOOK","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BODY","type":"urn:therisk:problem:index-api:bad_body"},{"code":"BAD_QUERY","type":"urn:therisk:problem:index-api:bad_query"},{"code":"BAD_WEBHOOK","type":"urn:therisk:problem:index-api:bad_webhook"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"403":{"description":"Insufficient scope. Codes: INSUFFICIENT_SCOPE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INSUFFICIENT_SCOPE","type":"urn:therisk:problem:index-api:insufficient_scope"}]},"404":{"description":"Not found. Codes: NOT_FOUND, WEBHOOK_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"WEBHOOK_NOT_FOUND","type":"urn:therisk:problem:index-api:webhook_not_found"}]},"409":{"description":"Webhook exists. Codes: WEBHOOK_EXISTS, WEBHOOK_LIMIT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_EXISTS","type":"urn:therisk:problem:index-api:webhook_exists"},{"code":"WEBHOOK_LIMIT","type":"urn:therisk:problem:index-api:webhook_limit"}]},"413":{"description":"Body too large. Codes: BODY_TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BODY_TOO_LARGE","type":"urn:therisk:problem:index-api:body_too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"422":{"description":"Receiver not validated. Codes: WEBHOOK_NOT_VALIDATED, WEBHOOK_URL_REFUSED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_NOT_VALIDATED","type":"urn:therisk:problem:index-api:webhook_not_validated"},{"code":"WEBHOOK_URL_REFUSED","type":"urn:therisk:problem:index-api:webhook_url_refused"}]},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Webhooks off. Codes: WEBHOOKS_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOKS_OFF","type":"urn:therisk:problem:index-api:webhooks_off"}]}},"x-availability":"planned"},"patch":{"operationId":"PATCH_v1_webhooks_id_","summary":"Change a webhook","description":"Change the types, description or active flag of a subscription. Off (503 WEBHOOKS_OFF) until INDEX_API_DATABASE_URL is set; the change feed at /v1/changes carries the same changes. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"WebhookDocument","parameters":[{"name":"id","in":"path","required":true,"description":"Webhook id (uuid)","schema":{"type":"string"}}],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"400":{"description":"Bad body. Codes: BAD_BODY, BAD_BUILD, BAD_JSON, BAD_QUERY, BAD_WEBHOOK","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BODY","type":"urn:therisk:problem:index-api:bad_body"},{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"},{"code":"BAD_QUERY","type":"urn:therisk:problem:index-api:bad_query"},{"code":"BAD_WEBHOOK","type":"urn:therisk:problem:index-api:bad_webhook"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"403":{"description":"Insufficient scope. Codes: INSUFFICIENT_SCOPE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INSUFFICIENT_SCOPE","type":"urn:therisk:problem:index-api:insufficient_scope"}]},"404":{"description":"Not found. Codes: NOT_FOUND, WEBHOOK_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"WEBHOOK_NOT_FOUND","type":"urn:therisk:problem:index-api:webhook_not_found"}]},"409":{"description":"Webhook exists. Codes: WEBHOOK_EXISTS, WEBHOOK_LIMIT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_EXISTS","type":"urn:therisk:problem:index-api:webhook_exists"},{"code":"WEBHOOK_LIMIT","type":"urn:therisk:problem:index-api:webhook_limit"}]},"413":{"description":"Body too large. Codes: BODY_TOO_LARGE, TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BODY_TOO_LARGE","type":"urn:therisk:problem:index-api:body_too_large"},{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"422":{"description":"Receiver not validated. Codes: WEBHOOK_NOT_VALIDATED, WEBHOOK_URL_REFUSED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_NOT_VALIDATED","type":"urn:therisk:problem:index-api:webhook_not_validated"},{"code":"WEBHOOK_URL_REFUSED","type":"urn:therisk:problem:index-api:webhook_url_refused"}]},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Webhooks off. Codes: WEBHOOKS_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOKS_OFF","type":"urn:therisk:problem:index-api:webhooks_off"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"x-availability":"planned"},"delete":{"operationId":"DELETE_v1_webhooks_id_","summary":"Delete a webhook","description":"Delete a subscription of the account. Off (503 WEBHOOKS_OFF) until INDEX_API_DATABASE_URL is set; the change feed at /v1/changes carries the same changes. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"WebhookDocument","parameters":[{"name":"id","in":"path","required":true,"description":"Webhook id (uuid)","schema":{"type":"string"}}],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"400":{"description":"Bad body. Codes: BAD_BODY, BAD_QUERY, BAD_WEBHOOK","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BODY","type":"urn:therisk:problem:index-api:bad_body"},{"code":"BAD_QUERY","type":"urn:therisk:problem:index-api:bad_query"},{"code":"BAD_WEBHOOK","type":"urn:therisk:problem:index-api:bad_webhook"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"403":{"description":"Insufficient scope. Codes: INSUFFICIENT_SCOPE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INSUFFICIENT_SCOPE","type":"urn:therisk:problem:index-api:insufficient_scope"}]},"404":{"description":"Not found. Codes: NOT_FOUND, WEBHOOK_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"WEBHOOK_NOT_FOUND","type":"urn:therisk:problem:index-api:webhook_not_found"}]},"409":{"description":"Webhook exists. Codes: WEBHOOK_EXISTS, WEBHOOK_LIMIT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_EXISTS","type":"urn:therisk:problem:index-api:webhook_exists"},{"code":"WEBHOOK_LIMIT","type":"urn:therisk:problem:index-api:webhook_limit"}]},"413":{"description":"Body too large. Codes: BODY_TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BODY_TOO_LARGE","type":"urn:therisk:problem:index-api:body_too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"422":{"description":"Receiver not validated. Codes: WEBHOOK_NOT_VALIDATED, WEBHOOK_URL_REFUSED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_NOT_VALIDATED","type":"urn:therisk:problem:index-api:webhook_not_validated"},{"code":"WEBHOOK_URL_REFUSED","type":"urn:therisk:problem:index-api:webhook_url_refused"}]},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Webhooks off. Codes: WEBHOOKS_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOKS_OFF","type":"urn:therisk:problem:index-api:webhooks_off"}]}},"x-availability":"planned"}},"/v1/webhooks/{id}/rotate":{"post":{"operationId":"POST_v1_webhooks_id_rotate","summary":"Rotate the signing secret","description":"A new secret, answered once; the old one overlaps briefly. Off (503 WEBHOOKS_OFF) until INDEX_API_DATABASE_URL is set; the change feed at /v1/changes carries the same changes. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"WebhookDocument","parameters":[{"name":"id","in":"path","required":true,"description":"Webhook id (uuid)","schema":{"type":"string"}}],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"400":{"description":"Bad body. Codes: BAD_BODY, BAD_QUERY, BAD_WEBHOOK","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BODY","type":"urn:therisk:problem:index-api:bad_body"},{"code":"BAD_QUERY","type":"urn:therisk:problem:index-api:bad_query"},{"code":"BAD_WEBHOOK","type":"urn:therisk:problem:index-api:bad_webhook"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"403":{"description":"Insufficient scope. Codes: INSUFFICIENT_SCOPE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INSUFFICIENT_SCOPE","type":"urn:therisk:problem:index-api:insufficient_scope"}]},"404":{"description":"Not found. Codes: NOT_FOUND, WEBHOOK_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"WEBHOOK_NOT_FOUND","type":"urn:therisk:problem:index-api:webhook_not_found"}]},"409":{"description":"Webhook exists. Codes: WEBHOOK_EXISTS, WEBHOOK_LIMIT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_EXISTS","type":"urn:therisk:problem:index-api:webhook_exists"},{"code":"WEBHOOK_LIMIT","type":"urn:therisk:problem:index-api:webhook_limit"}]},"413":{"description":"Body too large. Codes: BODY_TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BODY_TOO_LARGE","type":"urn:therisk:problem:index-api:body_too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"422":{"description":"Receiver not validated. Codes: WEBHOOK_NOT_VALIDATED, WEBHOOK_URL_REFUSED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_NOT_VALIDATED","type":"urn:therisk:problem:index-api:webhook_not_validated"},{"code":"WEBHOOK_URL_REFUSED","type":"urn:therisk:problem:index-api:webhook_url_refused"}]},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Webhooks off. Codes: WEBHOOKS_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOKS_OFF","type":"urn:therisk:problem:index-api:webhooks_off"}]}},"x-availability":"planned"}},"/v1/webhooks/{id}/test":{"post":{"operationId":"POST_v1_webhooks_id_test","summary":"Send a test delivery","description":"A signed test event to the receiver. Off (503 WEBHOOKS_OFF) until INDEX_API_DATABASE_URL is set; the change feed at /v1/changes carries the same changes. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"WebhookDocument","parameters":[{"name":"id","in":"path","required":true,"description":"Webhook id (uuid)","schema":{"type":"string"}}],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"400":{"description":"Bad body. Codes: BAD_BODY, BAD_QUERY, BAD_WEBHOOK","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BODY","type":"urn:therisk:problem:index-api:bad_body"},{"code":"BAD_QUERY","type":"urn:therisk:problem:index-api:bad_query"},{"code":"BAD_WEBHOOK","type":"urn:therisk:problem:index-api:bad_webhook"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"403":{"description":"Insufficient scope. Codes: INSUFFICIENT_SCOPE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INSUFFICIENT_SCOPE","type":"urn:therisk:problem:index-api:insufficient_scope"}]},"404":{"description":"Not found. Codes: NOT_FOUND, WEBHOOK_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"WEBHOOK_NOT_FOUND","type":"urn:therisk:problem:index-api:webhook_not_found"}]},"409":{"description":"Webhook exists. Codes: WEBHOOK_EXISTS, WEBHOOK_LIMIT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_EXISTS","type":"urn:therisk:problem:index-api:webhook_exists"},{"code":"WEBHOOK_LIMIT","type":"urn:therisk:problem:index-api:webhook_limit"}]},"413":{"description":"Body too large. Codes: BODY_TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BODY_TOO_LARGE","type":"urn:therisk:problem:index-api:body_too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"422":{"description":"Receiver not validated. Codes: WEBHOOK_NOT_VALIDATED, WEBHOOK_URL_REFUSED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_NOT_VALIDATED","type":"urn:therisk:problem:index-api:webhook_not_validated"},{"code":"WEBHOOK_URL_REFUSED","type":"urn:therisk:problem:index-api:webhook_url_refused"}]},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Webhooks off. Codes: WEBHOOKS_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOKS_OFF","type":"urn:therisk:problem:index-api:webhooks_off"}]}},"x-availability":"planned"}},"/v1/webhooks/{id}/deliveries":{"get":{"operationId":"GET_v1_webhooks_id_deliveries","summary":"Delivery log of a webhook","description":"Deliveries with state (pending, delivered, dead), attempts and last status; newest first, the latest 50 (a limit of up to 200 is accepted; the log is not paged). Off (503 WEBHOOKS_OFF) until INDEX_API_DATABASE_URL is set; the change feed at /v1/changes carries the same changes. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"WebhookDocument","parameters":[{"name":"id","in":"path","required":true,"description":"Webhook id (uuid)","schema":{"type":"string"}},{"name":"state","in":"query","required":false,"description":"pending, delivered or dead. Default when omitted: every state.","schema":{"type":"string"}}],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad body. Codes: BAD_BODY, BAD_QUERY, BAD_WEBHOOK","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BODY","type":"urn:therisk:problem:index-api:bad_body"},{"code":"BAD_QUERY","type":"urn:therisk:problem:index-api:bad_query"},{"code":"BAD_WEBHOOK","type":"urn:therisk:problem:index-api:bad_webhook"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"403":{"description":"Insufficient scope. Codes: INSUFFICIENT_SCOPE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INSUFFICIENT_SCOPE","type":"urn:therisk:problem:index-api:insufficient_scope"}]},"404":{"description":"Not found. Codes: NOT_FOUND, WEBHOOK_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"WEBHOOK_NOT_FOUND","type":"urn:therisk:problem:index-api:webhook_not_found"}]},"409":{"description":"Webhook exists. Codes: WEBHOOK_EXISTS, WEBHOOK_LIMIT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_EXISTS","type":"urn:therisk:problem:index-api:webhook_exists"},{"code":"WEBHOOK_LIMIT","type":"urn:therisk:problem:index-api:webhook_limit"}]},"413":{"description":"Body too large. Codes: BODY_TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BODY_TOO_LARGE","type":"urn:therisk:problem:index-api:body_too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"422":{"description":"Receiver not validated. Codes: WEBHOOK_NOT_VALIDATED, WEBHOOK_URL_REFUSED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_NOT_VALIDATED","type":"urn:therisk:problem:index-api:webhook_not_validated"},{"code":"WEBHOOK_URL_REFUSED","type":"urn:therisk:problem:index-api:webhook_url_refused"}]},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Webhooks off. Codes: WEBHOOKS_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOKS_OFF","type":"urn:therisk:problem:index-api:webhooks_off"}]}},"x-availability":"planned"}},"/v1/webhooks/{id}/replay":{"post":{"operationId":"POST_v1_webhooks_id_replay","summary":"Replay dead deliveries","description":"Re-queue the dead deliveries of the subscription. Off (503 WEBHOOKS_OFF) until INDEX_API_DATABASE_URL is set; the change feed at /v1/changes carries the same changes. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"WebhookDocument","parameters":[{"name":"id","in":"path","required":true,"description":"Webhook id (uuid)","schema":{"type":"string"}}],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"400":{"description":"Bad body. Codes: BAD_BODY, BAD_QUERY, BAD_WEBHOOK","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BODY","type":"urn:therisk:problem:index-api:bad_body"},{"code":"BAD_QUERY","type":"urn:therisk:problem:index-api:bad_query"},{"code":"BAD_WEBHOOK","type":"urn:therisk:problem:index-api:bad_webhook"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"403":{"description":"Insufficient scope. Codes: INSUFFICIENT_SCOPE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INSUFFICIENT_SCOPE","type":"urn:therisk:problem:index-api:insufficient_scope"}]},"404":{"description":"Not found. Codes: NOT_FOUND, WEBHOOK_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"WEBHOOK_NOT_FOUND","type":"urn:therisk:problem:index-api:webhook_not_found"}]},"409":{"description":"Webhook exists. Codes: WEBHOOK_EXISTS, WEBHOOK_LIMIT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_EXISTS","type":"urn:therisk:problem:index-api:webhook_exists"},{"code":"WEBHOOK_LIMIT","type":"urn:therisk:problem:index-api:webhook_limit"}]},"413":{"description":"Body too large. Codes: BODY_TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BODY_TOO_LARGE","type":"urn:therisk:problem:index-api:body_too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"422":{"description":"Receiver not validated. Codes: WEBHOOK_NOT_VALIDATED, WEBHOOK_URL_REFUSED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOK_NOT_VALIDATED","type":"urn:therisk:problem:index-api:webhook_not_validated"},{"code":"WEBHOOK_URL_REFUSED","type":"urn:therisk:problem:index-api:webhook_url_refused"}]},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Webhooks off. Codes: WEBHOOKS_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"WEBHOOKS_OFF","type":"urn:therisk:problem:index-api:webhooks_off"}]}},"x-availability":"planned"}},"/v1/bulk":{"get":{"operationId":"grx_bulk","summary":"Bulk export: the exportable collections","description":"The collections that can be streamed whole as NDJSON: the NHS-1 hazards and domains and the NIS-1 indicators and domains, each one of this API's own list routes with the licence of its records. Collections whose records carry licence PENDING are not declared. Values stay NOT_YET_PUBLISHED. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"BulkCollections","x-mcp-tool":"grx.bulk","x-example":{"request":"/v1/bulk"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/BulkCollections"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/bulk/{collection}":{"get":{"operationId":"GET_v1_bulk_collection_","summary":"Stream a collection as NDJSON","description":"One record per line, paged internally from the collection's own list route so the stream is exactly what the API serves, bound to the snapshot digest (ETag). If-None-Match of the same digest answers 304; If-Match of another digest answers 412; ?skip=n resumes a cut stream. format is ndjson. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"OgcDocument","x-example":{"request":"/v1/bulk/hazards"},"parameters":[{"name":"collection","in":"path","required":true,"description":"hazards, hazard-domains, indicators or indicator-domains","schema":{"type":"string"}},{"name":"skip","in":"query","required":false,"description":"Records already received, to resume a cut stream (default 0)","schema":{"type":"string"}},{"name":"format","in":"query","required":false,"description":"ndjson (the only format built; default ndjson)","schema":{"type":"string"}}],"responses":{"200":{"description":"One record per line (NDJSON), bound to the snapshot digest","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"rel describedby: the manifest","schema":{"type":"string"}}},"content":{"application/x-ndjson":{"schema":{"type":"string","description":"newline-delimited JSON records"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Invalid request. Codes: INVALID_REQUEST","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INVALID_REQUEST","type":"urn:therisk:problem:index-api:invalid_request"}]},"401":{"description":"Sign-in needed. Codes: BULK_AUTH","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BULK_AUTH","type":"urn:therisk:problem:index-api:bulk_auth"}]},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"412":{"description":"Snapshot changed. Codes: SNAPSHOT_CHANGED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"SNAPSHOT_CHANGED","type":"urn:therisk:problem:index-api:snapshot_changed"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"502":{"description":"Collection source failed. Codes: BULK_SOURCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BULK_SOURCE","type":"urn:therisk:problem:index-api:bulk_source"}]}},"x-availability":"available"}},"/v1/bulk/{collection}/manifest":{"get":{"operationId":"grx_bulk_manifest","summary":"Manifest of one bulk collection","description":"The collection's route, the snapshot digest, the contract version, formats, the licence of its records as the API states it, and the record count. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"BulkManifest","x-mcp-tool":"grx.bulk_manifest","x-example":{"request":"/v1/bulk/hazards/manifest"},"parameters":[{"name":"collection","in":"path","required":true,"description":"hazards, hazard-domains, indicators or indicator-domains","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/BulkManifest"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Invalid request. Codes: INVALID_REQUEST","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INVALID_REQUEST","type":"urn:therisk:problem:index-api:invalid_request"}]},"401":{"description":"Sign-in needed. Codes: BULK_AUTH","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BULK_AUTH","type":"urn:therisk:problem:index-api:bulk_auth"}]},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"502":{"description":"Collection source failed. Codes: BULK_SOURCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BULK_SOURCE","type":"urn:therisk:problem:index-api:bulk_source"}]}},"x-availability":"available"}},"/v1/ogc":{"get":{"operationId":"GET_v1_ogc","summary":"OGC API landing page","description":"The landing page of the OGC API - Records catalogue of the Index records: links to the service description, conformance and the collections. Raw OGC shape, not the envelope. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"OgcDocument","parameters":[],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/ogc/conformance":{"get":{"operationId":"GET_v1_ogc_conformance","summary":"OGC conformance classes","description":"The OGC conformance classes this service declares (Common, Collections, Records core and JSON). Declared from the specifications; no OGC test suite has been run. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"OgcDocument","parameters":[],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/ogc/collections":{"get":{"operationId":"GET_v1_ogc_collections","summary":"OGC collections of Index records","description":"Collections of metadata records: NHS-1 hazards and families, NIS-1 indicators and domains, series, country profiles and crosswalk sets. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"OgcDocument","parameters":[],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/ogc/collections/{collection}":{"get":{"operationId":"GET_v1_ogc_collections_collection_","summary":"One OGC collection","description":"The collection document with its links and record count. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"OgcDocument","x-example":{"request":"/v1/ogc/collections/hazards"},"parameters":[{"name":"collection","in":"path","required":true,"description":"hazards, hazard-families, indicators, indicator-domains, series, countries or mapping-sets","schema":{"type":"string"}}],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/ogc/collections/{collection}/items":{"get":{"operationId":"GET_v1_ogc_collections_collection_items","summary":"Records of an OGC collection","description":"GeoJSON Feature records with geometry null (metadata only): q, limit (1 to 100) and offset, with next and prev links. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"OgcDocument","x-example":{"request":"/v1/ogc/collections/hazards/items?limit=1"},"parameters":[{"name":"collection","in":"path","required":true,"description":"Collection id","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms in the title and description","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"1 to 100 (default 10)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0)","schema":{"type":"string"}}],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/ogc/collections/{collection}/items/{item}":{"get":{"operationId":"GET_v1_ogc_collections_collection_items_item_","summary":"One OGC record","description":"One record as an OGC API - Records Feature, linked to its canonical resolve route. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"OgcDocument","x-example":{"request":"/v1/ogc/collections/hazards/items/atmo.convective.thunderstorm"},"parameters":[{"name":"collection","in":"path","required":true,"description":"Collection id","schema":{"type":"string"}},{"name":"item","in":"path","required":true,"description":"Local id of the record","schema":{"type":"string"}}],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/jurisdictions":{"get":{"operationId":"grx_jurisdictions","summary":"Jurisdictions: 195 countries, M49 regions and regimes, and what the Index holds for each","description":"A jurisdiction is an ISO 3166-1 alpha-3 country (the 195 profiles), a UN M49 region or sub-region with member countries among them, or a regime of the cited risk-dimensions register (eu, au, asean,...). Each row carries coverage, the counts of corrections and contributions that name the place, and what it needs. A regime whose member list was not read from its official source has no members and says why. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"JurisdictionRow[]","x-mcp-tool":"grx.jurisdictions","x-example":{"request":"/v1/jurisdictions?kind=regime"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms in the name and code","schema":{"type":"string"}},{"name":"kind","in":"query","required":false,"description":"country, region or regime (default: no filter)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/JurisdictionRow"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/jurisdictions/{jurisdiction}":{"get":{"operationId":"grx_jurisdiction","summary":"One jurisdiction: holdings, members, coverage and gaps","description":"For a country, M49 region or regime: the country profile or member countries, the indicators defined at country level (definitions), the published corrections and contributions that name the place, per-dimension coverage, links to the other networks' views, and the gaps each naming what it needs. Alpha-3 for countries (AUS, not AU, which is the African Union regime). No value exists before release. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Jurisdiction","x-mcp-tool":"grx.jurisdiction","x-example":{"request":"/v1/jurisdictions/KEN"},"parameters":[{"name":"jurisdiction","in":"path","required":true,"description":"ISO 3166-1 alpha-3 country, M49 region (3 digits) or regime id","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Jurisdiction"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/industries":{"get":{"operationId":"grx_industries","summary":"Industries (ISIC Rev.5): what the Index holds for each","description":"The 22 ISIC Rev.5 sections (or the 87 divisions with level=division), each with the NIS-1 indicators and NHS-1 hazards whose stated scope is that industry, the builder pillars, the product APIs that serve it, per-dimension coverage and what it needs. An industry nothing reaches answers coverage none with its needs; nothing is padded and no value exists before release. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"IndustryRow[]","x-mcp-tool":"grx.industries","x-example":{"request":"/v1/industries"},"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms in the industry code and title","schema":{"type":"string"}},{"name":"level","in":"query","required":false,"description":"section (22, default) or division (87)","schema":{"type":"string"}},{"name":"section","in":"query","required":false,"description":"One section letter A to V","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/IndustryRow"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/industries/{industry}":{"get":{"operationId":"grx_industry","summary":"One industry: indicators, hazard exposure classes, builder, crosswalks and gaps","description":"For an ISIC Rev.5 section, division, group or class: the NIS-1 indicators by domain and subdomain, the NHS-1 hazards by domain, exposure class and origin, the composite builder configuration, the crosswalk route to NACE and NAICS, the product APIs that serve it, what the other networks offer as links, and the gaps each naming the data or decision it needs. Every mapping states its basis and is an unreviewed draft. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Industry","x-mcp-tool":"grx.industry","x-example":{"request":"/v1/industries/D?jurisdiction=KEN"},"parameters":[{"name":"industry","in":"path","required":true,"description":"ISIC Rev.5 code: a section letter A to V or 2 to 4 digits","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"A country (alpha-3), M49 region or regime: what applies to this industry in that place","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Industry"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/industries/{industry}/crosswalks":{"get":{"operationId":"grx_industry_crosswalks","summary":"ISIC Rev.5 crosswalk to NACE Rev.2, NAICS or ISIC Rev.4","description":"The published concordances of an ISIC Rev.5 code through risk-dimensions: direct where one UNSD table links it, chained where several tables are composed (basis and via say which). A section, division or group lists the classes beneath it. Chained matches are derived leads, not statistical correspondences. NACE Rev.2.1 is a stated gap. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"IndustryCrosswalkRow[]","x-mcp-tool":"grx.industry_crosswalks","x-example":{"request":"/v1/industries/0111/crosswalks?to=nace2"},"parameters":[{"name":"industry","in":"path","required":true,"description":"ISIC Rev.5 code","schema":{"type":"string"}},{"name":"to","in":"query","required":false,"description":"nace2 (default), naics2022, naics2017 or isic4","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms in the codes and titles","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev (snapshot-bound)","schema":{"type":"string"}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/IndustryCrosswalkRow"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_PAGE, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/industries/{industry}/builder":{"get":{"operationId":"grx_industry_builder","summary":"The composite builder configured for the industry","description":"The framework of the industry's indicators: one pillar per NIS-1 domain that reaches the section, the method as parameters from the NIS-1 domain indices, the simplifications stated. Ready to send to the industry build route. None when no indicator reaches the industry. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"ThemeFramework","x-mcp-tool":"grx.industry_builder","x-example":{"request":"/v1/industries/R/builder"},"parameters":[{"name":"industry","in":"path","required":true,"description":"ISIC Rev.5 code","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/ThemeFramework"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/industries/{industry}/build":{"post":{"operationId":"grx_industry_build","summary":"Build the industry composite on your own data","description":"The composite builder pre-configured for the industry: send units with values keyed by NIS-1 indicator id from the industry's indicator set; polarity, goalposts, weights, pillars and the method parameters come from the builder configuration and can be overridden in design and uncertainty. Illustrative, on your data, never an Index value, rating or advice. Open over HTTP; over MCP only with a Passport token. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"BuildResult","x-mcp-tool":"grx.industry_build","x-mcp-requires-token":true,"x-example":{"request":"/v1/industries/R/build","note":"Three synthetic units on three health-burden indicators of section R (human health), NIS-1 goalposts.","body":{"units":[{"id":"A","values":{"nis:IND.HLT.burden.under5_mortality":8,"nis:IND.HLT.burden.tb_incidence":5,"nis:IND.HLT.burden.maternal_mortality":20}},{"id":"B","values":{"nis:IND.HLT.burden.under5_mortality":60,"nis:IND.HLT.burden.tb_incidence":300,"nis:IND.HLT.burden.maternal_mortality":400}},{"id":"C","values":{"nis:IND.HLT.burden.under5_mortality":25,"nis:IND.HLT.burden.tb_incidence":60,"nis:IND.HLT.burden.maternal_mortality":120}}],"uncertainty":{"runs":200,"seed":3,"bootstrap":0}}},"parameters":[{"name":"industry","in":"path","required":true,"description":"ISIC Rev.5 code","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/BuildResult"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JSON, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["units"],"additionalProperties":false,"properties":{"units":{"type":"array","minItems":2,"maxItems":250,"items":{"type":"object","required":["id","values"],"properties":{"id":{"type":"string","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"values":{"type":"object","additionalProperties":{"type":["number","null"]}}}}},"indicators":{"type":"array","items":{"type":"string"}},"design":{"type":"object"},"uncertainty":{"type":["object","boolean"],"description":"The uncertainty of a computed value: its interval or distribution and how it was derived."},"goalposts":{"type":"boolean"}}}}}},"x-availability":"available"}},"/v1/solutions":{"get":{"operationId":"grx_solutions","summary":"Solutions led by the Index","description":"SOL-11 Composite Index Builder and SOL-12 Risk Taxonomy and Classification Service, each with a manifest in contracts/solutions. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.solutions","x-example":{"request":"/v1/solutions"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-28":{"get":{"operationId":"sol28_manifest","summary":"SOL-28 Social Vulnerability and Equity Lens","description":"The manifest: coverage of social splits, a distribution step on the caller's grouped data, a lens of definitions, a method card and a worked example. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"SolutionManifest","x-mcp-tool":"sol28.manifest","x-example":{"request":"/v1/solutions/SOL-28"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/SolutionManifest"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-28/coverage":{"get":{"operationId":"sol28_coverage","summary":"SOL-28 coverage of social disaggregations in NIS-1","description":"Which splits (sex, age, disability, income, wealth quintile, urban or rural, education, displacement) NIS-1 indicators define, on how many indicators, and the splits that are none. Definitions, not data. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"sol28.coverage","x-example":{"request":"/v1/solutions/SOL-28/coverage"},"parameters":[{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-28/distribution":{"post":{"operationId":"sol28_distribution","summary":"SOL-28: distribution of a result across groups, beside the average","description":"On the caller's own grouped data: population-weighted mean, absolute difference, ratio, and for ordered groups the slope and relative indices of inequality, with intervals from supplied standard errors. A figure without an uncertainty is refused unless acknowledged. Says when distribution cannot be shown. Descriptive: no fairness verdict. Open over HTTP; the MCP tool is listed only with a Passport token. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"DistributionResult","x-mcp-tool":"sol28.distribution","x-mcp-requires-token":true,"x-example":{"request":"/v1/solutions/SOL-28/distribution","body":{"measure":{"id":"share_without_early_warning","polarity":"higher-is-riskier","unit":"%"},"dimension":"urban_rural","groups":[{"id":"urban","value":10,"population":1,"se":1},{"id":"rural","value":20,"population":1,"se":1.5}]}},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/DistributionResult"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["measure","dimension","groups"],"additionalProperties":false,"properties":{"measure":{"type":"object","required":["id","polarity"],"properties":{"id":{"type":"string","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"polarity":{"type":"string","enum":["higher-is-riskier","lower-is-riskier"]},"unit":{"type":"string","description":"The unit of measurement of the value, as published by the source."},"nis":{"type":"string"}}},"dimension":{"type":"string"},"ordered":{"type":"boolean"},"acknowledgeNoUncertainty":{"type":"boolean"},"groups":{"type":"array","minItems":2,"maxItems":50,"items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"label":{"type":"string","description":"The display label of the item, in English."},"value":{"type":["number","null"]},"population":{"type":"number","exclusiveMinimum":0},"se":{"type":"number","minimum":0}}}}}}}}},"x-availability":"available"}},"/v1/solutions/SOL-28/lens":{"get":{"operationId":"sol28_lens","summary":"SOL-28 lens: who is exposed and least able to cope (definitions)","description":"The NIS-1 indicators with a social split grouped by risk component (exposure and vulnerability, coping and adaptive capacity). Joins definitions, not data; no group data is held. Availability: Available. Deprecated parameter: risk.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"sol28.lens","x-example":{"request":"/v1/solutions/SOL-28/lens?jurisdiction=KEN"},"parameters":[{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code, optional","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-28/method-card":{"get":{"operationId":"sol28_method_card","summary":"SOL-28 method card","description":"Purpose, inputs, equations, assumptions, limits, validation record (partial) and review state of the distribution step. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"sol28.method_card","x-example":{"request":"/v1/solutions/SOL-28/method-card"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-28/example":{"get":{"operationId":"sol28_example","summary":"SOL-28 worked example","description":"An average that hides a gap across wealth quintiles, on labelled synthetic grouped data. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"sol28.example","x-example":{"request":"/v1/solutions/SOL-28/example"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad segment. Codes: BAD_SEGMENT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_SEGMENT","type":"urn:therisk:problem:index-api:bad_segment"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-12":{"get":{"operationId":"sol12_manifest","summary":"SOL-12 Risk Taxonomy and Classification Service","description":"The solution manifest: methods, deliverables (classified register, unmatched list, SSSOM mapping file, coverage report, replication digest), steps, limits and open gaps. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"SolutionManifest","x-mcp-tool":"sol12.manifest","x-example":{"request":"/v1/solutions/SOL-12"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/SolutionManifest"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-12/coverage":{"get":{"operationId":"sol12_coverage","summary":"SOL-12 coverage of taxonomies and crosswalk sets, both directions","description":"What NHS-1, NIS-1 and each crosswalk set cover, forward and reverse, and what is none. Not padded. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"sol12.coverage","x-example":{"request":"/v1/solutions/SOL-12/coverage"},"parameters":[{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-12/classify-register":{"post":{"operationId":"sol12_classify","summary":"SOL-12: classify a register of texts or codes","description":"Deterministic classification of up to 2,000 rows (text, or a code with its system) to NHS-1 and NIS-1: classified register, unmatched list, SSSOM mapping file (JSON and TSV, all rows unreviewed), coverage report in both directions and a replication digest. No model call; nothing stored. Open over HTTP; the MCP tool is listed only with a Passport token. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"RegisterResult","x-mcp-tool":"sol12.classify","x-mcp-requires-token":true,"x-example":{"request":"/v1/solutions/SOL-12/classify-register","body":{"rows":[{"id":"EV-1","text":"Flash flood washed out the river bridge"},{"id":"EV-2","code":"A-1","system":"sendai"},{"id":"EV-3","text":"Office relocation meeting"}],"scheme":"both","matchesPerRow":2}},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/RegisterResult"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["rows"],"additionalProperties":false,"properties":{"rows":{"type":"array","minItems":1,"maxItems":2000,"items":{"type":"object","required":["id"],"additionalProperties":false,"properties":{"id":{"type":"string","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"text":{"type":"string","minLength":2,"maxLength":2000},"code":{"type":"string"},"system":{"type":"string","enum":["nhs-1","nis-1","hips-2025","emdat","sendai","sdg","inform"]}}}},"scheme":{"type":"string","enum":["hazard","indicator","both"]},"matchesPerRow":{"type":"integer","minimum":1,"maximum":5}}}}}},"x-availability":"available"}},"/v1/solutions/SOL-12/method-card":{"get":{"operationId":"sol12_method_card","summary":"SOL-12 method card","description":"Purpose, inputs, rules, assumptions, limits, validation record (none against a corpus), version and review state. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"sol12.method_card","x-example":{"request":"/v1/solutions/SOL-12/method-card"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-12/example":{"get":{"operationId":"sol12_example","summary":"SOL-12 worked example","description":"A labelled synthetic loss register classified against the real NHS-1 and NIS-1 records, with the full result. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"sol12.example","x-example":{"request":"/v1/solutions/SOL-12/example"},"parameters":[{"name":"segment","in":"query","required":false,"description":"Worked example segment: S9, S11, S4 or S10","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad segment. Codes: BAD_SEGMENT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_SEGMENT","type":"urn:therisk:problem:index-api:bad_segment"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-11":{"get":{"operationId":"sol11_manifest","summary":"SOL-11 Composite Index Builder","description":"The solution manifest: methods, deliverables (values with intervals, method documentation, uncertainty report, replication digest), steps, limits and open gaps. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"SolutionManifest","x-mcp-tool":"sol11.manifest","x-example":{"request":"/v1/solutions/SOL-11"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/SolutionManifest"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-11/validate":{"post":{"operationId":"sol11_validate","summary":"SOL-11: check an indicator table before building","description":"A dry run: coverage, outliers, constant indicators, correlation matrix, Cronbach alpha per pillar, PCA weights when asked. Nothing stored. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"sol11.validate","x-mcp-requires-token":true,"x-example":{"request":"/v1/solutions/SOL-11/validate","body":{"indicators":[{"id":"flood_share","pillar":"HAZ","polarity":"higher-is-riskier","unit":"%","year":2024,"source":"synthetic"},{"id":"warning_score","pillar":"CAP","nis":"nis:IND.CRS.warning.mhews_score","year":2024,"source":"synthetic"}],"units":[{"id":"A","values":{"flood_share":10,"warning_score":0.9}},{"id":"B","values":{"flood_share":40,"warning_score":0.3}},{"id":"C","values":{"flood_share":25,"warning_score":0.6}}],"design":{"minCoverage":0.5}}},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["indicators","units"],"additionalProperties":true}}}},"x-availability":"available"}},"/v1/solutions/SOL-11/build":{"post":{"operationId":"sol11_build","summary":"SOL-11: build the index and its documents","description":"The composite builder with the deliverables: values with 90% intervals, classes from the set's own distribution with probabilities, method documentation and uncertainty report (markdown), a values CSV and the replication digest. A default uncertainty design is applied when none is sent. Illustrative, never an Index value or a rating. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"SolutionBuildResult","x-mcp-tool":"sol11.build","x-mcp-requires-token":true,"x-example":{"request":"/v1/solutions/SOL-11/build","body":{"name":"Sample index","indicators":[{"id":"flood_share","pillar":"HAZ","polarity":"higher-is-riskier","unit":"%","year":2024,"source":"synthetic"},{"id":"warning_score","pillar":"CAP","nis":"nis:IND.CRS.warning.mhews_score","year":2024,"source":"synthetic"}],"units":[{"id":"A","values":{"flood_share":10,"warning_score":0.9}},{"id":"B","values":{"flood_share":40,"warning_score":0.3}},{"id":"C","values":{"flood_share":25,"warning_score":0.6}}],"design":{"withinPillar":"geometric-complement","minCoverage":0.5,"classes":false},"uncertainty":{"runs":200,"seed":3,"bootstrap":30}}},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/SolutionBuildResult"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["indicators","units"],"additionalProperties":true}}}},"x-availability":"available"}},"/v1/solutions/SOL-11/replicate":{"post":{"operationId":"sol11_replicate","summary":"SOL-11: replay a build and verify its digests","description":"Recomputes a build from its original body and compares the input digest and result digest. A match shows reproducibility, not correctness. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"sol11.replicate","x-mcp-requires-token":true,"x-example":{"request":"/v1/solutions/SOL-11/replicate","note":"Replace the zero digests with the replicationDigest of your build.","body":{"request":{"indicators":[{"id":"flood_share","pillar":"HAZ","polarity":"higher-is-riskier","unit":"%","year":2024,"source":"synthetic"},{"id":"warning_score","pillar":"CAP","nis":"nis:IND.CRS.warning.mhews_score","year":2024,"source":"synthetic"}],"units":[{"id":"A","values":{"flood_share":10,"warning_score":0.9}},{"id":"B","values":{"flood_share":40,"warning_score":0.3}},{"id":"C","values":{"flood_share":25,"warning_score":0.6}}]},"digest":{"inputDigest":"0000000000000000000000000000000000000000000000000000000000000000"}}},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["request","digest"],"additionalProperties":false,"properties":{"request":{"type":"object"},"digest":{"type":"object","required":["inputDigest"],"properties":{"inputDigest":{"type":"string"},"resultDigest":{"type":"string"}},"description":"The digest of the snapshot or file, as sha256:<hex>. A changed digest means changed content."}}}}}},"x-availability":"available"}},"/v1/solutions/SOL-11/method-card":{"get":{"operationId":"sol11_method_card","summary":"SOL-11 method card","description":"Purpose, inputs, equations, assumptions, limits, validation record (partial: hand-derived kernels, no golden example, no audit), version and review state. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"sol11.method_card","x-example":{"request":"/v1/solutions/SOL-11/method-card"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/solutions/SOL-11/example":{"get":{"operationId":"sol11_example","summary":"SOL-11 worked example","description":"Real NIS-1 indicator records and labelled synthetic county data, built end to end with the deliverables' key results. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"sol11.example","x-example":{"request":"/v1/solutions/SOL-11/example"},"parameters":[{"name":"segment","in":"query","required":false,"description":"Worked example segment: S1, S6, S9 or S5","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad segment. Codes: BAD_SEGMENT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_SEGMENT","type":"urn:therisk:problem:index-api:bad_segment"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/export/dcat":{"get":{"operationId":"grx_export_dcat","summary":"DCAT catalogue of the Index series (JSON-LD)","description":"A catalogue of the series as datasets with provenance and licence status, as JSON-LD using DCAT and PROV terms. It describes datasets; it carries no value. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.export_dcat","x-example":{"request":"/v1/export/dcat"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/export/{format}":{"get":{"operationId":"grx_export","summary":"Standard exports of the taxonomies (CSVW, SDMX codelist, OGC Records)","description":"csvw: the hazards, indicators or domains as CSV with W3C CSVW metadata. sdmx: an SDMX-ML 2.1 codelist of them (structure only, ids made SDMX-safe). ogc-records: the pointer to the OGC API - Records catalogue at /v1/ogc. stac answers EXPORT_NOT_BUILT: the Index holds no spatial assets (needs licence-cleared layers and object storage, an owner decision). Definitions only: no value is exported before an edition is released. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.export","x-example":{"request":"/v1/export/csvw?dataset=domains"},"parameters":[{"name":"format","in":"path","required":true,"description":"csvw, sdmx, ogc-records or stac","schema":{"type":"string"}},{"name":"dataset","in":"query","required":false,"description":"hazards (default), indicators or domains","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad dataset. Codes: BAD_DATASET","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_DATASET","type":"urn:therisk:problem:index-api:bad_dataset"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Export not built. Codes: EXPORT_NOT_BUILT","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"EXPORT_NOT_BUILT","type":"urn:therisk:problem:index-api:export_not_built"}]}},"x-availability":"available"}},"/v1/scores/{entity}":{"get":{"operationId":"grx_score","summary":"Composite score of one entity","description":"Answers NOT_YET_PUBLISHED until an edition is released; then the composite with its 90% interval, class and class probability, method version and replication digest. Availability: Planned (answers a typed problem response until built). Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.score","x-example":{"request":"/v1/scores/KEN"},"parameters":[{"name":"entity","in":"path","required":true,"description":"ISO 3166 alpha-3 or alpha-2 code of one of the 195 country profiles","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"400":{"description":"Bad entity. Codes: BAD_ENTITY, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_ENTITY","type":"urn:therisk:problem:index-api:bad_entity"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_YET_PUBLISHED","type":"urn:therisk:problem:index-api:not_yet_published"}]}},"x-availability":"planned"}},"/v1/values/{entity}":{"get":{"operationId":"grx_value","summary":"Pillar, domain and indicator values of one entity","description":"Answers NOT_YET_PUBLISHED until an edition is released. Availability: Planned (answers a typed problem response until built). Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.value","x-example":{"request":"/v1/values/KEN"},"parameters":[{"name":"entity","in":"path","required":true,"description":"ISO 3166 alpha-3 or alpha-2 code of one of the 195 country profiles","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}},{"name":"measure","in":"query","required":false,"description":"A pillar code, domain code or NIS-1 id","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"400":{"description":"Bad entity. Codes: BAD_ENTITY, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_ENTITY","type":"urn:therisk:problem:index-api:bad_entity"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_YET_PUBLISHED","type":"urn:therisk:problem:index-api:not_yet_published"}]}},"x-availability":"planned"}},"/v1/drivers/{entity}":{"get":{"operationId":"grx_drivers","summary":"Drivers of one entity's composite","description":"Answers NOT_YET_PUBLISHED until an edition is released; then the driver decomposition (Shapley contributions) per indicator. Availability: Planned (answers a typed problem response until built). Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.drivers","x-example":{"request":"/v1/drivers/KEN"},"parameters":[{"name":"entity","in":"path","required":true,"description":"ISO 3166 alpha-3 or alpha-2 code of one of the 195 country profiles","schema":{"type":"string"}},{"name":"industry","in":"query","required":false,"description":"ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu)","schema":{"type":"string"},"x-aliases":[{"name":"region","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}},{"name":"regime","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"hazard","in":"query","required":false,"description":"NHS-1 domain, family or hazard id, for example water.flood","schema":{"type":"string"}},{"name":"indicator","in":"query","required":false,"description":"NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)","schema":{"type":"string"}},{"name":"risk","in":"query","required":false,"description":"Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)","schema":{"type":"string"},"deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"hazard"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"400":{"description":"Bad entity. Codes: BAD_ENTITY, BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_ENTITY","type":"urn:therisk:problem:index-api:bad_entity"},{"code":"BAD_HAZARD","type":"urn:therisk:problem:index-api:bad_hazard"},{"code":"BAD_INDICATOR","type":"urn:therisk:problem:index-api:bad_indicator"},{"code":"BAD_INDUSTRY","type":"urn:therisk:problem:index-api:bad_industry"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_REGIME","type":"urn:therisk:problem:index-api:bad_regime"},{"code":"BAD_REGION","type":"urn:therisk:problem:index-api:bad_region"},{"code":"BAD_RISK","type":"urn:therisk:problem:index-api:bad_risk"},{"code":"BAD_SINCE","type":"urn:therisk:problem:index-api:bad_since"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_YET_PUBLISHED","type":"urn:therisk:problem:index-api:not_yet_published"}]}},"x-availability":"planned"}},"/v1/compare":{"get":{"operationId":"grx_compare","summary":"Compare entities","description":"Answers NOT_YET_PUBLISHED until an edition is released. No rank is ever produced from a missing value. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.compare","x-example":{"request":"/v1/compare?entities=KEN,NOR"},"parameters":[{"name":"entities","in":"query","required":false,"description":"Comma-separated ISO3 codes, 2 to 10","schema":{"type":"string"}},{"name":"measure","in":"query","required":false,"description":"A pillar code, domain code or NIS-1 id","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"400":{"description":"Bad entities. Codes: BAD_ENTITIES","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_ENTITIES","type":"urn:therisk:problem:index-api:bad_entities"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_YET_PUBLISHED","type":"urn:therisk:problem:index-api:not_yet_published"}]}},"x-availability":"planned"}},"/v1/verify/{digest}":{"get":{"operationId":"grx_verify_run","summary":"Verify a replication digest","description":"Checks a replication-pack digest against released editions. Answers NOT_YET_PUBLISHED while no edition is released. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-returns":"Object","x-mcp-tool":"grx.verify_run","x-example":{"request":"/v1/verify/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"},"parameters":[{"name":"digest","in":"path","required":true,"description":"SHA-256 digest (64 hex characters)","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"400":{"description":"Bad digest. Codes: BAD_DIGEST","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_DIGEST","type":"urn:therisk:problem:index-api:bad_digest"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_YET_PUBLISHED","type":"urn:therisk:problem:index-api:not_yet_published"}]}},"x-availability":"planned"}},"/v1/grx/org/watch":{"post":{"operationId":"grx_watch","summary":"Watch an entity or a series for a release or a threshold","description":"Designed. Needs a Passport bearer token. Answers WRITES_OFF while PASSPORT_ISSUER is unset, then NOT_BUILT. Availability: Planned (answers a typed problem response until built).","tags":["passport"],"x-public":false,"x-returns":"Object","x-mcp-tool":"grx.watch","x-moved-from":"/v1/watch","x-moved-status":308,"x-example":{"request":"/v1/grx/org/watch","body":{"target":"KEN","kind":"release"}},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"402":{"description":"Payment required. Codes: PAYMENT_REQUIRED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PAYMENT_REQUIRED","type":"urn:therisk:problem:index-api:payment_required"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_BUILT, WRITES_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_BUILT","type":"urn:therisk:problem:index-api:not_built"},{"code":"WRITES_OFF","type":"urn:therisk:problem:index-api:writes_off"}]}},"security":[{"passport":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["target"],"properties":{"target":{"type":"string","description":"ISO3 code or series code"},"kind":{"type":"string","enum":["release","correction","threshold"]}},"additionalProperties":false}}}},"x-availability":"planned"}},"/v1/grx/org/scenarios/run":{"post":{"operationId":"grx_scenario_run","summary":"Run a scenario or stress test on an entity","description":"Designed and billable (scenario and stress-test packs are not priced, so NOT_ON_SALE). Needs a Passport bearer token. Answers 402 with the billing pointer; never takes money. Availability: Planned (answers a typed problem response until built).","tags":["passport"],"x-public":false,"x-returns":"Object","x-mcp-tool":"grx.scenario_run","x-moved-from":"/v1/scenarios/run","x-moved-status":308,"x-example":{"request":"/v1/grx/org/scenarios/run","body":{"entity":"KEN","scenario":"S1"}},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"402":{"description":"Payment required. Codes: PAYMENT_REQUIRED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PAYMENT_REQUIRED","type":"urn:therisk:problem:index-api:payment_required"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_BUILT, WRITES_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_BUILT","type":"urn:therisk:problem:index-api:not_built"},{"code":"WRITES_OFF","type":"urn:therisk:problem:index-api:writes_off"}]}},"security":[{"passport":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["entity","scenario"],"properties":{"entity":{"type":"string"},"scenario":{"type":"string"}},"additionalProperties":false}}}},"x-availability":"planned"}},"/v1/grx/org/bespoke":{"post":{"operationId":"grx_bespoke_build","summary":"Build a bespoke or portfolio index","description":"Designed and billable (bespoke and portfolio indices are not priced, so NOT_ON_SALE). Needs a Passport bearer token. Answers 402 with the billing pointer. A bespoke index is never a rating. Availability: Planned (answers a typed problem response until built).","tags":["passport"],"x-public":false,"x-returns":"Object","x-mcp-tool":"grx.bespoke_build","x-moved-from":"/v1/bespoke","x-moved-status":308,"x-example":{"request":"/v1/grx/org/bespoke","body":{"name":"Example","components":["GS-01"]}},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Object"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"}]},"401":{"description":"Authentication required. Codes: AUTH_REQUIRED, TOKEN_INVALID","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"AUTH_REQUIRED","type":"urn:therisk:problem:index-api:auth_required"},{"code":"TOKEN_INVALID","type":"urn:therisk:problem:index-api:token_invalid"}]},"402":{"description":"Payment required. Codes: PAYMENT_REQUIRED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PAYMENT_REQUIRED","type":"urn:therisk:problem:index-api:payment_required"}]},"413":{"description":"Body too large. Codes: TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"501":{"description":"Planned. Codes: NOT_BUILT, WRITES_OFF","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_BUILT","type":"urn:therisk:problem:index-api:not_built"},{"code":"WRITES_OFF","type":"urn:therisk:problem:index-api:writes_off"}]}},"security":[{"passport":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","components"],"properties":{"name":{"type":"string","description":"The name of the entity, in English, as its authority publishes it."},"components":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}}}},"x-availability":"planned"}},"/v1/jurisdictions/{jurisdiction}/profile":{"get":{"operationId":"grx_jurisdiction_profile","summary":"The profile of a country: every source in context, cited","description":"One profile per country from the current edition of the jurisdiction profiles: source observations by hazards, exposure, vulnerability, capacity, impact and context (the section is the NIS-1 risk component of the bound indicator), and the records of the other networks that name the place (governance, finance, standards, research, observations, platform). Every value carries its measure, unit, vintage, method, licence and source record with the input file and its SHA-256; every section its computed coverage and gaps. The composite is not released: no value, score, rank or class of the Index. Served from an immutable file; Content-Location names the versioned URL. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"JurisdictionProfile","x-mcp-tool":"grx.jurisdiction_profile","x-example":{"request":"/v1/jurisdictions/KEN/profile?section=hazards,exposure"},"parameters":[{"name":"jurisdiction","in":"path","required":true,"description":"The country: ISO 3166-1 alpha-3 code, for example KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text filter: values whose measure key, label, unit, section or NIS-1 indicator contains the terms (case-insensitive; all terms must match); paging counts the kept values","schema":{"type":"string"}},{"name":"section","in":"query","required":false,"description":"Comma-separated sections to keep (default all)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Values per page, 1 to 500 (default 500)","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"offset","in":"query","required":false,"description":"Values to skip (default 0)","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev: limit and offset over the content-addressed edition (a bounded, versioned snapshot)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","science","meta"],"properties":{"data":{"$ref":"#/components/schemas/JurisdictionProfile"},"science":{"$ref":"#/components/schemas/ScienceEnvelope"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_JURISDICTION, BAD_PAGE, BAD_SECTION","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_SECTION","type":"urn:therisk:problem:index-api:bad_section"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND, UNIT_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"UNIT_NOT_FOUND","type":"urn:therisk:problem:index-api:unit_not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/jurisdictions/{jurisdiction}/adm":{"get":{"operationId":"grx_adm_units","summary":"The ADM1, ADM2 and ADM3 units of a country (drill-down)","description":"Every subnational unit of the country with an admitted boundary in the current edition: id, path, level, name, ISO 3166-2 code where the boundary source has one, parent and the profile route. ADM3 is held for the countries whose boundary source publishes that level. A level whose boundary licence is refused or not stated is withheld: it is absent here and listed in the country profile (withheld). Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"AdmUnit[]","x-mcp-tool":"grx.adm_units","x-example":{"request":"/v1/jurisdictions/KEN/adm?level=1"},"parameters":[{"name":"jurisdiction","in":"path","required":true,"description":"The country: ISO 3166-1 alpha-3 code","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text filter: units whose name, path, id or ISO 3166-2 code contains the terms (case-insensitive; all terms must match)","schema":{"type":"string"}},{"name":"level","in":"query","required":false,"description":"1, 2 or 3","schema":{"type":"string"}},{"name":"parent","in":"query","required":false,"description":"An ADM1 slug (its ADM2 units only) or an ADM2 path (its ADM3 units only)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Rows per page, 1 to 1000 (default 200)","schema":{"type":"integer","minimum":1,"maximum":1000}},{"name":"offset","in":"query","required":false,"description":"Rows to skip","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev: limit and offset over the content-addressed edition (a bounded, versioned snapshot)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdmUnit"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_JURISDICTION, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND, UNIT_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"UNIT_NOT_FOUND","type":"urn:therisk:problem:index-api:unit_not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/jurisdictions/{jurisdiction}/adm/{code}":{"get":{"operationId":"grx_adm_profile","summary":"The profile of an ADM1, ADM2 or ADM3 unit","description":"The same profile for a subnational unit: its ADM1 slug (baringo), its ADM2 path (baringo/baringo-central), its ADM3 path (baringo/baringo-central/kabarnet; a slash may be sent as %2F) or its ISO 3166-2 code (KE-01). Values are the unit's own source observations (area, people, low coastal land, exposure layers, HDX subnational figures; at ADM3 the area and the people counts), each cited. A unit has no value, score, rank or class of the Index. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"JurisdictionProfile","x-mcp-tool":"grx.adm_profile","x-example":{"request":"/v1/jurisdictions/KEN/adm/baringo"},"parameters":[{"name":"jurisdiction","in":"path","required":true,"description":"The country: ISO 3166-1 alpha-3 code","schema":{"type":"string"}},{"name":"code","in":"path","required":true,"description":"ADM1 slug, ADM2 path, ADM3 path or ISO 3166-2 code","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text filter: values whose measure key, label, unit, section or NIS-1 indicator contains the terms (case-insensitive; all terms must match); paging counts the kept values","schema":{"type":"string"}},{"name":"section","in":"query","required":false,"description":"Comma-separated sections to keep (default all)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Values per page, 1 to 500","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"offset","in":"query","required":false,"description":"Values to skip","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev: limit and offset over the content-addressed edition (a bounded, versioned snapshot)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","science","meta"],"properties":{"data":{"$ref":"#/components/schemas/JurisdictionProfile"},"science":{"$ref":"#/components/schemas/ScienceEnvelope"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_JURISDICTION, BAD_PAGE, BAD_SECTION","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_SECTION","type":"urn:therisk:problem:index-api:bad_section"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND, UNIT_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"UNIT_NOT_FOUND","type":"urn:therisk:problem:index-api:unit_not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/jurisdictions/{jurisdiction}/compare":{"get":{"operationId":"grx_jurisdiction_compare","summary":"Compare places measure by measure","description":"The place and up to ten others (countries or units) side by side: one row per measure with each place's value, vintage, licence and source; a missing value is null, never zero. Not a ranking. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"ProfileComparison","x-mcp-tool":"grx.jurisdiction_compare","x-example":{"request":"/v1/jurisdictions/KEN/compare?with=UGA,TZA&section=exposure"},"parameters":[{"name":"jurisdiction","in":"path","required":true,"description":"The country: ISO 3166-1 alpha-3 code","schema":{"type":"string"}},{"name":"with","in":"query","required":false,"description":"Comma-separated places: ISO3 or ISO3/<unit path>","schema":{"type":"string"}},{"name":"section","in":"query","required":false,"description":"Comma-separated sections","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text filter: rows whose measure key, label, unit, section or NIS-1 indicator contains the terms (case-insensitive; all terms must match)","schema":{"type":"string"}},{"name":"measures","in":"query","required":false,"description":"Comma-separated measure keys","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Rows per page, 1 to 500 (default 100)","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"offset","in":"query","required":false,"description":"Rows to skip (default 0)","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev: limit and offset over the content-addressed edition (a bounded, versioned snapshot)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/ProfileComparison"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad comparison. Codes: BAD_COMPARE, BAD_CURSOR, BAD_JURISDICTION, BAD_PAGE, BAD_SECTION","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_COMPARE","type":"urn:therisk:problem:index-api:bad_compare"},{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_SECTION","type":"urn:therisk:problem:index-api:bad_section"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND, UNIT_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"UNIT_NOT_FOUND","type":"urn:therisk:problem:index-api:unit_not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/profiles":{"get":{"operationId":"grx_profiles_edition","summary":"The current edition of the jurisdiction profiles","description":"Edition id (content-addressed), counts, the GRIx pin, inputs and their SHA-256, the map join (estate PMTiles by unit id) and the edition files (manifest, RO-Crate, SHA256SUMS). Availability: Available.","tags":["public"],"x-public":true,"x-returns":"ProfilesEdition","x-mcp-tool":"grx.profiles_edition","x-example":{"request":"/v1/profiles"},"parameters":[],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/ProfilesEdition"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/profiles/editions/{edition}":{"get":{"operationId":"GET_v1_profiles_editions_edition_","summary":"One edition of the jurisdiction profiles (immutable)","description":"The same summary for a named edition; `current` is accepted and answers with the short cache. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"ProfilesEdition","x-example":{"request":"/v1/profiles/editions/current"},"parameters":[{"name":"edition","in":"path","required":true,"description":"An edition id of the profiles register (idx- and 20 hex) or current","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/ProfilesEdition"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Edition not held. Codes: EDITION_NOT_HELD, NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"EDITION_NOT_HELD","type":"urn:therisk:problem:index-api:edition_not_held"},{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/profiles/editions/{edition}/jurisdictions/{jurisdiction}":{"get":{"operationId":"GET_v1_profiles_editions_edition_jurisdictions_jurisdiction_","summary":"A country profile of a named edition (immutable URL)","description":"As /v1/jurisdictions/{jurisdiction}/profile, pinned to an edition: Cache-Control immutable for a year. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"JurisdictionProfile","x-example":{"request":"/v1/profiles/editions/current/jurisdictions/KEN"},"parameters":[{"name":"edition","in":"path","required":true,"description":"An edition id of the profiles register (idx- and 20 hex) or current","schema":{"type":"string"}},{"name":"jurisdiction","in":"path","required":true,"description":"The country: ISO 3166-1 alpha-3 code","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text filter: values whose measure key, label, unit, section or NIS-1 indicator contains the terms (case-insensitive; all terms must match); paging counts the kept values","schema":{"type":"string"}},{"name":"section","in":"query","required":false,"description":"Comma-separated sections","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Values per page, 1 to 500 (default 500)","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"offset","in":"query","required":false,"description":"Values to skip (default 0)","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev: limit and offset over the content-addressed edition (a bounded, versioned snapshot)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","science","meta"],"properties":{"data":{"$ref":"#/components/schemas/JurisdictionProfile"},"science":{"$ref":"#/components/schemas/ScienceEnvelope"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_JURISDICTION, BAD_PAGE, BAD_SECTION","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_SECTION","type":"urn:therisk:problem:index-api:bad_section"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Edition not held. Codes: EDITION_NOT_HELD, NOT_FOUND, UNIT_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"EDITION_NOT_HELD","type":"urn:therisk:problem:index-api:edition_not_held"},{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"UNIT_NOT_FOUND","type":"urn:therisk:problem:index-api:unit_not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/countries/{iso3}/adm1":{"get":{"operationId":"GET_v1_countries_iso3_adm1","summary":"The ADM1 scope of a country: its first-level units","description":"The ADM1 level of the country as its own scope (owner, 2026-11-27): the units with an admitted boundary in the current edition, as /v1/jurisdictions/{iso3}/adm?level=1. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"AdmUnit[]","x-example":{"request":"/v1/countries/KEN/adm1"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text filter on name, path, id or ISO 3166-2 code","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Rows per page, 1 to 1000 (default 200)","schema":{"type":"integer","minimum":1,"maximum":1000}},{"name":"offset","in":"query","required":false,"description":"Rows to skip (default 0)","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev: limit and offset over the content-addressed edition (a bounded, versioned snapshot)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdmUnit"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/countries/{iso3}/adm1/{code}":{"get":{"operationId":"GET_v1_countries_iso3_adm1_code_","summary":"One ADM1 unit of a country","description":"The profile of a first-level unit by its slug (baringo) or ISO 3166-2 code (KE-01); the same answer as /v1/jurisdictions/{iso3}/adm/{code}. A path of two segments is ADM2 and answers UNIT_NOT_FOUND here. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"JurisdictionProfile","x-example":{"request":"/v1/countries/KEN/adm1/baringo"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"code","in":"path","required":true,"description":"ADM1 slug or ISO 3166-2 code","schema":{"type":"string"}},{"name":"section","in":"query","required":false,"description":"Comma-separated sections to keep (default all)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Values per page, 1 to 500 (default 500)","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"offset","in":"query","required":false,"description":"Values to skip (default 0)","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev: limit and offset over the content-addressed edition (a bounded, versioned snapshot)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","science","meta"],"properties":{"data":{"$ref":"#/components/schemas/JurisdictionProfile"},"science":{"$ref":"#/components/schemas/ScienceEnvelope"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/countries/{iso3}/adm2":{"get":{"operationId":"GET_v1_countries_iso3_adm2","summary":"The ADM2 scope of a country: its second-level units","description":"The ADM2 level of the country as its own scope: the units with an admitted boundary in the current edition, as /v1/jurisdictions/{iso3}/adm?level=2. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"AdmUnit[]","x-example":{"request":"/v1/countries/KEN/adm2?parent=baringo"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text filter on name, path, id or ISO 3166-2 code","schema":{"type":"string"}},{"name":"parent","in":"query","required":false,"description":"An ADM1 slug: its ADM2 units only","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Rows per page, 1 to 1000 (default 200)","schema":{"type":"integer","minimum":1,"maximum":1000}},{"name":"offset","in":"query","required":false,"description":"Rows to skip (default 0)","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev: limit and offset over the content-addressed edition (a bounded, versioned snapshot)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdmUnit"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/countries/{iso3}/adm2/{code}":{"get":{"operationId":"GET_v1_countries_iso3_adm2_code_","summary":"One ADM2 unit of a country","description":"The profile of a second-level unit by its path <adm1 slug>/<adm2 slug> (the slash may be sent as %2F); the same answer as /v1/jurisdictions/{iso3}/adm/{code}. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"JurisdictionProfile","x-example":{"request":"/v1/countries/KEN/adm2/baringo/baringo-central"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"code","in":"path","required":true,"description":"ADM2 unit path (<adm1 slug>/<adm2 slug>) in the GRIx ADM register","schema":{"type":"string"}},{"name":"section","in":"query","required":false,"description":"Comma-separated sections to keep (default all)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Values per page, 1 to 500 (default 500)","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"offset","in":"query","required":false,"description":"Values to skip (default 0)","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev: limit and offset over the content-addressed edition (a bounded, versioned snapshot)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","science","meta"],"properties":{"data":{"$ref":"#/components/schemas/JurisdictionProfile"},"science":{"$ref":"#/components/schemas/ScienceEnvelope"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"available"}},"/v1/countries/{iso3}/adm3":{"get":{"operationId":"GET_v1_countries_iso3_adm3","summary":"The ADM3 scope of a country (designed)","description":"The ADM3 level is registered (boundaries and names in the GRIx ADM pack) but no edition holds an ADM3 profile yet: the path resolves and answers UNIT_NOT_FOUND until one does. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-returns":"Problem","x-example":{"request":"/v1/countries/CHE/adm3"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Problem"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"planned"}},"/v1/countries/{iso3}/adm3/{code}":{"get":{"operationId":"GET_v1_countries_iso3_adm3_code_","summary":"One ADM3 unit of a country (designed)","description":"As the ADM3 scope: designed, answers UNIT_NOT_FOUND until an edition holds ADM3 profiles. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-returns":"Problem","x-example":{"request":"/v1/countries/CHE/adm3/aargau/aarau/aarau"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"code","in":"path","required":true,"description":"ADM3 unit path (<adm1>/<adm2>/<adm3>) in the GRIx ADM register","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Problem"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"planned"}},"/v1/countries/{iso3}/adm4":{"get":{"operationId":"GET_v1_countries_iso3_adm4","summary":"The ADM4 scope of a country (designed)","description":"ADM4 is registered where the GRIx ADM pack holds it (or withheld for licence) but no edition holds an ADM4 profile yet: the path resolves and answers UNIT_NOT_FOUND until one does. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-returns":"Problem","x-example":{"request":"/v1/countries/CHE/adm4"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Problem"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"planned"}},"/v1/countries/{iso3}/adm4/{code}":{"get":{"operationId":"GET_v1_countries_iso3_adm4_code_","summary":"One ADM4 unit of a country (designed)","description":"As the ADM4 scope: designed, answers UNIT_NOT_FOUND until an edition holds ADM4 profiles. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-returns":"Problem","x-example":{"request":"/v1/countries/CHE/adm4/aargau"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"code","in":"path","required":true,"description":"ADM4 unit path in the GRIx ADM register","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Problem"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"planned"}},"/v1/countries/{iso3}/adm5":{"get":{"operationId":"GET_v1_countries_iso3_adm5","summary":"The ADM5 scope of a country (designed)","description":"ADM5 is registered where the GRIx ADM pack holds it (or withheld for licence) but no edition holds an ADM5 profile yet: the path resolves and answers UNIT_NOT_FOUND until one does. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-returns":"Problem","x-example":{"request":"/v1/countries/CHE/adm5"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Problem"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"planned"}},"/v1/countries/{iso3}/adm5/{code}":{"get":{"operationId":"GET_v1_countries_iso3_adm5_code_","summary":"One ADM5 unit of a country (designed)","description":"As the ADM5 scope: designed, answers UNIT_NOT_FOUND until an edition holds ADM5 profiles. Availability: Planned (answers a typed problem response until built).","tags":["public"],"x-public":true,"x-returns":"Problem","x-example":{"request":"/v1/countries/CHE/adm5/aargau"},"parameters":[{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"code","in":"path","required":true,"description":"ADM5 unit path in the GRIx ADM register","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Problem"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]}},"x-availability":"planned"}},"/v1/profiles/editions/{edition}/jurisdictions/{jurisdiction}/adm/{code}":{"get":{"operationId":"GET_v1_profiles_editions_edition_jurisdictions_jurisdiction_adm_code_","summary":"A unit profile of a named edition (immutable URL)","description":"As /v1/jurisdictions/{jurisdiction}/adm/{code}, pinned to an edition. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"JurisdictionProfile","x-example":{"request":"/v1/profiles/editions/current/jurisdictions/KEN/adm/baringo"},"parameters":[{"name":"edition","in":"path","required":true,"description":"An edition id of the profiles register (idx- and 20 hex) or current","schema":{"type":"string"}},{"name":"jurisdiction","in":"path","required":true,"description":"The country: ISO 3166-1 alpha-3 code","schema":{"type":"string"}},{"name":"code","in":"path","required":true,"description":"ADM1 slug, ADM2 path, ADM3 path or ISO 3166-2 code","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Text filter: values whose measure key, label, unit, section or NIS-1 indicator contains the terms (case-insensitive; all terms must match); paging counts the kept values","schema":{"type":"string"}},{"name":"section","in":"query","required":false,"description":"Comma-separated sections","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Values per page","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"offset","in":"query","required":false,"description":"Values to skip","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev: limit and offset over the content-addressed edition (a bounded, versioned snapshot)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","science","meta"],"properties":{"data":{"$ref":"#/components/schemas/JurisdictionProfile"},"science":{"$ref":"#/components/schemas/ScienceEnvelope"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_JURISDICTION, BAD_PAGE, BAD_SECTION","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"},{"code":"BAD_SECTION","type":"urn:therisk:problem:index-api:bad_section"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Edition not held. Codes: EDITION_NOT_HELD, NOT_FOUND, UNIT_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"EDITION_NOT_HELD","type":"urn:therisk:problem:index-api:edition_not_held"},{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"UNIT_NOT_FOUND","type":"urn:therisk:problem:index-api:unit_not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/profiles/editions/{edition}/bulk":{"get":{"operationId":"grx_profiles_bulk","summary":"The downloadable files of an edition","description":"Per country: the values Parquet, the GeoParquet units, the H3 cells, the map attributes, the profile and the unit index, each with bytes, records, SHA-256 and the bulk credits it would cost (per 100 records, above the free quota). Availability: Available. Deprecated parameter: country (alias of jurisdiction).","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"ProfilesFile[]","x-mcp-tool":"grx.profiles_bulk","x-example":{"request":"/v1/profiles/editions/current/bulk?jurisdiction=KEN"},"parameters":[{"name":"edition","in":"path","required":true,"description":"An edition id of the profiles register (idx- and 20 hex) or current","schema":{"type":"string"}},{"name":"jurisdiction","in":"query","required":false,"description":"ISO 3166-1 alpha-3: that country's files only","schema":{"type":"string"},"x-aliases":[{"name":"country","in":"query","deprecated":true,"x-deprecated":{"since":"2026-11-24","sunset":"2027-11-24","successor":"jurisdiction"}}]},{"name":"q","in":"query","required":false,"description":"Text filter: files whose jurisdiction, kind, media type or SHA-256 contains the terms (case-insensitive; all terms must match)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Rows per page, 1 to 2000 (default 200)","schema":{"type":"integer","minimum":1,"maximum":2000}},{"name":"offset","in":"query","required":false,"description":"Rows to skip (default 0)","schema":{"type":"integer","minimum":0}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev: limit and offset over the content-addressed edition (a bounded, versioned snapshot)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ProfilesFile"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_JURISDICTION, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Edition not held. Codes: EDITION_NOT_HELD, NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"EDITION_NOT_HELD","type":"urn:therisk:problem:index-api:edition_not_held"},{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/profiles/editions/{edition}/bulk/{iso3}/{kind}":{"get":{"operationId":"GET_v1_profiles_editions_edition_bulk_iso3_kind_","summary":"Download one file of an edition","description":"The file itself (Parquet or JSON), named by its SHA-256 (ETag and Digest), metered as bulk export per 100 records above the free quota; a repeat with If-None-Match answers 304 and costs nothing. Kinds: values, units, h3, map, profile, unit-index. Availability: Available.","tags":["public"],"x-public":true,"x-snapshot":true,"x-returns":"Object","x-example":{"request":"/v1/profiles/editions/current/bulk/KEN/profile"},"parameters":[{"name":"edition","in":"path","required":true,"description":"An edition id of the profiles register (idx- and 20 hex) or current","schema":{"type":"string"}},{"name":"iso3","in":"path","required":true,"description":"Country code, ISO 3166-1 alpha-3, e.g. KEN","schema":{"type":"string"}},{"name":"kind","in":"path","required":true,"description":"values, units, h3, map, profile or unit-index","schema":{"type":"string"}}],"responses":{"200":{"description":"An OGC API document (raw OGC shape, not the envelope)","headers":{"ETag":{"description":"Strong: the snapshot digest","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}},"application/geo+json":{"schema":{"$ref":"#/components/schemas/OgcDocument"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad jurisdiction code. Codes: BAD_JURISDICTION","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Edition not held. Codes: EDITION_NOT_HELD, NOT_FOUND, UNIT_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"EDITION_NOT_HELD","type":"urn:therisk:problem:index-api:edition_not_held"},{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"UNIT_NOT_FOUND","type":"urn:therisk:problem:index-api:unit_not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/profiles/query":{"post":{"operationId":"grx_profiles_query","summary":"Aggregate source observations across places (compute)","description":"A custom aggregation over the edition's Parquet partitions (embedded engine, no database): countries (1 to 60), level (0, 1, 2 or 3), measures (1 to 20), optional sections, parent and H3 cells (resolution 4 or finer), groupBy (iso3, parent, measure, none) and agg (sum, mean, min, max, count, median). Answers the groups with their sources, licences and vintages, and the cost of the job (rows scanned, bytes read, CPU milliseconds). Metered as a compute job; never a value, score, rank or class of the Index. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"ProfilesQueryResult","x-mcp-tool":"grx.profiles_query","x-mcp-requires-token":true,"x-example":{"request":"/v1/profiles/query","body":{"countries":["KEN","UGA"],"level":1,"measures":["people.ghsl","lecz.people"],"groupBy":"iso3","agg":"sum"}},"parameters":[{"name":"edition","in":"query","required":false,"description":"An edition id of the profiles register (idx- and 20 hex) or current","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/ProfilesQueryResult"},"meta":{"$ref":"#/components/schemas/Meta"}}}}}},"400":{"description":"Bad request body. Codes: BAD_BUILD, BAD_JSON, BAD_PROFILE_QUERY","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_BUILD","type":"urn:therisk:problem:index-api:bad_build"},{"code":"BAD_JSON","type":"urn:therisk:problem:index-api:bad_json"},{"code":"BAD_PROFILE_QUERY","type":"urn:therisk:problem:index-api:bad_profile_query"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Edition not held. Codes: EDITION_NOT_HELD, NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"EDITION_NOT_HELD","type":"urn:therisk:problem:index-api:edition_not_held"},{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"}]},"413":{"description":"Query too large. Codes: QUERY_TOO_LARGE, TOO_LARGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"QUERY_TOO_LARGE","type":"urn:therisk:problem:index-api:query_too_large"},{"code":"TOO_LARGE","type":"urn:therisk:problem:index-api:too_large"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["countries","measures"],"properties":{"countries":{"type":"array","items":{"type":"string","pattern":"^[A-Z]{3}$"},"minItems":1,"maxItems":60},"level":{"enum":[0,1,2,3]},"measures":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":20},"sections":{"type":"array","items":{"type":"string"}},"parent":{"type":"string"},"cells":{"type":"array","items":{"type":"string"},"maxItems":5000},"groupBy":{"enum":["iso3","parent","measure","none"]},"agg":{"enum":["sum","mean","min","max","count","median"]}},"additionalProperties":false}}}},"x-availability":"available"}},"/v1/jurisdictions/{jurisdiction}/contributions":{"get":{"operationId":"grx_jurisdiction_contributions","summary":"Published contributions about a country","description":"The published contributions whose place is the country itself; with include=children also those about its ADM units. Every contribution is self-reported by its contributor, reviewed and de-identified, and carries its review record, the licence the contributor granted and its provenance. A contribution is shown beside the Index and never changes an Index value: data reaches a value only through GRIx. Coverage is none until a reviewed contribution is published. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Contribution[]","x-mcp-tool":"grx.jurisdiction_contributions","x-example":{"request":"/v1/jurisdictions/KEN/contributions?include=children"},"parameters":[{"name":"jurisdiction","in":"path","required":true,"description":"The country: ISO 3166-1 alpha-3 code, for example KEN","schema":{"type":"string"}},{"name":"include","in":"query","required":false,"description":"children: also the contributions about the units inside this place. Default: only the contributions about the place itself","schema":{"type":"string","enum":["children"]}},{"name":"kind","in":"query","required":false,"description":"value-correction, data-offer, government-reply or local-observation","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms in the contribution text (case-insensitive; every term must match)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev, bound to the set of contributions it was issued for","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Contribution"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_FILTER, BAD_JURISDICTION, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_FILTER","type":"urn:therisk:problem:index-api:bad_filter"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND, UNIT_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"UNIT_NOT_FOUND","type":"urn:therisk:problem:index-api:unit_not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/jurisdictions/{jurisdiction}/adm/{code}/contributions":{"get":{"operationId":"grx_adm_contributions","summary":"Published contributions about an ADM unit","description":"The published contributions whose place is this unit; with include=children also those about the units inside it. Every contribution is self-reported by its contributor, reviewed and de-identified, and carries its review record, the licence the contributor granted and its provenance. A contribution is shown beside the Index and never changes an Index value: data reaches a value only through GRIx. Coverage is none until a reviewed contribution is published. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Contribution[]","x-mcp-tool":"grx.adm_contributions","x-example":{"request":"/v1/jurisdictions/KEN/adm/baringo/contributions?include=children"},"parameters":[{"name":"jurisdiction","in":"path","required":true,"description":"The country: ISO 3166-1 alpha-3 code, for example KEN","schema":{"type":"string"}},{"name":"code","in":"path","required":true,"description":"The ADM unit: its path of one to three segments (baringo, baringo/baringo-central; the slash may be sent as %2F) or its code in the boundary source (KE-01)","schema":{"type":"string"}},{"name":"include","in":"query","required":false,"description":"children: also the contributions about the units inside this place. Default: only the contributions about the place itself","schema":{"type":"string","enum":["children"]}},{"name":"kind","in":"query","required":false,"description":"value-correction, data-offer, government-reply or local-observation","schema":{"type":"string"}},{"name":"q","in":"query","required":false,"description":"Search terms in the contribution text (case-insensitive; every term must match)","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next or prev, bound to the set of contributions it was issued for","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}},"Link":{"description":"RFC 8288 rel next and prev, cursor-based","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Contribution"},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad cursor. Codes: BAD_CURSOR, BAD_FILTER, BAD_JURISDICTION, BAD_PAGE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_CURSOR","type":"urn:therisk:problem:index-api:bad_cursor"},{"code":"BAD_FILTER","type":"urn:therisk:problem:index-api:bad_filter"},{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"},{"code":"BAD_PAGE","type":"urn:therisk:problem:index-api:bad_page"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND, UNIT_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"UNIT_NOT_FOUND","type":"urn:therisk:problem:index-api:unit_not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/jurisdictions/{jurisdiction}/participate":{"get":{"operationId":"grx_jurisdiction_participate","summary":"What can be contributed for a country, and its known data gaps","description":"What a person, an institution or a government can contribute for this country: each kind of contribution with its intake feature and state, the record schema, the required fields, the licence, the review steps and the submission address with the place filled in; and the data gaps of the country, read from the coverage and gaps of its own profile. A kind whose feature is designed (D) is listed with what blocks it and takes no submission. Submissions go to the intake service through the site, never to this API. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Participation","x-mcp-tool":"grx.jurisdiction_participate","x-example":{"request":"/v1/jurisdictions/KEN/participate"},"parameters":[{"name":"jurisdiction","in":"path","required":true,"description":"The country: ISO 3166-1 alpha-3 code, for example KEN","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Participation"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad jurisdiction code. Codes: BAD_JURISDICTION","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND, UNIT_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"UNIT_NOT_FOUND","type":"urn:therisk:problem:index-api:unit_not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/jurisdictions/{jurisdiction}/adm/{code}/participate":{"get":{"operationId":"grx_adm_participate","summary":"What can be contributed for an ADM unit, and its known data gaps","description":"As /v1/jurisdictions/{jurisdiction}/participate for one ADM unit: the kinds of contribution with the unit's path and level filled in, and the unit's own data gaps from its profile. Availability: Available.","tags":["public"],"x-public":true,"x-returns":"Participation","x-mcp-tool":"grx.adm_participate","x-example":{"request":"/v1/jurisdictions/KEN/adm/baringo/participate"},"parameters":[{"name":"jurisdiction","in":"path","required":true,"description":"The country: ISO 3166-1 alpha-3 code, for example KEN","schema":{"type":"string"}},{"name":"code","in":"path","required":true,"description":"The ADM unit: its path of one to three segments (baringo, baringo/baringo-central; the slash may be sent as %2F) or its code in the boundary source (KE-01)","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance, coverage and links","headers":{"ETag":{"description":"Strong: the snapshot digest (live backend reads: weak)","schema":{"type":"string"}},"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#/components/schemas/Participation"},"meta":{"$ref":"#/components/schemas/Meta"}}}},"application/ld+json":{"schema":{"type":"object","description":"The same record or list (@graph) with @context /v1/context.jsonld (JSON-LD 1.1: SKOS, PROV-O, schema.org, DCAT 3)"}}}},"304":{"description":"Not modified: If-None-Match matched the snapshot digest"},"400":{"description":"Bad jurisdiction code. Codes: BAD_JURISDICTION","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"BAD_JURISDICTION","type":"urn:therisk:problem:index-api:bad_jurisdiction"}]},"401":{"$ref":"#/components/responses/InvalidCredential"},"404":{"description":"Not found. Codes: NOT_FOUND, UNIT_NOT_FOUND","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"NOT_FOUND","type":"urn:therisk:problem:index-api:not_found"},{"code":"UNIT_NOT_FOUND","type":"urn:therisk:problem:index-api:unit_not_found"}]},"414":{"$ref":"#/components/responses/AddressTooLong"},"429":{"description":"Rate limited. Codes: RATE_LIMITED","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"RATE_LIMITED","type":"urn:therisk:problem:index-api:rate_limited"}]},"500":{"description":"Internal error. Codes: INTERNAL","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"INTERNAL","type":"urn:therisk:problem:index-api:internal"}]},"503":{"description":"Profiles unavailable. Codes: PROFILES_UNAVAILABLE","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"x-problem-codes":[{"code":"PROFILES_UNAVAILABLE","type":"urn:therisk:problem:index-api:profiles_unavailable"}]}},"x-availability":"available"}},"/v1/what-changed":{"get":{"operationId":"deprecated_grx_what_changed","summary":"Moved: What changed: editions, corrections and notices","description":"Superseded by /v1/grx/org/what-changed. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/grx/org/what-changed"},"x-public":true,"parameters":[],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"available"}},"/v1/corrections":{"get":{"operationId":"deprecated_grx_corrections","summary":"Moved: Public corrections and replies log","description":"Superseded by /v1/grx/org/corrections. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/grx/org/corrections"},"x-public":true,"parameters":[],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"available"}},"/v1/coverage":{"get":{"operationId":"deprecated_grx_coverage","summary":"Moved: Coverage of leaf indicators by data","description":"Superseded by /v1/grx/org/coverage. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/grx/org/coverage"},"x-public":true,"parameters":[],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"available"}},"/v1/calendar":{"get":{"operationId":"deprecated_grx_calendar","summary":"Moved: Dated public items (release dates, data windows)","description":"Superseded by /v1/grx/org/calendar. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/grx/org/calendar"},"x-public":true,"parameters":[],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"available"}},"/v1/instruments":{"get":{"operationId":"deprecated_grx_instrument_list","summary":"Moved: The seven instruments","description":"Superseded by /v1/grx/org/instruments. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/grx/org/instruments"},"x-public":true,"parameters":[],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"available"}},"/v1/instruments/{code}":{"get":{"operationId":"deprecated_grx_instrument","summary":"Moved: One instrument","description":"Superseded by /v1/grx/org/instruments/{code}. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/grx/org/instruments/{code}"},"x-public":true,"parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"},"description":"Instrument code or slug of the Instruments register, e.g. STR"}],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"available"}},"/v1/domains":{"get":{"operationId":"deprecated_grx_domain_list","summary":"Moved: The 20 NIS-1 domains and their domain indices","description":"Superseded by /v1/taxonomy/indicators/domains. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/taxonomy/indicators/domains"},"x-public":true,"parameters":[],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"available"}},"/v1/domains/{code}":{"get":{"operationId":"deprecated_grx_domain_get","summary":"Moved: One NIS-1 domain","description":"Superseded by /v1/taxonomy/indicators/domains/{code}. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/taxonomy/indicators/domains/{code}"},"x-public":true,"parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"},"description":"NIS-1 domain code, e.g. FIS"}],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"available"}},"/v1/indicators":{"get":{"operationId":"deprecated_grx_taxonomy_indicator","summary":"Moved: Search the NIS-1 indicator taxonomy","description":"Superseded by /v1/taxonomy/indicators. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/taxonomy/indicators"},"x-public":true,"parameters":[],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"available"}},"/v1/indicators/{id}":{"get":{"operationId":"deprecated_grx_indicator_get","summary":"Moved: One NIS-1 indicator, sub-index or domain index","description":"Superseded by /v1/taxonomy/indicators/{id}. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/taxonomy/indicators/{id}"},"x-public":true,"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"NIS-1 indicator id, e.g. nis:IND.WAT.access.basic"}],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"available"}},"/v1/watch":{"post":{"operationId":"deprecated_grx_watch","summary":"Moved: Watch an entity or a series for a release or a threshold","description":"Superseded by /v1/grx/org/watch. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/grx/org/watch"},"x-public":false,"parameters":[],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"planned"}},"/v1/scenarios/run":{"post":{"operationId":"deprecated_grx_scenario_run","summary":"Moved: Run a scenario or stress test on an entity","description":"Superseded by /v1/grx/org/scenarios/run. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/grx/org/scenarios/run"},"x-public":false,"parameters":[],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"planned"}},"/v1/bespoke":{"post":{"operationId":"deprecated_grx_bespoke_build","summary":"Moved: Build a bespoke or portfolio index","description":"Superseded by /v1/grx/org/bespoke. Answers 308 with Location, Deprecation (RFC 9745), Sunset (RFC 8594) and Link rel successor-version and deprecation. Sunset 2027-11-22.","deprecated":true,"x-deprecated":{"since":"2026-11-22","sunset":"2027-11-22","successor":"/v1/grx/org/bespoke"},"x-public":false,"parameters":[],"responses":{"308":{"description":"Permanent redirect to the successor; method and query are kept","headers":{"Location":{"schema":{"type":"string"}},"Deprecation":{"schema":{"type":"string"}},"Sunset":{"schema":{"type":"string"}},"Link":{"schema":{"type":"string"}}}}},"x-availability":"planned"}},"/v1/ontology":{"get":{"operationId":"shared_risk_graph_ontology_summary","summary":"The ontology over the registries","description":"Summary of the semantic layer derived from the registries this service serves (NHS-1, NIS-1, crosswalks, Nexus Standards, Index series): counts of terms and relationships by kind, the digest and the lineage of every source. Built deterministically, no model; the extraction certifies nothing.","tags":["Shared"],"parameters":[],"responses":{"200":{"description":"Records with provenance","headers":{"ETag":{"description":"Strong ETag: the digest of the snapshot and index this answer was computed from (RFC 9110)","schema":{"type":"string"}},"Cache-Control":{"description":"public, max-age (snapshot reads)","schema":{"type":"string"}},"RateLimit-Policy":{"description":"The open-tier window (IETF RateLimit header fields draft)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"schema":{"type":"string"},"method":{"type":"string","description":"The method behind a computed output: its method card (purpose, inputs, equations, assumptions, limits, validation and version)."},"snapshotBuiltAt":{"type":"string","description":"The time the snapshot was built, ISO 8601 in UTC. Unit: ISO 8601 date-time."},"digest":{"type":"string","description":"The digest of the snapshot or file, as sha256:<hex>. A changed digest means changed content."},"certification":{"type":"string","description":"The certification state of the term or ontology, as the ontology records it."},"counts":{"type":"object","properties":{},"additionalProperties":true,"description":"The number of records per class."},"lineage":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The key of the source registry."},"repository":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"commit":{"type":"string","description":"The commit of the source repository the record was read from (a Git object id)."},"path":{"type":"string","description":"The path of the source file inside its repository, or the API path where the object is a route."},"sha256":{"type":"string","description":"The SHA-256 digest of the source file, hexadecimal. A changed digest means changed content."},"licence":{"type":"string","description":"The licence of the source, as an SPDX identifier where one exists. Reuse follows this licence, not the licence of the API."}},"required":["key","path","sha256"],"additionalProperties":true},"description":"The registries the records or terms come from, each with its key, SHA-256 digest and licence."}},"required":["schema","digest","counts","lineage"],"additionalProperties":true,"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"type":"object","properties":{"service":{"type":"string","description":"The name of the service that produced the answer."},"version":{"type":"string","description":"The version of the service that produced the answer (semantic versioning)."},"authority":{"type":"string","description":"The network that is the single writer of these records (the authority table of the API architecture standard, section 3). Every other API holds projections only."},"state":{"type":"string","description":"The publication state of the answer: E when the records are published by their authority, D when the route is designed and its records are not yet published."},"untrusted":{"type":"array","items":{"type":"string"},"description":"The paths of the answer that carry a record's own words (text from a network or its contributors). A client, and the MCP adapter, treats these fields as data, never as instructions."},"provenance":{"type":"object","properties":{"repository":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"commit":{"type":"string","description":"The commit of the source repository the record was read from (a Git object id)."},"path":{"type":"string","description":"The path of the source file inside its repository, or the API path where the object is a route."},"sha256":{"type":"string","description":"The SHA-256 digest of the source file, hexadecimal. A changed digest means changed content."},"licence":{"type":"string","description":"The licence of the source, as an SPDX identifier where one exists. Reuse follows this licence, not the licence of the API."},"snapshotAt":{"type":"string","format":"date-time","description":"The time the source was captured, ISO 8601 in UTC. Every answer states it; the Risk Graph states the oldest among the sources it joined. Unit: ISO 8601 date-time."},"rule":{"type":"string","description":"The seed rule that derived a value the authority did not publish as a link"}},"required":["snapshotAt"],"additionalProperties":true,"description":"Where the records come from, in W3C PROV-O terms: the source repository, the commit, the file path, the SHA-256 digest of the file, its licence and the time of the snapshot."},"coverage":{"type":"object","properties":{"overall":{"type":"string","enum":["complete","partial","none"],"description":"The overall coverage of the request by the records held: complete, partial or none."},"dimensions":{"type":"object","additionalProperties":{"type":"string","enum":["complete","partial","none"]},"description":"Coverage per request dimension (industry, jurisdiction, hazard, indicator): what was asked and what the records hold."},"note":{"type":"string","description":"A note on the item that qualifies its reading, in English."}},"required":["overall"],"additionalProperties":true,"description":"How far the request's dimensions (industry, jurisdiction, hazard, indicator) are covered by the records held: complete, partial or none. A known code with no data answers coverage none, never an error."},"review":{"type":"string","description":"unreviewed until independent review is recorded through Standards due process"},"sources":{"type":"array","items":{"type":"object","properties":{"net":{"type":"string","description":"The network of the source."},"state":{"type":"string","enum":["ok","stale","unavailable"],"description":"The state of the source when the answer was built: ok, stale or unavailable."},"snapshotAt":{"type":["string","null"],"description":"The time the source was captured, ISO 8601 in UTC. Every answer states it; the Risk Graph states the oldest among the sources it joined. Unit: ISO 8601 date-time."},"digest":{"type":["string","null"],"description":"The digest of the snapshot or file, as sha256:<hex>. A changed digest means changed content."},"contributed":{"type":"boolean","description":"True when this network contributed records to the answer."},"reason":{"type":"string","description":"Why the source is stale or unavailable"}},"required":["net","state"],"additionalProperties":true},"description":"One entry per source joined in the answer, each with its state: ok, stale or unavailable. A slow or failing source is reported here; the answer is never silently partial."},"page":{"type":"object","properties":{"limit":{"type":"integer","description":"The number of records per page."},"offset":{"type":"integer","description":"The number of records skipped before this page (bounded snapshots only)."},"total":{"type":"integer","description":"The total number of items in the set the answer pages through."},"next":{"type":["string","null"],"description":"Cursor for the next page; also in the Link header (RFC 8288)"}},"additionalProperties":true,"description":"The pagination block: the opaque cursor of the next page and, on bounded snapshots, the total. The same cursor is sent in an RFC 8288 Link header."},"ranking":{"type":"object","properties":{"version":{"type":"string","description":"The version of the record, method or model (semantic versioning where the record declares it)."},"description":{"type":"string"}},"additionalProperties":true,"description":"How the results were ranked: the ranking version and its description. Ranking is deterministic, uses no model call and is explained per hit."},"replication":{"type":"object","properties":{"digest":{"type":"string","description":"The digest of the snapshot or file, as sha256:<hex>. A changed digest means changed content."},"methodVersion":{"type":"string","description":"The version of the method that produced the output."}},"additionalProperties":true,"description":"What is needed to reproduce a computed output: the inputs, the method version, the parameters and the snapshot digests."},"warnings":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"ontology":{"type":"object","properties":{"digest":{"type":"string","description":"The digest of the Risk Graph ontology the terms come from, as sha256:<hex>."},"terms":{"type":"array","items":{"type":"string"},"description":"Ontology term ids the answer used (GET /v1/ontology/terms/{id}), at most 50"},"more":{"type":"integer","description":"How many further terms the answer used beyond those listed."},"lineage":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The key of the source registry."},"sha256":{"type":"string","description":"The SHA-256 digest of the source file, hexadecimal. A changed digest means changed content."},"licence":{"type":"string","description":"The licence of the source, as an SPDX identifier where one exists. Reuse follows this licence, not the licence of the API."}},"required":["key","sha256"],"additionalProperties":true},"description":"The registries the listed terms come from, each with its key, SHA-256 digest and licence."}},"required":["digest","terms","lineage"],"additionalProperties":true,"description":"The ontology terms the answer used: the ontology digest, up to 50 term identifiers, the number of further terms, and the lineage (registry key, SHA-256 digest, licence) of the registries those terms come from. Nothing is inferred from free text."}},"required":["service","version"],"additionalProperties":true,"description":"The answer's metadata: the network that is the authority for the records, their publication state, provenance, coverage of the request's dimensions, review state and, where present, the method, replication data, links and the page cursor."}}}}}},"304":{"description":"Not modified: If-None-Match matched the strong ETag"},"401":{"description":"The Authorization header carries a credential this API does not accept (code INVALID_KEY): not an API key, not an access token, or one that is expired or revoked. Send no Authorization header for the open tier.","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer error=\"invalid_token\" (RFC 6750 section 3.1)"}},"content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"414":{"description":"The request address is longer than 8192 characters (code URI_TOO_LONG). A single query value over 4096 characters, more than 64 parameters or a path segment over 256 characters is refused with 400.","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"429":{"description":"RATE_LIMITED: open-tier limit; Retry-After says when to retry","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"500":{"description":"INTERNAL","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}}},"x-availability":"available","x-served-by":"risk-graph","x-shared-path":{"readOnly":true,"hostPrefix":"api"}}},"/v1/ontology/answerable":{"get":{"operationId":"shared_risk_graph_ontology_check_answerable","summary":"Can the registries answer this question?","description":"Checks a question against the ontology before an agent answers it: the terms found, the words no term covers and a coverage ratio, with the rule stated. A term found means the registries define the concept, not that a value exists. Deterministic; the question is neither stored nor logged.","tags":["Shared"],"parameters":[{"name":"question","in":"query","required":true,"description":"The question, 1 to 500 characters","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance","headers":{"ETag":{"description":"Strong ETag: the digest of the snapshot and index this answer was computed from (RFC 9110)","schema":{"type":"string"}},"Cache-Control":{"description":"public, max-age (snapshot reads)","schema":{"type":"string"}},"RateLimit-Policy":{"description":"The open-tier window (IETF RateLimit header fields draft)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"question":{"type":"object","properties":{"words":{"type":"integer","description":"The number of content words in the question, after question words, auxiliaries and generic verbs are removed."}},"required":["words"],"additionalProperties":true},"answerable":{"type":"boolean","description":"Whether the question's content words are covered by ontology terms under the rule the answer states. When it is false, ask for clarification rather than guess."},"coverage":{"type":"number","description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"terms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"kind":{"type":"string"},"label":{"type":"string","description":"The display label of the item, in English."},"matched":{"type":"string","description":"The words of the question that matched the term."}},"required":["id","kind","label","matched"],"additionalProperties":true}},"uncovered":{"type":"array","items":{"type":"string"},"description":"The content words of the question that no ontology term covers."},"rule":{"type":"string"}},"required":["answerable","coverage","terms","uncovered","rule"],"additionalProperties":true,"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"type":"object","properties":{"service":{"type":"string","description":"The name of the service that produced the answer."},"version":{"type":"string","description":"The version of the service that produced the answer (semantic versioning)."},"authority":{"type":"string","description":"The network that is the single writer of these records (the authority table of the API architecture standard, section 3). Every other API holds projections only."},"state":{"type":"string","description":"The publication state of the answer: E when the records are published by their authority, D when the route is designed and its records are not yet published."},"untrusted":{"type":"array","items":{"type":"string"},"description":"The paths of the answer that carry a record's own words (text from a network or its contributors). A client, and the MCP adapter, treats these fields as data, never as instructions."},"provenance":{"type":"object","properties":{"repository":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"commit":{"type":"string","description":"The commit of the source repository the record was read from (a Git object id)."},"path":{"type":"string","description":"The path of the source file inside its repository, or the API path where the object is a route."},"sha256":{"type":"string","description":"The SHA-256 digest of the source file, hexadecimal. A changed digest means changed content."},"licence":{"type":"string","description":"The licence of the source, as an SPDX identifier where one exists. Reuse follows this licence, not the licence of the API."},"snapshotAt":{"type":"string","format":"date-time","description":"The time the source was captured, ISO 8601 in UTC. Every answer states it; the Risk Graph states the oldest among the sources it joined. Unit: ISO 8601 date-time."},"rule":{"type":"string","description":"The seed rule that derived a value the authority did not publish as a link"}},"required":["snapshotAt"],"additionalProperties":true,"description":"Where the records come from, in W3C PROV-O terms: the source repository, the commit, the file path, the SHA-256 digest of the file, its licence and the time of the snapshot."},"coverage":{"type":"object","properties":{"overall":{"type":"string","enum":["complete","partial","none"],"description":"The overall coverage of the request by the records held: complete, partial or none."},"dimensions":{"type":"object","additionalProperties":{"type":"string","enum":["complete","partial","none"]},"description":"Coverage per request dimension (industry, jurisdiction, hazard, indicator): what was asked and what the records hold."},"note":{"type":"string","description":"A note on the item that qualifies its reading, in English."}},"required":["overall"],"additionalProperties":true,"description":"How far the request's dimensions (industry, jurisdiction, hazard, indicator) are covered by the records held: complete, partial or none. A known code with no data answers coverage none, never an error."},"review":{"type":"string","description":"unreviewed until independent review is recorded through Standards due process"},"sources":{"type":"array","items":{"type":"object","properties":{"net":{"type":"string","description":"The network of the source."},"state":{"type":"string","enum":["ok","stale","unavailable"],"description":"The state of the source when the answer was built: ok, stale or unavailable."},"snapshotAt":{"type":["string","null"],"description":"The time the source was captured, ISO 8601 in UTC. Every answer states it; the Risk Graph states the oldest among the sources it joined. Unit: ISO 8601 date-time."},"digest":{"type":["string","null"],"description":"The digest of the snapshot or file, as sha256:<hex>. A changed digest means changed content."},"contributed":{"type":"boolean","description":"True when this network contributed records to the answer."},"reason":{"type":"string","description":"Why the source is stale or unavailable"}},"required":["net","state"],"additionalProperties":true},"description":"One entry per source joined in the answer, each with its state: ok, stale or unavailable. A slow or failing source is reported here; the answer is never silently partial."},"page":{"type":"object","properties":{"limit":{"type":"integer","description":"The number of records per page."},"offset":{"type":"integer","description":"The number of records skipped before this page (bounded snapshots only)."},"total":{"type":"integer","description":"The total number of items in the set the answer pages through."},"next":{"type":["string","null"],"description":"Cursor for the next page; also in the Link header (RFC 8288)"}},"additionalProperties":true,"description":"The pagination block: the opaque cursor of the next page and, on bounded snapshots, the total. The same cursor is sent in an RFC 8288 Link header."},"ranking":{"type":"object","properties":{"version":{"type":"string","description":"The version of the record, method or model (semantic versioning where the record declares it)."},"description":{"type":"string"}},"additionalProperties":true,"description":"How the results were ranked: the ranking version and its description. Ranking is deterministic, uses no model call and is explained per hit."},"replication":{"type":"object","properties":{"digest":{"type":"string","description":"The digest of the snapshot or file, as sha256:<hex>. A changed digest means changed content."},"methodVersion":{"type":"string","description":"The version of the method that produced the output."}},"additionalProperties":true,"description":"What is needed to reproduce a computed output: the inputs, the method version, the parameters and the snapshot digests."},"warnings":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"ontology":{"type":"object","properties":{"digest":{"type":"string","description":"The digest of the Risk Graph ontology the terms come from, as sha256:<hex>."},"terms":{"type":"array","items":{"type":"string"},"description":"Ontology term ids the answer used (GET /v1/ontology/terms/{id}), at most 50"},"more":{"type":"integer","description":"How many further terms the answer used beyond those listed."},"lineage":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The key of the source registry."},"sha256":{"type":"string","description":"The SHA-256 digest of the source file, hexadecimal. A changed digest means changed content."},"licence":{"type":"string","description":"The licence of the source, as an SPDX identifier where one exists. Reuse follows this licence, not the licence of the API."}},"required":["key","sha256"],"additionalProperties":true},"description":"The registries the listed terms come from, each with its key, SHA-256 digest and licence."}},"required":["digest","terms","lineage"],"additionalProperties":true,"description":"The ontology terms the answer used: the ontology digest, up to 50 term identifiers, the number of further terms, and the lineage (registry key, SHA-256 digest, licence) of the registries those terms come from. Nothing is inferred from free text."}},"required":["service","version"],"additionalProperties":true,"description":"The answer's metadata: the network that is the authority for the records, their publication state, provenance, coverage of the request's dimensions, review state and, where present, the method, replication data, links and the page cursor."}}}}}},"304":{"description":"Not modified: If-None-Match matched the strong ETag"},"400":{"description":"BAD_PAGE, BAD_QUERY, BAD_DIMENSION, BAD_REL, BAD_CURSOR, BAD_ID, BAD_JSON or BAD_BODY","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"401":{"description":"The Authorization header carries a credential this API does not accept (code INVALID_KEY): not an API key, not an access token, or one that is expired or revoked. Send no Authorization header for the open tier.","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer error=\"invalid_token\" (RFC 6750 section 3.1)"}},"content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"414":{"description":"The request address is longer than 8192 characters (code URI_TOO_LONG). A single query value over 4096 characters, more than 64 parameters or a path segment over 256 characters is refused with 400.","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"429":{"description":"RATE_LIMITED: open-tier limit; Retry-After says when to retry","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"500":{"description":"INTERNAL","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}}},"x-availability":"available","x-served-by":"risk-graph","x-shared-path":{"readOnly":true,"hostPrefix":"api"}}},"/v1/ontology/terms":{"get":{"operationId":"shared_risk_graph_ontology_search_terms","summary":"Search ontology terms","description":"Concepts with label, synonyms, description, where each lives in the registries (mapping) and its review state. Every query word must match; label matches rank first.","tags":["Shared"],"parameters":[{"name":"q","in":"query","required":false,"description":"Search terms","schema":{"type":"string"}},{"name":"kind","in":"query","required":false,"description":"hazard-domain, hazard-family, hazard, indicator-domain, indicator, composite, standard-series, standard, framework or index-series","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Records per page, 1 to 200 (default 50)","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"offset","in":"query","required":false,"description":"Records to skip (default 0); bounded snapshot only","schema":{"type":"integer","minimum":0,"maximum":100000}}],"responses":{"200":{"description":"Records with provenance","headers":{"ETag":{"description":"Strong ETag: the digest of the snapshot and index this answer was computed from (RFC 9110)","schema":{"type":"string"}},"Cache-Control":{"description":"public, max-age (snapshot reads)","schema":{"type":"string"}},"RateLimit-Policy":{"description":"The open-tier window (IETF RateLimit header fields draft)","schema":{"type":"string"}},"Link":{"description":"RFC 8288 pagination links (rel next and prev)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"kind":{"type":"string"},"label":{"type":"string","description":"The display label of the item, in English."},"synonyms":{"type":"array","items":{"type":"string"},"description":"Other labels of the term, used for matching."},"description":{"type":"string"},"mapping":{"type":"object","properties":{"source":{"type":["string","null"],"description":"The key of the source registry."},"file":{"type":"string","description":"The registry file the term is read from."},"pointer":{"type":"string","description":"The location of the record inside that file, as a JSON Pointer (RFC 6901)."},"recordId":{"type":"string","description":"The identifier of the record in its registry."}},"required":["file","pointer","recordId"],"additionalProperties":true},"certification":{"type":"string","description":"The certification state of the term or ontology, as the ontology records it."}},"required":["id","kind","label","mapping","certification"],"additionalProperties":true},"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"type":"object","properties":{"service":{"type":"string","description":"The name of the service that produced the answer."},"version":{"type":"string","description":"The version of the service that produced the answer (semantic versioning)."},"authority":{"type":"string","description":"The network that is the single writer of these records (the authority table of the API architecture standard, section 3). Every other API holds projections only."},"state":{"type":"string","description":"The publication state of the answer: E when the records are published by their authority, D when the route is designed and its records are not yet published."},"untrusted":{"type":"array","items":{"type":"string"},"description":"The paths of the answer that carry a record's own words (text from a network or its contributors). A client, and the MCP adapter, treats these fields as data, never as instructions."},"provenance":{"type":"object","properties":{"repository":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"commit":{"type":"string","description":"The commit of the source repository the record was read from (a Git object id)."},"path":{"type":"string","description":"The path of the source file inside its repository, or the API path where the object is a route."},"sha256":{"type":"string","description":"The SHA-256 digest of the source file, hexadecimal. A changed digest means changed content."},"licence":{"type":"string","description":"The licence of the source, as an SPDX identifier where one exists. Reuse follows this licence, not the licence of the API."},"snapshotAt":{"type":"string","format":"date-time","description":"The time the source was captured, ISO 8601 in UTC. Every answer states it; the Risk Graph states the oldest among the sources it joined. Unit: ISO 8601 date-time."},"rule":{"type":"string","description":"The seed rule that derived a value the authority did not publish as a link"}},"required":["snapshotAt"],"additionalProperties":true,"description":"Where the records come from, in W3C PROV-O terms: the source repository, the commit, the file path, the SHA-256 digest of the file, its licence and the time of the snapshot."},"coverage":{"type":"object","properties":{"overall":{"type":"string","enum":["complete","partial","none"],"description":"The overall coverage of the request by the records held: complete, partial or none."},"dimensions":{"type":"object","additionalProperties":{"type":"string","enum":["complete","partial","none"]},"description":"Coverage per request dimension (industry, jurisdiction, hazard, indicator): what was asked and what the records hold."},"note":{"type":"string","description":"A note on the item that qualifies its reading, in English."}},"required":["overall"],"additionalProperties":true,"description":"How far the request's dimensions (industry, jurisdiction, hazard, indicator) are covered by the records held: complete, partial or none. A known code with no data answers coverage none, never an error."},"review":{"type":"string","description":"unreviewed until independent review is recorded through Standards due process"},"sources":{"type":"array","items":{"type":"object","properties":{"net":{"type":"string","description":"The network of the source."},"state":{"type":"string","enum":["ok","stale","unavailable"],"description":"The state of the source when the answer was built: ok, stale or unavailable."},"snapshotAt":{"type":["string","null"],"description":"The time the source was captured, ISO 8601 in UTC. Every answer states it; the Risk Graph states the oldest among the sources it joined. Unit: ISO 8601 date-time."},"digest":{"type":["string","null"],"description":"The digest of the snapshot or file, as sha256:<hex>. A changed digest means changed content."},"contributed":{"type":"boolean","description":"True when this network contributed records to the answer."},"reason":{"type":"string","description":"Why the source is stale or unavailable"}},"required":["net","state"],"additionalProperties":true},"description":"One entry per source joined in the answer, each with its state: ok, stale or unavailable. A slow or failing source is reported here; the answer is never silently partial."},"page":{"type":"object","properties":{"limit":{"type":"integer","description":"The number of records per page."},"offset":{"type":"integer","description":"The number of records skipped before this page (bounded snapshots only)."},"total":{"type":"integer","description":"The total number of items in the set the answer pages through."},"next":{"type":["string","null"],"description":"Cursor for the next page; also in the Link header (RFC 8288)"}},"additionalProperties":true,"description":"The pagination block: the opaque cursor of the next page and, on bounded snapshots, the total. The same cursor is sent in an RFC 8288 Link header."},"ranking":{"type":"object","properties":{"version":{"type":"string","description":"The version of the record, method or model (semantic versioning where the record declares it)."},"description":{"type":"string"}},"additionalProperties":true,"description":"How the results were ranked: the ranking version and its description. Ranking is deterministic, uses no model call and is explained per hit."},"replication":{"type":"object","properties":{"digest":{"type":"string","description":"The digest of the snapshot or file, as sha256:<hex>. A changed digest means changed content."},"methodVersion":{"type":"string","description":"The version of the method that produced the output."}},"additionalProperties":true,"description":"What is needed to reproduce a computed output: the inputs, the method version, the parameters and the snapshot digests."},"warnings":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"ontology":{"type":"object","properties":{"digest":{"type":"string","description":"The digest of the Risk Graph ontology the terms come from, as sha256:<hex>."},"terms":{"type":"array","items":{"type":"string"},"description":"Ontology term ids the answer used (GET /v1/ontology/terms/{id}), at most 50"},"more":{"type":"integer","description":"How many further terms the answer used beyond those listed."},"lineage":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The key of the source registry."},"sha256":{"type":"string","description":"The SHA-256 digest of the source file, hexadecimal. A changed digest means changed content."},"licence":{"type":"string","description":"The licence of the source, as an SPDX identifier where one exists. Reuse follows this licence, not the licence of the API."}},"required":["key","sha256"],"additionalProperties":true},"description":"The registries the listed terms come from, each with its key, SHA-256 digest and licence."}},"required":["digest","terms","lineage"],"additionalProperties":true,"description":"The ontology terms the answer used: the ontology digest, up to 50 term identifiers, the number of further terms, and the lineage (registry key, SHA-256 digest, licence) of the registries those terms come from. Nothing is inferred from free text."}},"required":["service","version"],"additionalProperties":true,"description":"The answer's metadata: the network that is the authority for the records, their publication state, provenance, coverage of the request's dimensions, review state and, where present, the method, replication data, links and the page cursor."}}}}}},"304":{"description":"Not modified: If-None-Match matched the strong ETag"},"400":{"description":"BAD_PAGE, BAD_QUERY, BAD_DIMENSION, BAD_REL, BAD_CURSOR, BAD_ID, BAD_JSON or BAD_BODY","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"401":{"description":"The Authorization header carries a credential this API does not accept (code INVALID_KEY): not an API key, not an access token, or one that is expired or revoked. Send no Authorization header for the open tier.","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer error=\"invalid_token\" (RFC 6750 section 3.1)"}},"content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"414":{"description":"The request address is longer than 8192 characters (code URI_TOO_LONG). A single query value over 4096 characters, more than 64 parameters or a path segment over 256 characters is refused with 400.","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"429":{"description":"RATE_LIMITED: open-tier limit; Retry-After says when to retry","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"500":{"description":"INTERNAL","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}}},"x-availability":"available","x-served-by":"risk-graph","x-shared-path":{"readOnly":true,"hostPrefix":"api"}}},"/v1/ontology/terms/{id}":{"get":{"operationId":"shared_risk_graph_ontology_get_term","summary":"One ontology term with its relationships","description":"A term by id (for example hazard:atmo.thermal.heatwave or indicator:nis:IND.MAC.output.gdp.usd), with its metric (unit, measure type, polarity; composite components and weights) and its relationships both ways: broader, trigger, amplify, compound-with, reduces, measures, component-of, covers-domain, crosswalk, uses-hazard.","tags":["Shared"],"parameters":[{"name":"id","in":"path","required":true,"description":"Term id in the ontology register: <kind>:<record id>, where the record id is an NHS-1 or NIS-1 id, a Nexus Standards id or an Index series code","schema":{"type":"string"}}],"responses":{"200":{"description":"Records with provenance","headers":{"ETag":{"description":"Strong ETag: the digest of the snapshot and index this answer was computed from (RFC 9110)","schema":{"type":"string"}},"Cache-Control":{"description":"public, max-age (snapshot reads)","schema":{"type":"string"}},"RateLimit-Policy":{"description":"The open-tier window (IETF RateLimit header fields draft)","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"id":{"type":"string","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"kind":{"type":"string"},"label":{"type":"string","description":"The display label of the item, in English."},"synonyms":{"type":"array","items":{"type":"string"},"description":"Other labels of the term, used for matching."},"description":{"type":"string"},"mapping":{"type":"object","properties":{},"additionalProperties":true},"certification":{"type":"string","description":"The certification state of the term or ontology, as the ontology records it."},"metric":{"type":["object","null"]},"relationships":{"type":"object","properties":{"out":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true},"description":"Relationships from this term to other terms, each with its target and kind."},"in":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true},"description":"Relationships from other terms to this term, each with its source and kind."}},"required":["out","in"],"additionalProperties":true}},"required":["id","kind","label","relationships"],"additionalProperties":true,"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."},"meta":{"type":"object","properties":{"service":{"type":"string","description":"The name of the service that produced the answer."},"version":{"type":"string","description":"The version of the service that produced the answer (semantic versioning)."},"authority":{"type":"string","description":"The network that is the single writer of these records (the authority table of the API architecture standard, section 3). Every other API holds projections only."},"state":{"type":"string","description":"The publication state of the answer: E when the records are published by their authority, D when the route is designed and its records are not yet published."},"untrusted":{"type":"array","items":{"type":"string"},"description":"The paths of the answer that carry a record's own words (text from a network or its contributors). A client, and the MCP adapter, treats these fields as data, never as instructions."},"provenance":{"type":"object","properties":{"repository":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"commit":{"type":"string","description":"The commit of the source repository the record was read from (a Git object id)."},"path":{"type":"string","description":"The path of the source file inside its repository, or the API path where the object is a route."},"sha256":{"type":"string","description":"The SHA-256 digest of the source file, hexadecimal. A changed digest means changed content."},"licence":{"type":"string","description":"The licence of the source, as an SPDX identifier where one exists. Reuse follows this licence, not the licence of the API."},"snapshotAt":{"type":"string","format":"date-time","description":"The time the source was captured, ISO 8601 in UTC. Every answer states it; the Risk Graph states the oldest among the sources it joined. Unit: ISO 8601 date-time."},"rule":{"type":"string","description":"The seed rule that derived a value the authority did not publish as a link"}},"required":["snapshotAt"],"additionalProperties":true,"description":"Where the records come from, in W3C PROV-O terms: the source repository, the commit, the file path, the SHA-256 digest of the file, its licence and the time of the snapshot."},"coverage":{"type":"object","properties":{"overall":{"type":"string","enum":["complete","partial","none"],"description":"The overall coverage of the request by the records held: complete, partial or none."},"dimensions":{"type":"object","additionalProperties":{"type":"string","enum":["complete","partial","none"]},"description":"Coverage per request dimension (industry, jurisdiction, hazard, indicator): what was asked and what the records hold."},"note":{"type":"string","description":"A note on the item that qualifies its reading, in English."}},"required":["overall"],"additionalProperties":true,"description":"How far the request's dimensions (industry, jurisdiction, hazard, indicator) are covered by the records held: complete, partial or none. A known code with no data answers coverage none, never an error."},"review":{"type":"string","description":"unreviewed until independent review is recorded through Standards due process"},"sources":{"type":"array","items":{"type":"object","properties":{"net":{"type":"string","description":"The network of the source."},"state":{"type":"string","enum":["ok","stale","unavailable"],"description":"The state of the source when the answer was built: ok, stale or unavailable."},"snapshotAt":{"type":["string","null"],"description":"The time the source was captured, ISO 8601 in UTC. Every answer states it; the Risk Graph states the oldest among the sources it joined. Unit: ISO 8601 date-time."},"digest":{"type":["string","null"],"description":"The digest of the snapshot or file, as sha256:<hex>. A changed digest means changed content."},"contributed":{"type":"boolean","description":"True when this network contributed records to the answer."},"reason":{"type":"string","description":"Why the source is stale or unavailable"}},"required":["net","state"],"additionalProperties":true},"description":"One entry per source joined in the answer, each with its state: ok, stale or unavailable. A slow or failing source is reported here; the answer is never silently partial."},"page":{"type":"object","properties":{"limit":{"type":"integer","description":"The number of records per page."},"offset":{"type":"integer","description":"The number of records skipped before this page (bounded snapshots only)."},"total":{"type":"integer","description":"The total number of items in the set the answer pages through."},"next":{"type":["string","null"],"description":"Cursor for the next page; also in the Link header (RFC 8288)"}},"additionalProperties":true,"description":"The pagination block: the opaque cursor of the next page and, on bounded snapshots, the total. The same cursor is sent in an RFC 8288 Link header."},"ranking":{"type":"object","properties":{"version":{"type":"string","description":"The version of the record, method or model (semantic versioning where the record declares it)."},"description":{"type":"string"}},"additionalProperties":true,"description":"How the results were ranked: the ranking version and its description. Ranking is deterministic, uses no model call and is explained per hit."},"replication":{"type":"object","properties":{"digest":{"type":"string","description":"The digest of the snapshot or file, as sha256:<hex>. A changed digest means changed content."},"methodVersion":{"type":"string","description":"The version of the method that produced the output."}},"additionalProperties":true,"description":"What is needed to reproduce a computed output: the inputs, the method version, the parameters and the snapshot digests."},"warnings":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"ontology":{"type":"object","properties":{"digest":{"type":"string","description":"The digest of the Risk Graph ontology the terms come from, as sha256:<hex>."},"terms":{"type":"array","items":{"type":"string"},"description":"Ontology term ids the answer used (GET /v1/ontology/terms/{id}), at most 50"},"more":{"type":"integer","description":"How many further terms the answer used beyond those listed."},"lineage":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The key of the source registry."},"sha256":{"type":"string","description":"The SHA-256 digest of the source file, hexadecimal. A changed digest means changed content."},"licence":{"type":"string","description":"The licence of the source, as an SPDX identifier where one exists. Reuse follows this licence, not the licence of the API."}},"required":["key","sha256"],"additionalProperties":true},"description":"The registries the listed terms come from, each with its key, SHA-256 digest and licence."}},"required":["digest","terms","lineage"],"additionalProperties":true,"description":"The ontology terms the answer used: the ontology digest, up to 50 term identifiers, the number of further terms, and the lineage (registry key, SHA-256 digest, licence) of the registries those terms come from. Nothing is inferred from free text."}},"required":["service","version"],"additionalProperties":true,"description":"The answer's metadata: the network that is the authority for the records, their publication state, provenance, coverage of the request's dimensions, review state and, where present, the method, replication data, links and the page cursor."}}}}}},"304":{"description":"Not modified: If-None-Match matched the strong ETag"},"400":{"description":"BAD_PAGE, BAD_QUERY, BAD_DIMENSION, BAD_REL, BAD_CURSOR, BAD_ID, BAD_JSON or BAD_BODY","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"401":{"description":"The Authorization header carries a credential this API does not accept (code INVALID_KEY): not an API key, not an access token, or one that is expired or revoked. Send no Authorization header for the open tier.","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer error=\"invalid_token\" (RFC 6750 section 3.1)"}},"content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"404":{"description":"NOT_FOUND, VERSION_NOT_IN_SNAPSHOT or NOT_YET_PUBLISHED","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"414":{"description":"The request address is longer than 8192 characters (code URI_TOO_LONG). A single query value over 4096 characters, more than 64 parameters or a path segment over 256 characters is refused with 400.","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"429":{"description":"RATE_LIMITED: open-tier limit; Retry-After says when to retry","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}},"500":{"description":"INTERNAL","content":{"application/problem+json":{"schema":{"type":"object","properties":{"type":{"type":"string","pattern":"^urn:therisk:problem:risk-graph:[a-z0-9_.-]+$","description":"urn:therisk:problem:<svc>:<code>"},"title":{"type":"string","description":"A short, human-readable summary of the problem type (RFC 9457 title)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"A human-readable explanation specific to this occurrence of the problem (RFC 9457 detail)."},"instance":{"type":"string","description":"A URI reference that identifies this occurrence of the problem (RFC 9457 instance)."},"code":{"type":"string","description":"A stable machine-readable code"},"retryAfter":{"type":"integer","description":"Seconds to wait before retrying, sent with a 429 or 503 answer; the same value as the Retry-After header. Unit: seconds."}},"required":["type","title","status","code"],"additionalProperties":true}}}}},"x-availability":"available","x-served-by":"risk-graph","x-shared-path":{"readOnly":true,"hostPrefix":"api"}}}},"components":{"schemas":{"Link":{"type":"object","required":["rel","target","targetNet","state"],"properties":{"rel":{"enum":["exactMatch","closeMatch","broadMatch","narrowMatch","relatedMatch","wasDerivedFrom","wasGeneratedBy","wasRevisionOf","obligates","implementsControl","measuredBy","observedBy","evidencedBy","requiresCompetency","financedBy","exercisedBy"],"description":"Controlled vocabulary: SKOS mapping relations, PROV-O, and the estate relations of contracts/graph/link-types.v1.json"},"target":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"targetNet":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"state":{"enum":["E","D"],"description":"E: target published; D: designed"},"confidence":{"type":"number","description":"The confidence attached to the value or mapping, as the source or method defines it."},"reviewed":{"const":false}}},"Provenance":{"type":"object","required":["repository","commit","path","sha256","licence","snapshotAt"],"properties":{"repository":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"commit":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"path":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"sha256":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"licence":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"snapshotAt":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}},"Coverage":{"type":"object","required":["status","records"],"properties":{"status":{"enum":["full","partial","none"]},"records":{"type":"integer","description":"The number of records held, or the records themselves where the field is a list."},"dimensions":{"type":"object","description":"The request dimensions the answer is filtered by: industry (ISIC Rev.5), jurisdiction (ISO 3166-1 alpha-3, UN M49 or a regime id), hazard (NHS-1) and indicator (NIS-1)."}},"description":"Per requested dimension, what could be honoured; none when no record answers"},"Page":{"type":"object","required":["limit","total"],"properties":{"limit":{"type":"integer","description":"The number of records per page."},"total":{"type":"integer","description":"The total number of items in the set the answer pages through."},"offset":{"type":"integer","description":"The number of records skipped before this page (bounded snapshots only)."},"next":{"type":["string","null"],"description":"Opaque cursor for the next page, snapshot-bound"},"prev":{"type":["string","null"]}}},"Meta":{"type":"object","required":["authority","state"],"properties":{"authority":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"state":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"provenance":{"oneOf":[{"$ref":"#/components/schemas/Provenance"},{"type":"array","items":{"$ref":"#/components/schemas/Provenance"}}],"description":"Where the record comes from, in W3C PROV-O terms: repository, commit, path, SHA-256 digest, licence, snapshot time and the source's own identifiers."},"coverage":{"$ref":"#/components/schemas/Coverage"},"review":{"type":["object","string"],"description":"The review state of the record: unreviewed until an independent review is recorded through the Nexus Standards due process."},"method":{"type":"object","description":"The method behind a computed output: its method card (purpose, inputs, equations, assumptions, limits, validation and version)."},"replication":{"type":"object","description":"What is needed to reproduce a computed output: the inputs, the method version, the parameters and the snapshot digests."},"page":{"$ref":"#/components/schemas/Page"},"service":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"version":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}},"additionalProperties":true},"Problem":{"type":"object","required":["type","title","status","code"],"properties":{"type":{"type":"string","pattern":"^(urn:therisk:problem:index-api:[a-z_]+|urn:therisk:problem:planned)$","description":"A URI reference that identifies the problem type (RFC 9457 type)."},"title":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"status":{"type":"integer","description":"The HTTP status code of this occurrence of the problem (RFC 9457 status)."},"detail":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"instance":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"code":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}},"additionalProperties":true},"Object":{"description":"A computed, descriptive or list answer that is not one record; its fields are documented in the route description"},"Review":{"type":"object","required":["status"],"properties":{"status":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"evidenceClass":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"note":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}},"Hazard":{"type":"object","required":["id","localId","type","label","domain","family","links"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"hazard"},"label":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"domain":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"family":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"aliases":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"definition":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"attributes":{"type":"object"},"standard":{"type":"object"},"review":{"$ref":"#/components/schemas/Review"},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"HazardDetail":{"allOf":[{"$ref":"#/components/schemas/Hazard"},{"type":"object","required":["relations","crosswalks"],"properties":{"relations":{"type":"object","required":["out","in"]},"crosswalks":{"type":"array"},"navigation":{"type":"array"}}}]},"HazardFamily":{"type":"object","required":["id","localId","type","label","links"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"hazard-family"},"label":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"domain":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"HazardDomain":{"type":"object","required":["id","localId","type","label","links"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"hazard-domain"},"label":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"hazardCount":{"type":"integer"},"families":{"type":"array","items":{"$ref":"#/components/schemas/HazardFamily"}},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"Indicator":{"type":"object","required":["id","localId","type","title","domain","links"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"localId":{"type":"string","pattern":"^nis:","description":"The record's identifier inside its network: the <local-id> part of the CURIE."},"type":{"const":"indicator"},"layer":{"enum":["IND","SUB","IDX"]},"title":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"domain":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"definition":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"polarity":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"crosswalks":{"type":"array"},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"IndicatorDomain":{"type":"object","required":["id","localId","type","code","label","links"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"indicator-domain"},"code":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"label":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"indicatorCount":{"type":"integer"},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"IndicatorDomainDetail":{"allOf":[{"$ref":"#/components/schemas/IndicatorDomain"},{"type":"object","properties":{"indicators":{"type":"array"},"subIndices":{"type":"array"}}}]},"Series":{"type":"object","required":["id","localId","type","code","family","title","links"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"series"},"code":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"family":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"title":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"Country":{"type":"object","required":["id","localId","type","iso3","name","links"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"country"},"iso3":{"type":"string","pattern":"^[A-Z]{3}$"},"iso2":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"name":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"region":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"CountryProfile":{"allOf":[{"$ref":"#/components/schemas/Country"},{"type":"object","required":["edition"],"properties":{"edition":{"type":"object"}}}]},"CountrySite":{"type":"object","required":["id","type","kind","links","country","coverage","resources"],"properties":{"country":{"$ref":"#/components/schemas/Country"},"coverage":{"type":"object","description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"resources":{"type":"array"}}},"MappingSet":{"type":"object","required":["id","localId","type","rows","links"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"mapping-set"},"title":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"rows":{"type":"integer"},"reviewedRows":{"const":0},"mappingDate":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"coverage":{"enum":["partial","none"],"description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"MappingRow":{"type":"object","required":["subject_id","predicate_id","object_id","mapping_justification","confidence","review","reviewed"],"properties":{"subject_id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"predicate_id":{"type":"string","pattern":"^skos:(exact|close|related|broad|narrow)Match$","description":"The mapping relation (SSSOM predicate_id): skos:exactMatch, skos:closeMatch, skos:broadMatch, skos:narrowMatch or skos:relatedMatch."},"object_id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"mapping_justification":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"confidence":{"type":"number","minimum":0,"maximum":1,"description":"The confidence attached to the value or mapping, as the source or method defines it."},"review":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"reviewed":{"const":false}}},"Match":{"type":"object","required":["scheme","id","curie","label","confidence"],"properties":{"scheme":{"enum":["hazard","indicator"]},"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"curie":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"label":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"confidence":{"type":"object","required":["value","basis","method","calibrated"],"properties":{"value":{"type":"number"},"basis":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"method":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"calibrated":{"const":false}},"description":"The confidence attached to the value or mapping, as the source or method defines it."}}},"ClassifyAnswer":{"type":"object","required":["input","matches","method"],"properties":{"input":{"type":"object"},"matches":{"type":"array","items":{"$ref":"#/components/schemas/Match"}},"method":{"type":"object","description":"The method behind a computed output: its method card (purpose, inputs, equations, assumptions, limits, validation and version)."},"replication":{"type":"object","description":"What is needed to reproduce a computed output: the inputs, the method version, the parameters and the snapshot digests."}}},"Subsite":{"type":"object","required":["id","localId","type","kind","code","links"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"subsite"},"kind":{"enum":["country","theme"]},"code":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"name":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"Edition":{"type":"object","required":["id","localId","type","released","links"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"edition"},"released":{"const":false},"state":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"EditionList":{"type":"object","required":["edition","released"],"properties":{"edition":{"$ref":"#/components/schemas/Edition"},"released":{"const":false},"releasedEditions":{"type":"array"}}},"Resolved":{"type":"object","required":["id","iri","authority","type","record","links","versions"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"iri":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"authority":{"type":"object","required":["net","service"],"description":"The network that is the single writer of the record (the authority table of the API architecture standard, section 3)."},"type":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"version":{"type":["string","null"],"description":"The version of the record, method or model (semantic versioning where the record declares it)."},"record":{"type":"object","required":["id","links"]},"links":{"type":"array","items":{"$ref":"#/components/schemas/Link"},"description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."},"route":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"versions":{"type":"object","required":["pinned","current","history"]}}},"SolutionManifest":{"type":"object","required":["schema","id","name","lead","steps","deliverables","state"],"properties":{"schema":{"const":"nexus.solution-manifest/v1"},"id":{"type":"string","pattern":"^SOL-[0-9]+$","description":"The record's global identifier: a CURIE <net>:<type>/<local-id>, resolvable at the Risk Graph resolver. Where the object is a code list entry, its code."},"lead":{"const":"index"},"steps":{"type":"array"},"deliverables":{"type":"array"},"state":{"const":"not-open"}}},"BuildResult":{"type":"object","required":["design","quality","results","replication","warnings"],"properties":{"design":{"type":"object"},"quality":{"type":"array"},"analysis":{"type":"object"},"results":{"type":"array"},"sensitivity":{"type":["object","null"]},"classes":{"type":["object","null"]},"replication":{"type":"object","required":["inputDigest","resultDigest","methodVersion"],"description":"What is needed to reproduce a computed output: the inputs, the method version, the parameters and the snapshot digests."},"warnings":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."}}},"RegisterResult":{"type":"object","required":["classifiedRegister","unmatched","mappingFile","coverageReport","replication"],"properties":{"classifiedRegister":{"type":"array"},"unmatched":{"type":"array"},"mappingFile":{"type":"object","required":["metadata","rows","tsv"]},"coverageReport":{"type":"object"},"replication":{"type":"object","description":"What is needed to reproduce a computed output: the inputs, the method version, the parameters and the snapshot digests."}}},"SolutionBuildResult":{"type":"object","required":["name","values","deliverables","design"],"properties":{"values":{"type":"array"},"deliverables":{"type":"object","required":["methodDocumentation","uncertaintyReport","valuesCsv","replicationDigest"]},"design":{"type":"object"}}},"DistributionResult":{"type":"object","required":["status","replication","statement"],"properties":{"status":{"enum":["shown","cannot-be-shown"]},"groups":{"type":"array"},"summary":{"type":"object","description":"A one-paragraph summary of the record, in English."},"replication":{"type":"object","description":"What is needed to reproduce a computed output: the inputs, the method version, the parameters and the snapshot digests."}}},"ThemeIndicatorSet":{"type":"object","required":["theme","pillars","counts"],"properties":{"theme":{"type":"object","required":["code","slug","series"]},"pillars":{"type":"array","items":{"type":"object","required":["domain","domainIndex","indicators"],"properties":{"domain":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"domainIndex":{"type":["string","null"]},"indicators":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Indicator"},{"type":"object","required":["effectiveWeight","countryLevel"]}]}}}}},"counts":{"type":"object","required":["pillars","indicators"],"description":"The number of records per class."}}},"ThemeFramework":{"type":"object","required":["theme","pillars","design","uncertainty","parameters","simplifications","buildRoute"],"properties":{"theme":{"type":"object"},"pillars":{"type":"array"},"design":{"type":"object","required":["normalisation","withinPillar","acrossPillars","weighting"]},"uncertainty":{"type":"object","required":["runs"],"description":"The uncertainty of a computed value: its interval or distribution and how it was derived."},"simplifications":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"buildRoute":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}},"ThemeCrosswalkRow":{"type":"object","required":["framework","set","subject_id","predicate_id","object_id","confidence","reviewed"],"properties":{"framework":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"set":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"subject_id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"predicate_id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"object_id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"confidence":{"type":"number","description":"The confidence attached to the value or mapping, as the source or method defines it."},"reviewed":{"const":false}}},"Contribution":{"type":"object","required":["id","localId","type","recordType","feature","summary","licence","selfReported","deidentified","review","provenance","links"],"properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"contribution"},"recordType":{"enum":["data-correction","source-suggestion","right-of-reply","local-observation"]},"kind":{"enum":["value-correction","data-offer","government-reply","local-observation"]},"feature":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"summary":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"place":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"adm":{"type":"object","required":["path","level"],"properties":{"path":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"level":{"type":"integer","minimum":1,"maximum":3},"code":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"boundaryDataset":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}},"subject":{"type":"object","properties":{"indicator":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"series":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"figureRef":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}},"description":"The subject the record is about, as a global identifier or a code."},"claim":{"type":"object","properties":{"value":{"type":["number","string"]},"unit":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"period":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"observedOn":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}},"description":"What the contributor states. Self-reported; never an Index value."},"source":{"type":"object","properties":{"title":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"url":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"licence":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}},"description":"The source of the item: its identifier, document or register row."},"entersIndex":{"const":false},"themes":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"licence":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"selfReported":{"type":"boolean"},"deidentified":{"const":true},"review":{"type":"object","required":["role","decision","date","activity"],"description":"The review state of the record: unreviewed until an independent review is recorded through the Nexus Standards due process."},"provenance":{"type":"object","required":["source","feature","reviewRole"],"description":"Where the record comes from, in W3C PROV-O terms: repository, commit, path, SHA-256 digest, licence, snapshot time and the source's own identifiers."},"label":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"links":{"type":"array","description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"IndustryRow":{"type":"object","required":["id","localId","type","code","level","title","coverage","indicators","hazards","pillars","subApis","href"],"properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"industry"},"code":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"level":{"enum":["section","division","group","class"]},"title":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"coverage":{"type":"object","required":["status"],"description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"indicators":{"type":"integer"},"hazards":{"type":"integer"},"pillars":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"subApis":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"needs":{"type":["string","null"]},"href":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}},"Industry":{"type":"object","required":["id","localId","type","code","level","title","section","coverage","mapping","indicators","hazards","builder","crosswalks","subApis","otherNetworks","gaps","links"],"properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"industry"},"code":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"level":{"enum":["section","division","group","class"]},"title":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"section":{"type":"object","required":["code","title"]},"coverage":{"type":"object","required":["status","dimensions"],"description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"mapping":{"type":"object","required":["basis","reviewed"]},"indicators":{"type":"object","required":["count","byDomain"]},"hazards":{"type":"object","required":["count","contexts"]},"gaps":{"type":"array","items":{"type":"object","required":["gap","needs"]},"description":"What the records do not cover. A gap is stated, never filled with an estimate."},"links":{"type":"array","description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"IndustryCrosswalkRow":{"type":"object","required":["subject","predicate","object","system","basis","partial"],"properties":{"subject":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"subjectTitle":{"type":["string","null"]},"predicate":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"object":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"objectTitle":{"type":["string","null"]},"system":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"basis":{"enum":["direct","chained"]},"via":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"partial":{"type":"boolean"},"notes":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."}}},"Participation":{"type":"object","required":["id","type","place","kinds","gaps","contributions","rules"],"description":"What can be contributed for a place and the place's known data gaps. A contribution is self-reported and never changes an Index value.","properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"participation"},"place":{"type":"object","required":["id","iso3","name","level"],"properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"iso3":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"name":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"level":{"type":"integer","minimum":0,"maximum":3},"adm":{"type":["object","null"]},"profile":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}},"kinds":{"type":"array","items":{"type":"object","required":["kind","feature","state","accepting","record","licence","consent","review","submission"],"properties":{"kind":{"enum":["value-correction","data-offer","government-reply","local-observation"]},"title":{"type":["string","null"],"description":"The title of the record, in English, as its authority publishes it."},"audience":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"feature":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"form":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"state":{"enum":["E","D"]},"accepting":{"type":"boolean"},"blockedBy":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"notHere":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"record":{"type":"object","required":["type","schema","requiredFields"],"properties":{"type":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"servedAs":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"schema":{"type":"object","required":["path","sha256"]},"requiredFields":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"oneOfFields":{"type":"array","items":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."}},"neverPublished":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."}}},"licence":{"type":"object","required":["choices"],"properties":{"choices":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"terms":{"type":["object","null"]}},"description":"The licence of the source, as an SPDX identifier where one exists. Reuse follows this licence, not the licence of the API."},"consent":{"type":"object","properties":{"lawfulBasis":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"ref":{"type":["string","null"]}}},"review":{"type":"object","required":["steps"],"properties":{"steps":{"type":"array","items":{"type":"object","required":["step","roles"],"properties":{"step":{"enum":["screen","review","decide"]},"roles":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."}}}},"councilDecision":{"type":"boolean"}},"description":"The review state of the record: unreviewed until an independent review is recorded through the Nexus Standards due process."},"submission":{"type":["object","null"],"description":"Null when the kind takes no submission for this place (its feature is designed, or the kind does not apply here)"}}}},"gaps":{"type":"object","required":["from","coverage","sections"],"properties":{"from":{"type":"object","description":"The start of the period or the origin of the transition."},"coverage":{"type":"object","description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"sections":{"type":"array","items":{"type":"object","required":["section","coverage","expected","held","gaps"],"properties":{"section":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"coverage":{"enum":["none","partial","complete"],"description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"expected":{"type":"integer"},"held":{"type":"integer"},"gaps":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."}}}},"withheld":{"type":"array"},"note":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}},"description":"What the records do not cover. A gap is stated, never filled with an estimate."},"contributions":{"type":"object","required":["href","published"],"properties":{"href":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"published":{"type":"integer"},"inside":{"type":"integer"}}},"rules":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."}}},"JurisdictionRow":{"type":"object","required":["id","localId","type","kind","code","name","coverage","corrections","contributions","href"],"properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"jurisdiction"},"kind":{"enum":["country","region","regime"]},"code":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"name":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"members":{"type":["integer","null"]},"coverage":{"type":"object","required":["status"],"description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"corrections":{"type":"integer"},"contributions":{"type":"integer"},"needs":{"type":["string","null"]},"href":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}},"ProfileValue":{"type":"object","required":["measure","label","section","value","unit","vintage","method","licence","binding","source"],"properties":{"measure":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"label":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"section":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"value":{"type":"number"},"unit":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"vintage":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"method":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"licence":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"binding":{"enum":["nis-crosswalk","declared","source-label","none"]},"nis":{"type":["object","null"],"properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"riskComponent":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"relation":{"enum":["exactMatch","closeMatch"]}}},"source":{"type":"object","required":["record","path","sha256"],"properties":{"record":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"path":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"sha256":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"dataset":{"type":"object"}},"description":"The source of the item: its identifier, document or register row."}}},"ProfileSection":{"type":"object","required":["coverage","expected","held","values","items","gaps"],"properties":{"coverage":{"enum":["none","partial","complete"],"description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"expected":{"type":"integer"},"held":{"type":"integer"},"values":{"type":"array","items":{"$ref":"#/components/schemas/ProfileValue"}},"items":{"type":"array","items":{"type":"object","required":["label","net","rel","scope","source"]}},"gaps":{"type":"array","items":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"description":"What the records do not cover. A gap is stated, never filled with an estimate."}}},"ScienceEnvelope":{"title":"Risk answer v1 (the science envelope)","description":"The scientific output contract of the estate (D-1124-SCI1). Every API answer, MCP tool result and published figure that states a risk carries one envelope beside its data, at the top-level key `science`. Every field except contract, summary, knowledge, provenance and coverage is optional: a field the record cannot supply is left out, never invented. Where a field is present its rules hold: an estimate always says how uncertain it is and whether it was calibrated, a non-risk knowledge state names what is unknown, a causal claim names the causal method behind it, a threshold names its source. The tradition behind each field is in docs/blueprints/science-contract.md.","type":"object","required":["contract","summary","knowledge","provenance","coverage"],"additionalProperties":false,"properties":{"contract":{"const":"risk-answer/v1","description":"The contract id and major version."},"question":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/question"},"framing":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/framing"},"components":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/components"},"estimate":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/estimate"},"knowledge":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/knowledge"},"systemic":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/systemic"},"provenance":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/provenance"},"coverage":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/coverage"},"quality":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/quality"},"decisionUse":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/decisionUse"},"summary":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/summary"}},"$defs":{"text":{"type":"string","minLength":1,"maxLength":2000},"isoDate":{"type":"string","pattern":"^[0-9]{4}(-[0-9]{2}(-[0-9]{2}(T[0-9:.]+(Z|[+-][0-9]{2}:[0-9]{2}))?)?)?$","description":"ISO 8601 date or date-time; a year or year-month is allowed for a vintage."},"ref":{"type":"string","minLength":1,"maxLength":500,"description":"A record id, CURIE, URN, DOI or URL."},"question":{"type":"object","description":"What is asked (Kaplan and Garrick's first step: a risk is an answer to a question).","required":["text"],"additionalProperties":false,"properties":{"text":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"},"scope":{"type":"object","description":"The coverage dimensions of the question, in the standard parameter names (risk-dimensions).","additionalProperties":false,"properties":{"industry":{"type":"array","items":{"type":"string"}},"jurisdiction":{"type":"array","items":{"type":"string"}},"hazard":{"type":"array","items":{"type":"string"}},"indicator":{"type":"array","items":{"type":"string"}},"theme":{"type":"array","items":{"type":"string"}},"period":{"type":"object","additionalProperties":false,"properties":{"from":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/isoDate"},"to":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/isoDate"}}}}}}},"framing":{"type":"object","description":"The Kaplan and Garrick triplet: risk as the set of (scenario, likelihood, consequence).","required":["triplets"],"additionalProperties":false,"properties":{"triplets":{"type":"array","minItems":1,"items":{"type":"object","required":["scenario"],"additionalProperties":false,"properties":{"id":{"type":"string"},"scenario":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text","description":"What can happen."},"hazards":{"type":"array","items":{"type":"string"},"description":"NHS-1 hazard ids the scenario starts from."},"likelihood":{"type":"object","description":"How likely: a probability, frequency or return period when the record has one, else a statement of why it is not quantified.","additionalProperties":false,"properties":{"kind":{"enum":["probability","annual-frequency","return-period","exceedance","not-quantified"]},"value":{"type":"number"},"unit":{"type":"string"},"per":{"type":"string","description":"The exposure window, e.g. year."},"estimateRef":{"const":"estimate","description":"The likelihood is the envelope's estimate."},"note":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"}},"if":{"properties":{"kind":{"const":"not-quantified"}},"required":["kind"]},"then":{"required":["note"],"not":{"required":["value"]}}},"consequence":{"type":"object","description":"What the outcome is if it happens, in a stated unit.","additionalProperties":false,"properties":{"text":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"},"unit":{"type":"string"},"value":{"type":"number"},"estimateRef":{"const":"estimate"}}}}}}}},"crosswalk":{"type":"object","description":"The indicator's ids in the Sendai Framework monitor, the IPCC risk framework and INFORM where a published mapping exists; else state not-mapped with the reason. An id is never guessed.","required":["state"],"additionalProperties":false,"properties":{"state":{"enum":["mapped","not-mapped"]},"sendai":{"type":"array","items":{"type":"string"}},"ipcc":{"type":"array","items":{"type":"string"}},"inform":{"type":"array","items":{"type":"string"}},"source":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/ref","description":"The published crosswalk the ids come from."},"reason":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"}},"if":{"properties":{"state":{"const":"mapped"}}},"then":{"required":["source"],"anyOf":[{"required":["sendai"]},{"required":["ipcc"]},{"required":["inform"]}]},"else":{"required":["reason"]}},"indicator":{"type":"object","required":["id"],"additionalProperties":false,"properties":{"id":{"type":"string","description":"NIS-1 or NHS-1 id (risk-dimensions), or the source's own id."},"label":{"type":"string"},"unit":{"type":"string"},"value":{"type":"number"},"vintage":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/isoDate"},"source":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/ref"},"crosswalk":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/crosswalk"}}},"component":{"type":"object","additionalProperties":false,"properties":{"indicators":{"type":"array","items":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/indicator"}},"note":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"}}},"components":{"type":"object","description":"Hazard, exposure, vulnerability and capacity (White and Burton; Blaikie, Cannon, Davis and Wisner; Cutter; Sendai, IPCC AR5/AR6 and INFORM).","additionalProperties":false,"minProperties":1,"properties":{"hazard":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/component"},"exposure":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/component"},"vulnerability":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/component"},"capacity":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/component"}}},"uncertainty":{"type":"object","description":"How uncertain the estimate is. posterior: a Bayesian credible interval; conformal: a distribution-free prediction interval with a coverage guarantee; expert-range: an elicited range; not-quantified: no interval exists and the reason says why.","required":["type"],"additionalProperties":false,"properties":{"type":{"enum":["posterior","conformal","expert-range","not-quantified"]},"interval":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"minItems":2,"maxItems":2},"level":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1,"description":"Nominal level of the interval, e.g. 0.9."},"method":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/ref","description":"The method record that produced the interval."},"reason":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"}},"if":{"properties":{"type":{"const":"not-quantified"}}},"then":{"required":["reason"],"not":{"required":["interval"]}},"else":{"required":["interval","level","method"]}},"calibration":{"type":"object","description":"Evidence that the method's stated uncertainty held on past outcomes: a proper scoring rule and the empirical coverage over a period. Without that evidence the state is uncalibrated.","required":["state"],"additionalProperties":false,"properties":{"state":{"enum":["calibrated","uncalibrated"]},"score":{"type":"object","required":["rule","value"],"additionalProperties":false,"properties":{"rule":{"enum":["crps","brier","log","interval","weighted-interval","energy","quantile"]},"value":{"type":"number"},"n":{"type":"integer","minimum":1},"reference":{"type":"number","description":"The score of a stated reference forecast, for skill."}}},"coverage":{"type":"object","required":["nominal","empirical","n"],"additionalProperties":false,"properties":{"nominal":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1},"empirical":{"type":"number","minimum":0,"maximum":1},"n":{"type":"integer","minimum":1}}},"period":{"type":"object","required":["from","to"],"additionalProperties":false,"properties":{"from":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/isoDate"},"to":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/isoDate"}}},"evidence":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/ref","description":"The backtest or validation record."},"reason":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"}},"if":{"properties":{"state":{"const":"calibrated"}}},"then":{"required":["period","evidence"],"anyOf":[{"required":["score"]},{"required":["coverage"]}]},"else":{"not":{"anyOf":[{"required":["score"]},{"required":["coverage"]}]}}},"estimate":{"type":"object","description":"The figure. Its uncertainty and calibration are required: a number without them is false precision.","required":["value","unit","scale","uncertainty","calibration"],"additionalProperties":false,"properties":{"value":{"type":"number"},"unit":{"type":"string","minLength":1},"scale":{"enum":["raw","normalised","index"]},"scaleNote":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text","description":"For normalised and index: the range and direction, e.g. 0 to 10, higher is more risk."},"quantity":{"enum":["probability","frequency","loss","count","share","index","score","other"],"description":"What kind of quantity the value is."},"tail":{"type":"object","description":"Tail statistics where the method fits a tail (extreme value theory): return levels, exceedance, tail index.","additionalProperties":false,"properties":{"method":{"enum":["gev","gpd-pot","empirical","other"]},"returnPeriod":{"type":"number","exclusiveMinimum":0},"shape":{"type":"number","description":"GEV or GPD shape (xi)."},"var":{"type":"number"},"es":{"type":"number"},"level":{"type":"number","exclusiveMinimum":0,"exclusiveMaximum":1}}},"naturalFrequency":{"type":"object","description":"The same probability as a count out of a reference class (Gigerenzer and Hoffrage), when the record states a reference class.","required":["count","outOf","referenceClass"],"additionalProperties":false,"properties":{"count":{"type":"number","minimum":0},"outOf":{"type":"integer","minimum":1},"referenceClass":{"type":"string","minLength":1}}},"uncertainty":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/uncertainty"},"calibration":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/calibration"}},"allOf":[{"if":{"properties":{"scale":{"enum":["normalised","index"]}}},"then":{"required":["scaleNote"]}}]},"knowledge":{"type":"object","description":"Knight's distinction: risk (outcomes and probabilities known), uncertainty (outcomes known, probabilities not), ignorance (outcomes not all known). Aven's strength of knowledge where judged.","required":["state"],"additionalProperties":false,"properties":{"state":{"enum":["risk","uncertainty","ignorance"]},"unknowns":{"type":"array","items":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"}},"strength":{"enum":["strong","moderate","weak"]},"basis":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"}},"if":{"properties":{"state":{"enum":["uncertainty","ignorance"]}}},"then":{"required":["unknowns"],"properties":{"unknowns":{"minItems":1}}}},"systemic":{"type":"object","description":"Systemic links (Renn; IRGC): Risk Graph relations from this answer to other sectors, jurisdictions, hazards and records, in the controlled link vocabulary.","required":["links"],"additionalProperties":false,"properties":{"links":{"type":"array","items":{"type":"object","required":["rel","target"],"additionalProperties":false,"properties":{"rel":{"enum":["exactMatch","closeMatch","broadMatch","narrowMatch","relatedMatch","wasDerivedFrom","wasGeneratedBy","wasRevisionOf","obligates","implementsControl","measuredBy","observedBy","evidencedBy","requiresCompetency","financedBy","addresses","exercisedBy","standardisedBy","taughtBy","governedBy","issuedUnder","appliesIn","coveredBy"]},"target":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/ref"},"targetNet":{"type":"string"},"dimension":{"enum":["sector","jurisdiction","hazard","indicator","record"]},"label":{"type":"string"},"basis":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text","description":"Why the link holds: the published field it comes from."}}}},"note":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"}}},"source":{"type":"object","required":["id"],"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/ref"},"title":{"type":"string"},"steward":{"type":"string","description":"The institution that stewards the source."},"licence":{"type":"string"},"vintage":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/isoDate"},"url":{"type":"string"},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"}}},"provenance":{"type":"object","description":"Where the answer comes from (W3C PROV in spirit): the source records, the method and model with versions, the vintage, the licence and the steward.","required":["sources","generatedAt"],"additionalProperties":false,"properties":{"sources":{"type":"array","items":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/source"}},"method":{"type":"object","required":["id"],"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/ref"},"name":{"type":"string"},"version":{"type":"string"},"state":{"type":"string","description":"e.g. draft, expert-review-required, released."}}},"model":{"type":"object","required":["id","version"],"additionalProperties":false,"properties":{"id":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/ref"},"version":{"type":"string"},"structure":{"type":"array","items":{"enum":["hazard","exposure","vulnerability","financial"]},"description":"The catastrophe-model modules the model has."}}},"vintage":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/isoDate"},"licence":{"type":"string"},"steward":{"type":"string"},"generatedAt":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/isoDate"},"service":{"type":"string"}}},"coverage":{"type":"object","required":["state"],"additionalProperties":false,"properties":{"state":{"enum":["full","partial","none"]},"records":{"type":"integer","minimum":0},"gaps":{"type":"array","items":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"}},"note":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"}},"if":{"properties":{"state":{"enum":["partial","none"]}}},"then":{"anyOf":[{"required":["note"]},{"required":["gaps"]}]}},"quality":{"type":"object","required":["flags"],"additionalProperties":false,"properties":{"flags":{"type":"array","items":{"type":"object","required":["flag"],"additionalProperties":false,"properties":{"flag":{"enum":["draft-method","expert-review-required","stale","imputed","proxy","modelled","small-sample","placeholder","scope-unreviewed","single-source","coverage-partial"]},"note":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"}}}}}},"decisionUse":{"type":"object","description":"What the answer is for: thresholds with their source, and what an action would change. A causal effect is stated only with the causal method that backs it (Pearl; Rubin; Hernan and Robins); otherwise the claim is associational or none.","additionalProperties":false,"properties":{"thresholds":{"type":"array","items":{"type":"object","required":["name","value","source"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"value":{"type":"number"},"unit":{"type":"string"},"source":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/ref"},"crossed":{"type":"boolean"}}}},"interventions":{"type":"array","items":{"type":"object","required":["action","claim"],"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"},"effect":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/text"},"claim":{"enum":["causal","associational","none"]},"method":{"type":"object","required":["kind","ref"],"additionalProperties":false,"properties":{"kind":{"enum":["randomised-trial","natural-experiment","difference-in-differences","synthetic-control","regression-discontinuity","instrumental-variable","structural-causal-model","g-methods"]},"ref":{"$ref":"#/components/schemas/ScienceEnvelope/$defs/ref"}}}},"if":{"properties":{"claim":{"const":"causal"}}},"then":{"required":["method","effect"]}}}}},"summary":{"type":"object","description":"Two or three plain sentences: the answer, how uncertain it is, and what is not known. No hype. Agents read it first.","required":["text","lang"],"additionalProperties":false,"properties":{"text":{"type":"string","minLength":20,"maxLength":600},"lang":{"type":"string","pattern":"^[a-z]{2,3}(-[A-Za-z0-9]+)*$"}}}}},"JurisdictionProfile":{"type":"object","required":["schema","id","iso3","name","adm","composite","sections","coverage"],"properties":{"schema":{"const":"nexus.index.jurisdiction-profile/v1"},"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"iso3":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"name":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"adm":{"type":["object","null"]},"boundary":{"type":["object","null"]},"composite":{"type":"object","required":["released"],"properties":{"released":{"const":false}}},"sections":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ProfileSection"}},"coverage":{"type":"object","required":["expected","held","share","sources"],"description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"children":{"type":["object","null"]},"withheld":{"type":"array"}}},"AdmUnit":{"type":"object","required":["id","path","level","name","parent","href"],"properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"path":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"level":{"enum":[1,2,3]},"name":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"code":{"type":["string","null"]},"parent":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"href":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}},"ProfileComparison":{"type":"object","required":["places","rows"],"properties":{"places":{"type":"array"},"rows":{"type":"array","items":{"type":"object","required":["measure","label","unit","section","places"]}}}},"ProfilesEdition":{"type":"object","required":["edition","counts","inputs","files"],"properties":{"edition":{"type":"string","pattern":"^idx-[0-9a-f]{20}$"},"publishedAt":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"counts":{"type":"object","description":"The number of records per class."},"inputs":{"type":"object"},"files":{"type":"object"},"maps":{"type":["object","null"]},"composite":{"type":"object"}}},"ProfilesFile":{"type":"object","required":["iso3","kind","bytes","records","sha256","href","credits"],"properties":{"iso3":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"kind":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"bytes":{"type":"integer"},"records":{"type":"integer","description":"The number of records held, or the records themselves where the field is a list."},"sha256":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"href":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"credits":{"type":"object"}}},"ProfilesQueryResult":{"type":"object","required":["rows","missingCountries"],"properties":{"rows":{"type":"array","items":{"type":"object","required":["measure","unit","agg","value","n","sources"]}},"missingCountries":{"type":"array","items":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}}},"Jurisdiction":{"type":"object","required":["id","localId","type","kind","code","name","coverage","holds","otherNetworks","gaps","links"],"properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"localId":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"const":"jurisdiction"},"kind":{"enum":["country","region","regime"]},"code":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"name":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"members":{"type":["object","null"]},"coverage":{"type":"object","required":["status","dimensions"],"description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"holds":{"type":"object","required":["places","indicators","hazards","corrections","contributions"]},"gaps":{"type":"array","items":{"type":"object","required":["gap","needs"]},"description":"What the records do not cover. A gap is stated, never filled with an estimate."},"links":{"type":"array","description":"The record's typed links: each with rel (a controlled relation), target (a global identifier), targetNet (the network of the target) and state (E published, D designed)."}}},"OgcDocument":{"type":"object","description":"An OGC API document (landing page, conformance, collections, FeatureCollection or Feature): the shape is the OGC one, not the envelope"},"BulkCollections":{"type":"object","required":["collections"],"properties":{"collections":{"type":"array","items":{"type":"object","required":["id","summary","route","formats","stream","manifest"],"properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"summary":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"route":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"formats":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"stream":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"manifest":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}}}}},"BulkManifest":{"type":"object","required":["collection","summary","route","formats","snapshot","pageSize","maxRecords","licence"],"properties":{"collection":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"summary":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"route":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"formats":{"type":"array","items":{"type":"string"},"description":"Warnings about the request or the answer, for example a code that is valid in form but holds no data. The answer is still given."},"snapshot":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"pageSize":{"type":"integer","description":"The number of records per page of the bulk export."},"maxRecords":{"type":"integer","description":"The largest number of records one bulk export returns."},"licence":{"type":["string","null"],"description":"The licence of the source, as an SPDX identifier where one exists. Reuse follows this licence, not the licence of the API."},"records":{"type":["integer","null"],"description":"The number of records held, or the records themselves where the field is a list."}}},"WebhookDocument":{"type":"object","description":"The kit webhook answer: { data, meta } with the subscription (never its secret, except once on create and rotate) or its deliveries"},"CloudEvent":{"type":"object","required":["specversion","id","source","type","subject","time","datacontenttype","data"],"properties":{"specversion":{"const":"1.0","description":"The CloudEvents specification version of the event (1.0)."},"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"source":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"type":"string","pattern":"^index\\.[a-z-]+\\.(created|updated|corrected|withdrawn)$"},"subject":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"time":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"datacontenttype":{"const":"application/json","description":"The media type of the event's data."},"data":{"type":"object","required":["id","sha256","provenance"],"description":"The records of the answer. A list for collection routes, a single record for item routes. Every record carries its global identifier and its typed links."}}},"CloudEventBatch":{"type":"array","items":{"$ref":"#/components/schemas/CloudEvent"}},"Federation":{"type":"object","required":["network","authorityTypes","idPattern","resolve","search","neighbours","changes","mcp","snapshot"],"properties":{"network":{"const":"index","description":"The network that is the authority for the record."},"authorityTypes":{"type":"array"},"idPattern":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"resolve":{"type":"object"},"search":{"type":"object"},"neighbours":{"type":"object"},"changes":{"type":"object"},"mcp":{"type":"object","description":"The MCP server and tool that serve the same data: the endpoint, the tool name and its arguments."},"snapshot":{"type":"object","required":["digest","snapshotAt"],"description":"The snapshot the answer was read from: its identifier and digest."}}},"MethodCard":{"type":"object","required":["id","purpose","inputs","equations","assumptions","limits","validation","version","review"],"properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"purpose":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"inputs":{"type":"array"},"equations":{"type":"array"},"assumptions":{"type":"array"},"limits":{"type":"array","description":"The stated limits of the record or method: what it does not cover and must not be used for."},"validation":{"type":"object"},"version":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"review":{"type":"object","description":"The review state of the record: unreviewed until an independent review is recorded through the Nexus Standards due process."}}},"SearchHit":{"type":"object","required":["id","type","label","score","why"],"properties":{"id":{"type":"string","pattern":"^[a-z]+:[a-z-]+/[^@\\s]+$","description":"The record's CURIE index:<type>/<local-id>"},"type":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"label":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"score":{"type":"number"},"why":{"type":"array"}}},"SubApi":{"type":"object","required":["id","kind","code","operations","tools","coverage","state"],"properties":{"id":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"kind":{"enum":["country","theme"]},"code":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"operations":{"type":"integer"},"tools":{"type":"integer"},"coverage":{"type":"object","description":"How far the requested dimensions are covered by the records held: complete, partial or none, with the counts per dimension where given."},"state":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}},"ProblemCatalogueEntry":{"type":"object","required":["code","type","status","title","meaning"],"properties":{"code":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"type":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"status":{"type":"integer"},"title":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."},"meaning":{"type":"string","description":"The source repository of the record (a URL or an owner/name)."}}}},"securitySchemes":{"passport":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"NXS Passport access token (RFC 9068 JWT), verified against the issuer's OIDC discovery. Writes are off while PASSPORT_ISSUER is unset."},"apiKey":{"type":"http","scheme":"bearer","description":"An API key (nxk_ and 40 characters) sent as a Bearer credential. Optional: the open tier needs none; a key raises the rate limit and is refused with 401 when it is not valid."}},"responses":{"InvalidCredential":{"description":"The Authorization header carries a credential this API does not accept (code INVALID_KEY): not an API key, not an access token, or one that is expired or revoked. Send no Authorization header for the open tier.","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"Bearer error=\"invalid_token\" (RFC 6750 section 3.1)"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"AddressTooLong":{"description":"The request address is longer than 8192 characters (code URI_TOO_LONG). A single query value over 4096 characters, more than 64 parameters or a path segment over 256 characters is refused with 400.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"tags":[{"name":"Shared","description":"Paths this domain also answers, served by the service named in x-served-by."}],"security":[{},{"apiKey":[]}],"x-product-surface":{"problems":[]}}