{
  "openapi": "3.1.0",
  "info": {
    "title": "Observatory Protocol API: Observation and Data Trust",
    "version": "0.5.0",
    "summary": "Make sensor, field and remote observations trustworthy, comparable and correctable: schemas and validation, industry observation profiles, attestation and provenance verification, data-quality checks and self-declared registers, with provenance, coverage and links on every answer. The open protocol's institutional records are under /v1/obp/org/*.",
    "description": "Namespace obp, version 0.4.0. Every record carries its authority, state, licence and the repository, commit, path and SHA-256 of its source. A schema check or self-test is a self-assessment against a draft, never a conformance claim. A crosswalk is a mapping. Nothing here is a rating, advice, certification or compliance claim. The protocol names no company.",
    "contact": {
      "name": "GCRI Canada, steward, for the Nexus Consortium"
    },
    "license": {
      "name": "Data: per record (meta.provenance.licence); code: Apache-2.0"
    }
  },
  "servers": [
    {
      "url": "https://api.observatory.global"
    }
  ],
  "x-moves": [
    {
      "from": "/v1/spec",
      "to": "/v1/obp/org/spec"
    },
    {
      "from": "/v1/spec/{section}",
      "to": "/v1/obp/org/spec/{section}"
    },
    {
      "from": "/v1/functions",
      "to": "/v1/obp/org/functions"
    },
    {
      "from": "/v1/functions/{id}",
      "to": "/v1/obp/org/functions/{id}"
    },
    {
      "from": "/v1/profiles?kind=",
      "to": "/v1/obp/org/conformance-profiles",
      "note": "A request with kind, or with the id of a conformance profile (obsp-node and the others), is redirected. /v1/profiles now serves the industry observation profiles."
    },
    {
      "from": "/v1/profiles/{conformance id}",
      "to": "/v1/obp/org/conformance-profiles/{id}"
    },
    {
      "from": "/v1/cases",
      "to": "/v1/obp/org/cases"
    },
    {
      "from": "/v1/changes (source listing)",
      "to": "/v1/sources",
      "note": "v0.4: /v1/changes is now the CloudEvents change feed; the list of source files and commits is /v1/sources (tool obp.sources). No redirect: the path is reused."
    },
    {
      "from": "/v1/oips",
      "to": "/v1/obp/org/oips"
    },
    {
      "from": "/v1/oips/{id}",
      "to": "/v1/obp/org/oips/{id}"
    },
    {
      "from": "/v1/alignment",
      "to": "/v1/obp/org/alignment"
    },
    {
      "from": "/v1/conformance/self-test",
      "to": "/v1/obp/org/conformance/self-test",
      "note": "POST, 308 keeps the method"
    },
    {
      "from": "/v1/declarations",
      "to": "/v1/obp/org/declarations",
      "note": "POST, 308 keeps the method"
    }
  ],
  "x-deprecations": [
    {
      "from": "/v1/spec",
      "to": "/v1/obp/org/spec",
      "since": "2026-11-22T00:00:00Z",
      "sunset": "2027-11-22T00:00:00Z"
    },
    {
      "from": "/v1/spec/{section}",
      "to": "/v1/obp/org/spec/{section}",
      "since": "2026-11-22T00:00:00Z",
      "sunset": "2027-11-22T00:00:00Z"
    },
    {
      "from": "/v1/functions",
      "to": "/v1/obp/org/functions",
      "since": "2026-11-22T00:00:00Z",
      "sunset": "2027-11-22T00:00:00Z"
    },
    {
      "from": "/v1/functions/{id}",
      "to": "/v1/obp/org/functions/{id}",
      "since": "2026-11-22T00:00:00Z",
      "sunset": "2027-11-22T00:00:00Z"
    },
    {
      "from": "/v1/cases",
      "to": "/v1/obp/org/cases",
      "since": "2026-11-22T00:00:00Z",
      "sunset": "2027-11-22T00:00:00Z"
    },
    {
      "from": "/v1/oips",
      "to": "/v1/obp/org/oips",
      "since": "2026-11-22T00:00:00Z",
      "sunset": "2027-11-22T00:00:00Z"
    },
    {
      "from": "/v1/oips/{id}",
      "to": "/v1/obp/org/oips/{id}",
      "since": "2026-11-22T00:00:00Z",
      "sunset": "2027-11-22T00:00:00Z"
    },
    {
      "from": "/v1/alignment",
      "to": "/v1/obp/org/alignment",
      "since": "2026-11-22T00:00:00Z",
      "sunset": "2027-11-22T00:00:00Z"
    },
    {
      "from": "/v1/conformance/self-test",
      "to": "/v1/obp/org/conformance/self-test",
      "note": "POST, 308 keeps the method",
      "since": "2026-11-22T00:00:00Z",
      "sunset": "2027-11-22T00:00:00Z"
    },
    {
      "from": "/v1/declarations",
      "to": "/v1/obp/org/declarations",
      "note": "POST, 308 keeps the method",
      "since": "2026-11-22T00:00:00Z",
      "sunset": "2027-11-22T00:00:00Z"
    }
  ],
  "x-renamed-tools": {
    "obp.register_find": "obs.register_find",
    "obp.register_list": "obs.register_list",
    "obp.changes (source listing, v0.3)": "obp.sources"
  },
  "paths": {
    "/v1/status": {
      "get": {
        "operationId": "obp_status",
        "summary": "Counts and state of every capability",
        "description": "What the service holds, with the state of each route. Nothing designed is described as available. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.status",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/StatusData"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/sources": {
      "get": {
        "operationId": "obp_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 /v1/changes, which is now the change feed.) State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.sources",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ChangesData"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        },
        "x-moved-from": "/v1/changes (source listing)"
      }
    },
    "/v1/changes": {
      "get": {
        "operationId": "obp_changes",
        "summary": "Change feed (CloudEvents 1.0 batches)",
        "description": "Events <net>.<type>.created, updated, corrected and withdrawn, derived deterministically from the diff of the record index against the previous release baseline, each with its provenance block. Accept application/cloudevents-batch+json (the default) returns the batch array; Accept application/json returns the {data, meta} envelope. Filter with since (event time), type and subject. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.changes",
        "parameters": [
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: events after it",
            "schema": {
              "type": "string"
            },
            "example": "2026-01-01"
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Event type, e.g. obp.profile.created",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subject",
            "in": "query",
            "required": false,
            "description": "A CURIE obp:<type>/<local id>, or a prefix such as obp:profile/",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ChangeEvent"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/cloudevents-batch+json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChangeEvent"
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_SINCE",
                            "BAD_TYPE",
                            "BAD_SUBJECT",
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_SINCE",
              "BAD_TYPE",
              "BAD_SUBJECT",
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "since": "2026-01-01"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/obp/org/spec": {
      "get": {
        "operationId": "obp_spec_index",
        "summary": "Specification index",
        "description": "Version, status, steward, licences and the numbered sections of the draft specification, each with its source path and digest in the estate page inventory. State: exists.",
        "tags": [
          "org",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.spec_index",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SpecIndex"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        },
        "x-moved-from": "/v1/spec"
      }
    },
    "/v1/obp/org/spec/{section}": {
      "get": {
        "operationId": "obp_spec_clause",
        "summary": "One specification clause",
        "description": "Clause text, verbatim at the vendored pin of the protocol repository: a section by slug or number (7), or a subsection by number (5.1), with its subsections and SHA-256. State: exists.",
        "tags": [
          "org",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.spec_clause",
        "parameters": [
          {
            "name": "section",
            "in": "path",
            "required": true,
            "description": "Section slug (e.g. conformance) or number (e.g. 7)",
            "schema": {
              "type": "string"
            },
            "example": "conformance"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SpecClause"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "section": "conformance"
          },
          "expectStatus": 200
        },
        "x-moved-from": "/v1/spec/{section}"
      }
    },
    "/v1/obp/org/functions": {
      "get": {
        "operationId": "obp_function_list",
        "summary": "The twelve protocol functions",
        "description": "Join to Exit with maturity exactly as recorded (CONTRACTED or OPEN_GAP) and the gap id of each open function. State: exists.",
        "tags": [
          "org",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.function_list",
        "parameters": [
          {
            "name": "maturity",
            "in": "query",
            "required": false,
            "description": "CONTRACTED or OPEN_GAP",
            "schema": {
              "type": "string"
            },
            "example": "OPEN_GAP"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/FunctionRecord"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_FILTER",
                            "BAD_PAGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_FILTER",
              "BAD_PAGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "maturity": "OPEN_GAP"
          },
          "expectStatus": 200
        },
        "x-moved-from": "/v1/functions"
      }
    },
    "/v1/obp/org/functions/{id}": {
      "get": {
        "operationId": "obp_function_get",
        "summary": "One protocol function",
        "description": "A function with clause number where recorded, maturity and gap id. State: exists.",
        "tags": [
          "org",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.function_get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Function id, e.g. join",
            "schema": {
              "type": "string"
            },
            "example": "join"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/FunctionRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "id": "join"
          },
          "expectStatus": 200
        },
        "x-moved-from": "/v1/functions/{id}"
      }
    },
    "/v1/obp/org/conformance-profiles": {
      "get": {
        "operationId": "obp_profile_list",
        "summary": "Conformance profiles, overlay and proposed profiles",
        "description": "The five profiles, the OBSP-SOV overlay and the proposed profiles (labelled PROPOSED), with the conformance levels. A level is never a certification. State: exists.",
        "tags": [
          "org",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.profile_list",
        "parameters": [
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "description": "profile, overlay or proposed-profile",
            "schema": {
              "type": "string"
            },
            "example": "profile"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ProfileRecord"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_FILTER",
                            "BAD_PAGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_FILTER",
              "BAD_PAGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "kind": "profile"
          },
          "expectStatus": 200
        },
        "x-moved-from": "/v1/profiles?kind="
      }
    },
    "/v1/obp/org/conformance-profiles/{id}": {
      "get": {
        "operationId": "obp_profile_get",
        "summary": "One conformance profile",
        "description": "A profile with its state and source pointer. State: exists.",
        "tags": [
          "org",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.profile_get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Profile id, e.g. obsp-node",
            "schema": {
              "type": "string"
            },
            "example": "obsp-node"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ProfileRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "id": "obsp-node"
          },
          "expectStatus": 200
        },
        "x-moved-from": "/v1/profiles/{conformance id}"
      }
    },
    "/v1/obp/org/cases": {
      "get": {
        "operationId": "obp_case_list",
        "summary": "Conformance cases (index only)",
        "description": "The conformance case identifiers per profile with source pointers. Case bodies are not in the snapshot. State: exists.",
        "tags": [
          "org",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.case_list",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Profile code, e.g. OBSP-NODE",
            "schema": {
              "type": "string"
            },
            "example": "OBSP-NODE"
          },
          {
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CaseRecord"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "profile": "OBSP-NODE"
          },
          "expectStatus": 200
        },
        "x-moved-from": "/v1/cases"
      }
    },
    "/v1/schemas": {
      "get": {
        "operationId": "obp_schema_search",
        "summary": "Protocol schemas",
        "description": "The vendored protocol schemas (JSON Schema 2020-12, CC BY 4.0). Draft protocol 0.1.0; a schema check is a self-assessment, never a conformance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.schema_search",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms",
            "schema": {
              "type": "string"
            },
            "example": "observation"
          },
          {
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SchemaSummary"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "q": "observation"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/schemas/{name}": {
      "get": {
        "operationId": "obp_schema_get",
        "summary": "One protocol schema",
        "description": "The full JSON Schema document. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.schema_get",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "description": "Schema name, e.g. observation-record",
            "schema": {
              "type": "string"
            },
            "example": "observation-record"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/JsonSchemaDocument"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "name": "observation-record"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/schemas/{name}/export": {
      "get": {
        "operationId": "obp_schema_export",
        "summary": "A schema in a standard export format",
        "description": "json-schema (as published), openapi-components (OpenAPI 3.1 components.schemas entry) or mcp-input-schema (MCP 2026-07-28 inputSchema). State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.schema_export",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "description": "Schema name",
            "schema": {
              "type": "string"
            },
            "example": "observation-record"
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "json-schema (default), openapi-components or mcp-input-schema",
            "schema": {
              "type": "string"
            },
            "example": "openapi-components"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SchemaExport"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_FORMAT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_FORMAT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "name": "observation-record"
          },
          "query": {
            "format": "openapi-components"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/schemas/{name}/validate": {
      "post": {
        "operationId": "obp_validate",
        "summary": "Check a document against a protocol schema",
        "description": "Returns valid and the list of errors; nothing is stored. Draft protocol 0.1.0; a schema check is a self-assessment, never a conformance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.validate",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "description": "Schema name",
            "schema": {
              "type": "string"
            },
            "example": "time-quality"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ValidateResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {}
                }
              }
            }
          }
        },
        "x-example": {
          "path": {
            "name": "time-quality"
          },
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/registers": {
      "get": {
        "operationId": "obs_register_list",
        "summary": "Registers",
        "description": "The four public lists (implementations, declarations, verifiers, bridges; all empty) and the specification registers with their entries at the vendored pin. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.register_list",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/RegisterRow"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/bulk": {
      "get": {
        "operationId": "GET_v1_bulk",
        "summary": "Bulk export: the exportable collections",
        "description": "Each collection is one list route of this API that can be streamed whole as NDJSON from the pinned snapshot, with its summary, route, licence as the API states it and the routes of its stream and manifest. Open reads need no key. Stream mode only: no storage, no second copy; a job mode is designed (needs the owner's decision on object storage). State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/BulkCollection"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/bulk/{collection}": {
      "get": {
        "operationId": "GET_v1_bulk_collection_",
        "summary": "Bulk export: stream one collection as NDJSON",
        "description": "The records of the collection's own list route, one JSON record per line, paged internally, so the export is exactly what the API serves (the same records, withholding and provenance). The ETag is the snapshot digest: If-None-Match of it answers 304, If-Match of another digest answers 412 SNAPSHOT_CHANGED; ?skip=<records already received> resumes a cut stream. The caller's Authorization is passed to the route, so a route that needs a sign-in still needs it. Not an MCP tool: it streams. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "description": "Collection id from GET /v1/bulk",
            "schema": {
              "type": "string"
            },
            "example": "profiles"
          },
          {
            "name": "skip",
            "in": "query",
            "required": false,
            "description": "Records already received (resume a cut stream)",
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "ndjson (the only format built)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/x-ndjson": {
                "schema": {
                  "$ref": "#/components/schemas/BulkRecord"
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INVALID_REQUEST"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INVALID_REQUEST"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "412": {
            "description": "Refusal",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SNAPSHOT_CHANGED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SNAPSHOT_CHANGED"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "collection": "profiles"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/bulk/{collection}/manifest": {
      "get": {
        "operationId": "GET_v1_bulk_collection_manifest",
        "summary": "Bulk export: describe one collection",
        "description": "The collection's route, the snapshot digest, the page size, the record ceiling, the formats, the licence of its records as the API states it and, when the route reports a total, the record count. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "description": "Collection id from GET /v1/bulk",
            "schema": {
              "type": "string"
            },
            "example": "profiles"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "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 as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "collection": "profiles"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/registers/{id}/lists": {
      "get": {
        "operationId": "obp_register_lists",
        "summary": "The lists a register holds",
        "description": "Every list of a register at the vendored pin with its row count, the rows withheld (a row that names a party this network does not publish) and the route to read it. Read-only: no live log is consulted. MCP tool obp.register_lists. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.register_lists",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Register id, e.g. spec-gateways",
            "schema": {
              "type": "string"
            },
            "example": "spec-gateways"
          },
          {
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/RegisterList"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "id": "spec-gateways"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/registers/{id}/entries": {
      "get": {
        "operationId": "obs_register_find",
        "summary": "Entries of one register",
        "description": "A public list answers its entries (none yet); with OBP_BACKEND_URL set the live list is read server side. A specification register (id spec-<name>) answers its entries verbatim at the vendored pin of the protocol repository. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.register_find",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "implementations, declarations, verifiers or bridges, or a specification register (spec-gateways, spec-participants, spec-relations, spec-policies, spec-deployment-environments, spec-requirements, spec-requirement-gaps, spec-functions, spec-conformance-profiles)",
            "schema": {
              "type": "string"
            },
            "example": "implementations"
          },
          {
            "name": "list",
            "in": "query",
            "required": false,
            "description": "A specification register: the list to read (GET /v1/registers/{id}/lists names them); default the register's first list",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "ISIC Rev.5 code",
            "schema": {
              "type": "string"
            },
            "example": "A"
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 or UN M49",
            "schema": {
              "type": "string"
            },
            "example": "CAN"
          },
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Observation profile id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms: a specification register keeps the rows whose JSON contains them",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hazard",
            "in": "query",
            "required": false,
            "description": "NHS-1 id: a family (atmo.thermal) or a hazard (atmo.thermal.heatwave)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "NIS-1 id (nis:IND...) or a three-letter NIS-1 domain code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: records updated since",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/RegisterEntry"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION",
                            "BAD_LIST",
                            "STALE_CURSOR",
                            "BAD_HAZARD",
                            "BAD_INDICATOR",
                            "BAD_SINCE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "BAD_INDUSTRY",
              "BAD_JURISDICTION",
              "BAD_LIST",
              "STALE_CURSOR",
              "BAD_HAZARD",
              "BAD_INDICATOR",
              "BAD_SINCE"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BACKEND_CONNECTION_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BACKEND_CONNECTION_OFF"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "path": {
            "id": "implementations"
          },
          "query": {
            "industry": "A",
            "jurisdiction": "CAN"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/obp/org/oips": {
      "get": {
        "operationId": "obp_oip_find",
        "summary": "Observatory improvement proposals",
        "description": "OIP drafts with status DRAFT as the proposals state it. The count is unverified (recount at one commit pending); no proposal is accepted. State: exists.",
        "tags": [
          "org",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.oip_find",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms (id)",
            "schema": {
              "type": "string"
            },
            "example": "oip-0006"
          },
          {
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/OipRecord"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "q": "oip-0006"
          },
          "expectStatus": 200
        },
        "x-moved-from": "/v1/oips"
      }
    },
    "/v1/obp/org/oips/{id}": {
      "get": {
        "operationId": "obp_oip_get",
        "summary": "One improvement proposal",
        "description": "A proposal pointer: id, status, source path and digest. State: exists.",
        "tags": [
          "org",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.oip_get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Proposal id, e.g. oip-0006",
            "schema": {
              "type": "string"
            },
            "example": "oip-0006"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/OipRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "id": "oip-0006"
          },
          "expectStatus": 200
        },
        "x-moved-from": "/v1/oips/{id}"
      }
    },
    "/v1/obp/org/alignment": {
      "get": {
        "operationId": "obp_alignment",
        "summary": "Crosswalk to external specifications",
        "description": "Mappings from protocol concepts and schemas to W3C, IETF, OGC, WMO and other specifications, each target with publisher, identifier and date. A mapping, never a conformance or certification claim. State: exists.",
        "tags": [
          "org",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.alignment",
        "parameters": [
          {
            "name": "schema",
            "in": "query",
            "required": false,
            "description": "Schema name to filter by",
            "schema": {
              "type": "string"
            },
            "example": "observation-record"
          },
          {
            "name": "target",
            "in": "query",
            "required": false,
            "description": "Target id, e.g. sosa-ssn",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/AlignmentRow"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "schema": "observation-record"
          },
          "expectStatus": 200
        },
        "x-moved-from": "/v1/alignment"
      }
    },
    "/v1/obp/org/conformance/self-test": {
      "post": {
        "operationId": "obp_self_test",
        "summary": "Self-test a document set against a profile",
        "description": "The conformance runner's own suite run (OBP_RUNNER_URL, allow-listed): { profile, evidence: [{ path, document }] } gives the runner's ConformanceReport unchanged, so it is identical to obsp conformance run, capped at SELF_TESTED. Designed for this network until a runner is configured (503 SERVICE_NOT_CONFIGURED). A self-assessment against the draft, never a conformance claim. State: designed (typed refusal until built).",
        "tags": [
          "org",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.self_test",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SelfTestResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_REFUSED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_REFUSED"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "profile": "OBSP-NODE",
                    "evidence": [
                      {
                        "path": "example.json",
                        "document": {}
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 503
        },
        "x-moved-from": "/v1/conformance/self-test"
      }
    },
    "/v1/obp/org/declarations": {
      "post": {
        "operationId": "obp_declare",
        "summary": "Declare an implementation",
        "description": "A self-assessed declaration (level DECLARED or SELF_TESTED, never certification): { claim, report? }, the claim signed by the implementer, forwarded to the reference registry (OBP_REGISTRY_URL), which verifies the signatures and answers the record with a log receipt (verified here). Needs an NXS Passport bearer token; WRITES_OFF until PASSPORT_ISSUER is set; SERVICE_NOT_CONFIGURED until a registry is configured. State: designed (typed refusal until built).",
        "tags": [
          "write"
        ],
        "x-public": false,
        "x-state": "D",
        "x-mcp-tool": "obp.declare",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/DeclareResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "401": {
            "description": "Passport bearer token missing or invalid",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "AUTH_REQUIRED",
                            "INVALID_TOKEN"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "AUTH_REQUIRED",
              "INVALID_TOKEN"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_REFUSED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_REFUSED"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WRITES_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WRITES_OFF"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "security": [
          {
            "passport": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {}
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 501
        },
        "x-moved-from": "/v1/declarations"
      }
    },
    "/v1/resolve/{id}": {
      "get": {
        "operationId": "obp_resolve",
        "summary": "Resolve an identifier of this network",
        "description": "A CURIE obp:<type>/<local id> (URL-encoded), optionally pinned with @<version>, gives the record, its links and a version list. An unknown pin answers 404 VERSION_NOT_IN_SNAPSHOT, never the latest version silently; a withdrawn identifier answers 410 and is never reused. The Risk Graph resolves other networks' identifiers. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.resolve",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "CURIE, e.g. obp:profile/water or obp:method/quality-checks@0.4.0 (URL-encode the slash and colon in a tool call)",
            "schema": {
              "type": "string"
            },
            "example": "obp:profile/water"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ResolveAnswer"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_ID"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_ID"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND",
                            "VERSION_NOT_IN_SNAPSHOT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND",
              "VERSION_NOT_IN_SNAPSHOT"
            ]
          },
          "410": {
            "description": "Withdrawn: the identifier is never reused",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WITHDRAWN"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WITHDRAWN"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "id": "obp:profile/water"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/search": {
      "get": {
        "operationId": "obp_search",
        "summary": "Search this network's records",
        "description": "Deterministic keyword search (no model call) over profiles, properties, schemas, functions, conformance profiles, cases, proposals, registers, crosswalk rows, engines, method cards, sources and the solution, with an explanation per hit. The Risk Graph federates search through this route. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.search",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms: every term must match",
            "schema": {
              "type": "string"
            },
            "example": "temperature"
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Record type: profile, property, schema, function, conformance-profile, case, oip, register, crosswalk, engine, method, source or solution",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "ISIC Rev.5 code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 or UN M49",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hazard",
            "in": "query",
            "required": false,
            "description": "NHS-1 id: a family (atmo.thermal) or a hazard (atmo.thermal.heatwave)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "NIS-1 id (nis:IND...) or a three-letter NIS-1 domain code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: records updated since",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SearchHit"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION",
                            "BAD_TYPE",
                            "BAD_PAGE",
                            "STALE_CURSOR",
                            "BAD_HAZARD",
                            "BAD_INDICATOR",
                            "BAD_SINCE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INDUSTRY",
              "BAD_JURISDICTION",
              "BAD_TYPE",
              "BAD_PAGE",
              "STALE_CURSOR",
              "BAD_HAZARD",
              "BAD_INDICATOR",
              "BAD_SINCE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "q": "temperature"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/federation": {
      "get": {
        "operationId": "obp_federation",
        "summary": "Federation descriptor (read by the Risk Graph)",
        "description": "Authority record types, id pattern, resolve route template, search route, neighbours source, changes route, MCP catalogue (the network and every sub-API), sub-APIs with coverage, and the snapshot digest and snapshotAt. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.federation",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/FederationDescriptor"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/context.jsonld": {
      "get": {
        "operationId": "obp_context",
        "summary": "The JSON-LD context",
        "description": "The @context every application/ld+json answer refers to: SKOS, PROV-O, schema.org, DCAT 3 and SOSA/SSN, with the estate vocabulary. No identifier host is invented: the CURIE is canonical and its web form is the Risk Graph resolver, https://graph.therisk.global/v1/resolve/<curie>. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.context",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonLdContext"
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/observations/jsonld": {
      "post": {
        "operationId": "obs_observation_jsonld",
        "summary": "An observation record as a SOSA/SSN observation (JSON-LD)",
        "description": "Restates a protocol observation record as a sosa:Observation in JSON-LD (observed property, sensor, simple result, phenomenon and result time, GeoJSON geometry, uncertainty, evidencedBy). It maps what the record states and validates nothing. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.observation_jsonld",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ObservationJsonLd"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT",
                            "BAD_JSON"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT",
              "BAD_JSON"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ObsValidateBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "observationUni": "obs:example:0001",
                    "systemUni": "sys:example:station1",
                    "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                    "phenomenonTime": "2026-06-01T10:00:00Z",
                    "resultTime": "2026-06-01T10:00:05Z",
                    "unit": "Cel",
                    "result": 18.2,
                    "geometry": {
                      "type": "Point",
                      "coordinates": [
                        36.8,
                        -1.3
                      ]
                    },
                    "evidenceRefs": [
                      {
                        "uri": "urn:example:evidence:1",
                        "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/methods": {
      "get": {
        "operationId": "obp_method_list",
        "summary": "Method cards",
        "description": "Every computed output links a method card generated from code: purpose, inputs, equations, assumptions, limits, validation (golden cases, each published or a hand derivation) and how uncertainty is treated. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.method_list",
        "parameters": [
          {
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/MethodSummary"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/methods/{id}": {
      "get": {
        "operationId": "obp_method_get",
        "summary": "One method card",
        "description": "The card of one method with its sources. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.method_get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Method id, e.g. quality-checks",
            "schema": {
              "type": "string"
            },
            "example": "quality-checks"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "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 as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "id": "quality-checks"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/profiles": {
      "get": {
        "operationId": "obs_profile_list",
        "summary": "Industry observation profiles",
        "description": "Designed profiles over the protocol's observation-record for agriculture, utilities, water, mining, ports and logistics, health, insurance claims, space weather, indoor environment (accommodation, real estate, education) and construction. Filter by ISIC Rev.5 industry code and by jurisdiction (ISO 3166-1 alpha-3 or UN M49). A profile is a design, never a conformance level. Draft protocol 0.1.0; a schema check is a self-assessment, never a conformance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.profile_list",
        "parameters": [
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "ISIC Rev.5 code: section A to V, division 01, group 011 or class 0111",
            "schema": {
              "type": "string"
            },
            "example": "A"
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 (CAN) or UN M49 (M49:150 or 150)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "solution",
            "in": "query",
            "required": false,
            "description": "Solution id (SOL-25, SOL-32, SOL-33, SOL-06) to list the profiles that contribute observations to it",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hazard",
            "in": "query",
            "required": false,
            "description": "NHS-1 id: a family (atmo.thermal) or a hazard (atmo.thermal.heatwave)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "NIS-1 id (nis:IND...) or a three-letter NIS-1 domain code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: records updated since",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ObsProfileSummary"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION",
                            "BAD_PAGE",
                            "STALE_CURSOR",
                            "BAD_HAZARD",
                            "BAD_INDICATOR",
                            "BAD_SINCE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INDUSTRY",
              "BAD_JURISDICTION",
              "BAD_PAGE",
              "STALE_CURSOR",
              "BAD_HAZARD",
              "BAD_INDICATOR",
              "BAD_SINCE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "industry": "A"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/profiles/for": {
      "get": {
        "operationId": "obs_profile_for",
        "summary": "Which observation profiles apply to an industry",
        "description": "The profiles whose ISIC Rev.5 section or divisions cover the industry code, with coverage metadata. A valid code no profile covers answers an empty list and coverage none, never a guess. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.profile_for",
        "parameters": [
          {
            "name": "industry",
            "in": "query",
            "required": true,
            "description": "ISIC Rev.5 code",
            "schema": {
              "type": "string"
            },
            "example": "01"
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 or UN M49",
            "schema": {
              "type": "string"
            },
            "example": "CAN"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ObsProfileSummary"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION",
                            "MISSING_PARAM",
                            "BAD_PAGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INDUSTRY",
              "BAD_JURISDICTION",
              "MISSING_PARAM",
              "BAD_PAGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "industry": "01",
            "jurisdiction": "CAN"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/industries": {
      "get": {
        "operationId": "obp_industries",
        "summary": "Industries: what the network holds for each ISIC Rev.5 section",
        "description": "All 22 ISIC Rev.5 sections A to V, each with the observation profiles tied to it by their own ISIC scope, the engines, the checks, the gaps, and per-dimension coverage (complete, partial or none). A section with no profile answers coverage none with its needs; nothing is padded. MCP tool obp.industries. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.industries",
        "parameters": [
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "ISIC Rev.5 code: keeps the section that contains it",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3, M49 code or regime id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "coverage",
            "in": "query",
            "required": false,
            "description": "complete, partial or none",
            "schema": {
              "type": "string"
            },
            "example": "partial"
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hazard",
            "in": "query",
            "required": false,
            "description": "NHS-1 id: a family (atmo.thermal) or a hazard (atmo.thermal.heatwave)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "NIS-1 id (nis:IND...) or a three-letter NIS-1 domain code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: records updated since",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/IndustryRow"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION",
                            "BAD_HAZARD",
                            "BAD_INDICATOR",
                            "BAD_SINCE",
                            "BAD_COVERAGE",
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INDUSTRY",
              "BAD_JURISDICTION",
              "BAD_HAZARD",
              "BAD_INDICATOR",
              "BAD_SINCE",
              "BAD_COVERAGE",
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "coverage": "partial"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/industries/{isic}": {
      "get": {
        "operationId": "obp_industry",
        "summary": "One industry: section, division, group or class",
        "description": "The observation view of an ISIC Rev.5 industry: the profiles tied to it (each with the basis of the tie), observed properties, quality checks, engines, hazard families and indicator domains, regulatory pointers (UNVERIFIED), per-dimension coverage and the gaps with the data or decision each needs. A class also carries its NACE Rev.2 and NAICS 2022 crosswalk from risk-dimensions. An industry with no profile answers coverage none and the designed contract. MCP tool obp.industry. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.industry",
        "parameters": [
          {
            "name": "isic",
            "in": "path",
            "required": true,
            "description": "ISIC Rev.5 code: section A to V, division 01, group 011 or class 0111",
            "schema": {
              "type": "string"
            },
            "example": "B"
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3, M49 code or regime id: adds inJurisdiction, what applies to this industry in that place",
            "schema": {
              "type": "string"
            },
            "example": "CAN"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "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 as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INDUSTRY",
              "BAD_JURISDICTION"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "isic": "B"
          },
          "query": {
            "jurisdiction": "CAN"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/jurisdictions": {
      "get": {
        "operationId": "obp_jurisdictions",
        "summary": "Jurisdictions: what the network holds for a place",
        "description": "The M49 countries and areas (ISO 3166-1 alpha-3), the M49 regions and the regimes of risk-dimensions, each with its coverage. Every observation profile applies in every place (physical properties, UCUM units and data rules); only regime pointers (UNVERIFIED) and designed thresholds are place-specific, named as gaps. Nothing is padded. MCP tool obp.jurisdictions. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.jurisdictions",
        "parameters": [
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3, M49 code or regime id: keeps that place",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "ISIC Rev.5 code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "description": "country, region or regime",
            "schema": {
              "type": "string"
            },
            "example": "regime"
          },
          {
            "name": "coverage",
            "in": "query",
            "required": false,
            "description": "complete, partial or none",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hazard",
            "in": "query",
            "required": false,
            "description": "NHS-1 id: a family (atmo.thermal) or a hazard (atmo.thermal.heatwave)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "NIS-1 id (nis:IND...) or a three-letter NIS-1 domain code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: records updated since",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/JurisdictionRow"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION",
                            "BAD_HAZARD",
                            "BAD_INDICATOR",
                            "BAD_SINCE",
                            "BAD_KIND",
                            "BAD_COVERAGE",
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INDUSTRY",
              "BAD_JURISDICTION",
              "BAD_HAZARD",
              "BAD_INDICATOR",
              "BAD_SINCE",
              "BAD_KIND",
              "BAD_COVERAGE",
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "kind": "regime"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/jurisdictions/{code}": {
      "get": {
        "operationId": "obp_jurisdiction",
        "summary": "One jurisdiction: country, M49 region or regime",
        "description": "The observation view of a place: the profiles that apply (all, universally), the units and data rules, the regime pointers that name it (each UNVERIFIED, never a statement of what a regime requires), the regimes it belongs to where risk-dimensions verified the membership, per-dimension coverage and the gaps with the data or decision each needs. MCP tool obp.jurisdiction. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.jurisdiction",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "required": true,
            "description": "ISO 3166-1 alpha-3 (KEN), M49 code (014 or M49:014) or regime id (eu)",
            "schema": {
              "type": "string"
            },
            "example": "DEU"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "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 as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JURISDICTION"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JURISDICTION"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "code": "DEU"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/profiles/{id}": {
      "get": {
        "operationId": "obs_profile_get",
        "summary": "One observation profile",
        "description": "Properties (observed-property IRI, UCUM unit, allowed units, physical bounds), geometry and uncertainty rules, regulatory-context pointers (all UNVERIFIED), sources, niche engine, and typed links to NHS-1 hazard families and NIS-1 indicators of the Standards network. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.profile_get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Profile id, e.g. water",
            "schema": {
              "type": "string"
            },
            "example": "water"
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "ISIC Rev.5 code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 or UN M49",
            "schema": {
              "type": "string"
            },
            "example": "CAN"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ObsProfile"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INDUSTRY",
              "BAD_JURISDICTION"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "id": "water"
          },
          "query": {
            "jurisdiction": "CAN"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/profiles/{id}/schema": {
      "get": {
        "operationId": "obs_profile_schema",
        "summary": "The JSON Schema of a profile",
        "description": "A JSON Schema 2020-12 document layering the profile over the vendored observation-record (allOf). The rules JSON Schema cannot state are applied by POST /v1/validate. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.profile_schema",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string"
            },
            "example": "agriculture"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/JsonSchemaDocument"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "id": "agriculture"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/properties": {
      "get": {
        "operationId": "obs_property_find",
        "summary": "Find observed properties",
        "description": "Observed properties across the profiles with IRI, UCUM unit and bounds. A CF Standard Name IRI was checked against CF table version 95; a profile-local URN is a design with no external vocabulary entry. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.property_find",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms",
            "schema": {
              "type": "string"
            },
            "example": "temperature"
          },
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Profile id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "ISIC Rev.5 code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 or UN M49",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hazard",
            "in": "query",
            "required": false,
            "description": "NHS-1 id: a family (atmo.thermal) or a hazard (atmo.thermal.heatwave)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "NIS-1 id (nis:IND...) or a three-letter NIS-1 domain code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: records updated since",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hazard",
            "in": "query",
            "required": false,
            "description": "NHS-1 id: a family (atmo.thermal) or a hazard (atmo.thermal.heatwave)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "NIS-1 id (nis:IND...) or a three-letter NIS-1 domain code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: records updated since",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/PropertyRow"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION",
                            "BAD_PAGE",
                            "STALE_CURSOR",
                            "BAD_HAZARD",
                            "BAD_INDICATOR",
                            "BAD_SINCE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INDUSTRY",
              "BAD_JURISDICTION",
              "BAD_PAGE",
              "STALE_CURSOR",
              "BAD_HAZARD",
              "BAD_INDICATOR",
              "BAD_SINCE"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "q": "temperature"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/units/check": {
      "get": {
        "operationId": "obs_unit_check",
        "summary": "Check a UCUM unit and convert",
        "description": "Parses a UCUM expression (UCUM 2.2, a stated subset of the atom table), returns its dimension and SI factor, and with compare and value converts between commensurable units. An atom outside the subset answers UNKNOWN_ATOM, never invalid. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.unit_check",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "required": true,
            "description": "UCUM code, e.g. mm/h",
            "schema": {
              "type": "string"
            },
            "example": "Cel"
          },
          {
            "name": "compare",
            "in": "query",
            "required": false,
            "description": "A second UCUM code to compare with",
            "schema": {
              "type": "string"
            },
            "example": "[degF]"
          },
          {
            "name": "value",
            "in": "query",
            "required": false,
            "description": "A number to convert from code to compare",
            "schema": {
              "type": "number"
            },
            "example": "20"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UnitCheck"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "MISSING_PARAM",
                            "BAD_VALUE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "MISSING_PARAM",
              "BAD_VALUE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "query": {
            "code": "Cel",
            "compare": "[degF]",
            "value": "20"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/validate": {
      "post": {
        "operationId": "obs_validate",
        "summary": "Validate an observation under an industry profile",
        "description": "Checks one observation record (or {observations:[...]} up to 200) against the vendored observation-record schema and the profile: observed-property IRI, UCUM unit and dimension, physical bounds, ISO 8601 time, RFC 7946 geometry, GUM uncertainty shape. Each issue carries a code and its basis. Nothing is stored. Draft protocol 0.1.0; a schema check is a self-assessment, never a conformance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.validate",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": true,
            "description": "Profile id, e.g. water",
            "schema": {
              "type": "string"
            },
            "example": "water"
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "ISIC Rev.5 code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 or UN M49",
            "schema": {
              "type": "string"
            },
            "example": "CAN"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ValidateReport"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "MISSING_PARAM",
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION",
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "MISSING_PARAM",
              "BAD_INDUSTRY",
              "BAD_JURISDICTION",
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ObsValidateBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "schemaVersion": "3.1.0",
                    "observationUni": "obs:example:0001",
                    "systemUni": "sys:example:station1",
                    "observedProperty": "https://vocab.nerc.ac.uk/standard_name/water_surface_height_above_reference_datum/",
                    "phenomenonTime": "2026-06-01T10:00:00Z",
                    "resultTime": "2026-06-01T10:00:05Z",
                    "unit": "cm",
                    "result": 154.2,
                    "geometry": {
                      "type": "Point",
                      "coordinates": [
                        -75.7,
                        45.4
                      ]
                    },
                    "uncertainty": {
                      "kind": "expanded",
                      "value": 0.5,
                      "coverageFactor": 2,
                      "coverageProbability": 0.95
                    },
                    "evidenceRefs": [
                      {
                        "uri": "https://example.invalid/evidence/1",
                        "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "query": {
            "profile": "water",
            "jurisdiction": "CAN"
          },
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/quality/check": {
      "post": {
        "operationId": "obs_quality_check",
        "summary": "Data-quality checks over a series",
        "description": "Runs the protocol test codes RANGE (physical bounds from the profile), STEP (a limit you give), PERSISTENCE (repeated values), SPIKE (Hampel identifier), COMPLETENESS (gaps against the expected interval) and TIME_INTEGRITY over observations, grouped by system, property and unit. Returns a protocol quality flag per observation and the series metrics. Computed from your data; nothing is stored. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.quality_check",
        "parameters": [
          {
            "name": "profile",
            "in": "query",
            "required": false,
            "description": "Profile id, for the RANGE bounds",
            "schema": {
              "type": "string"
            },
            "example": "agriculture"
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "ISIC Rev.5 code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 or UN M49",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/QualityReport"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION",
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INDUSTRY",
              "BAD_JURISDICTION",
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QualityBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "observations": [
                      {
                        "observationUni": "obs:example:0",
                        "systemUni": "sys:example:field1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T00:00:00Z",
                        "resultTime": "2026-06-01T00:00:30Z",
                        "unit": "Cel",
                        "result": 12.1
                      },
                      {
                        "observationUni": "obs:example:1",
                        "systemUni": "sys:example:field1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T01:00:00Z",
                        "resultTime": "2026-06-01T01:00:30Z",
                        "unit": "Cel",
                        "result": 12.4
                      },
                      {
                        "observationUni": "obs:example:2",
                        "systemUni": "sys:example:field1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T02:00:00Z",
                        "resultTime": "2026-06-01T02:00:30Z",
                        "unit": "Cel",
                        "result": 12.9
                      },
                      {
                        "observationUni": "obs:example:3",
                        "systemUni": "sys:example:field1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T03:00:00Z",
                        "resultTime": "2026-06-01T03:00:30Z",
                        "unit": "Cel",
                        "result": 41.5
                      },
                      {
                        "observationUni": "obs:example:4",
                        "systemUni": "sys:example:field1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T04:00:00Z",
                        "resultTime": "2026-06-01T04:00:30Z",
                        "unit": "Cel",
                        "result": 13.6
                      },
                      {
                        "observationUni": "obs:example:5",
                        "systemUni": "sys:example:field1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T05:00:00Z",
                        "resultTime": "2026-06-01T05:00:30Z",
                        "unit": "Cel",
                        "result": 14.1
                      }
                    ],
                    "options": {
                      "spikeWindow": 5,
                      "spikeThreshold": 5
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "query": {
            "profile": "agriculture"
          },
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/attest/verify": {
      "post": {
        "operationId": "obs_attest_verify",
        "summary": "Verify digests, a signature and an attestation result",
        "description": "Recomputes digests of content you supply (sha256, sha384, sha512), verifies a detached signature (Ed25519 or ES256) against a public JWK you supply, checks the evidenceRefs digests of an observation against evidence you supply, and checks the shape and time window of an attestation result. Never fetches a URI, holds no trust anchor and makes no trust decision (RFC 9334 leaves appraisal to the relying party). Nothing is stored. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obs.attest_verify",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/AttestReport"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttestBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "digest": {
                      "expected": "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
                      "content": "hello world",
                      "contentEncoding": "utf8"
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/n": {
      "get": {
        "operationId": "obp_niche_list",
        "summary": "Niche engines of the Protocol API",
        "description": "The industry observation profiles as niche engines: each with its routes /v1/n/{profile}, its MCP /mcp/{profile}, its scope and its niche resources (or niche none with what it needs). State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.niche_list",
        "parameters": [
          {
            "name": "hazard",
            "in": "query",
            "required": false,
            "description": "NHS-1 id: a family (atmo.thermal) or a hazard (atmo.thermal.heatwave)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "NIS-1 id (nis:IND...) or a three-letter NIS-1 domain code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: records updated since",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/NicheRow"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR",
                            "BAD_HAZARD",
                            "BAD_INDICATOR",
                            "BAD_SINCE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR",
              "BAD_HAZARD",
              "BAD_INDICATOR",
              "BAD_SINCE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/n/{profile}": {
      "get": {
        "operationId": "obp_niche_get",
        "summary": "One niche engine",
        "description": "The manifest of an engine: scope (ISIC Rev.5, NHS-1, NIS-1, jurisdictions), resources, tools, niche resources with their methods, sources and licences. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.niche_get",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id, e.g. water",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "water"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/NicheManifest"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "profile": "water"
          },
          "expectStatus": 200
        }
      }
    },
    "/v1/n/{profile}/properties": {
      "get": {
        "operationId": "GET_v1_n_profile_properties",
        "summary": "Observed properties of the engine's profile",
        "description": "The profile properties scoped to the engine. MCP tool obp.<profile>.properties. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "utilities"
          },
          {
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/PropertyRow"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "profile": "utilities"
          },
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.properties"
      }
    },
    "/v1/n/{profile}/schema": {
      "get": {
        "operationId": "GET_v1_n_profile_schema",
        "summary": "The JSON Schema of the engine's profile",
        "description": "GET /v1/profiles/{id}/schema scoped to the engine. MCP tool obp.<profile>.schema. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "water"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/JsonSchemaDocument"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "profile": "water"
          },
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.schema"
      }
    },
    "/v1/n/{profile}/registers": {
      "get": {
        "operationId": "GET_v1_n_profile_registers",
        "summary": "Registers, with the engine's entry coverage",
        "description": "The four public lists and the specification registers, each with the number of self-declared entries that name this profile (none yet). MCP tool obp.<profile>.registers. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "agriculture"
          },
          {
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/RegisterRow"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "profile": "agriculture"
          },
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.registers"
      }
    },
    "/v1/n/{profile}/registers/{id}/entries": {
      "get": {
        "operationId": "GET_v1_n_profile_registers_id_entries",
        "summary": "Self-declared entries of one register for the engine's profile",
        "description": "The entries that name this profile, filtered by industry and jurisdiction. An empty slice answers coverage none. MCP tool obp.<profile>.register_find. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "water"
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "implementations, declarations, verifiers or bridges",
            "schema": {
              "type": "string"
            },
            "example": "implementations"
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "ISIC Rev.5 code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 or UN M49",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hazard",
            "in": "query",
            "required": false,
            "description": "NHS-1 id: a family (atmo.thermal) or a hazard (atmo.thermal.heatwave)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "NIS-1 id (nis:IND...) or a three-letter NIS-1 domain code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: records updated since",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/RegisterEntry"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION",
                            "BAD_PAGE",
                            "STALE_CURSOR",
                            "BAD_HAZARD",
                            "BAD_INDICATOR",
                            "BAD_SINCE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INDUSTRY",
              "BAD_JURISDICTION",
              "BAD_PAGE",
              "STALE_CURSOR",
              "BAD_HAZARD",
              "BAD_INDICATOR",
              "BAD_SINCE"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BACKEND_CONNECTION_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BACKEND_CONNECTION_OFF"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "path": {
            "profile": "water",
            "id": "implementations"
          },
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.register_find"
      }
    },
    "/v1/n/{profile}/crosswalk": {
      "get": {
        "operationId": "GET_v1_n_profile_crosswalk",
        "summary": "Crosswalk rows for the engine",
        "description": "The proposed mappings from the observation-record (the schema every profile layers over) to external specifications, each a mapping and never a conformance claim. MCP tool obp.<profile>.crosswalk. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "utilities"
          },
          {
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/AlignmentRow"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "profile": "utilities"
          },
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.crosswalk"
      }
    },
    "/v1/n/{profile}/sources": {
      "get": {
        "operationId": "GET_v1_n_profile_sources",
        "summary": "Sources and licences the engine cites",
        "description": "The primary sources of the profile (publisher, identifier, date, URL, whether the lane re-read it, licence). MCP tool obp.<profile>.sources. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "space-weather"
          },
          {
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/SourceRow"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "profile": "space-weather"
          },
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.sources"
      }
    },
    "/v1/n/{profile}/links": {
      "get": {
        "operationId": "GET_v1_n_profile_links",
        "summary": "Typed links of the engine's profile",
        "description": "The links[] of the profile (NHS-1 families and NIS-1 indicators as relatedMatch, sources as wasDerivedFrom), each with its target network and state. MCP tool obp.<profile>.links. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "mining"
          },
          {
            "name": "rel",
            "in": "query",
            "required": false,
            "description": "Only this rel",
            "schema": {
              "type": "string"
            },
            "example": "relatedMatch"
          },
          {
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Link"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_REL",
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_REL",
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "profile": "mining"
          },
          "query": {
            "rel": "relatedMatch"
          },
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.links"
      }
    },
    "/v1/contributions": {
      "get": {
        "operationId": "obp_contribution_list",
        "summary": "Published contributions (native data intake)",
        "description": "Accepted, de-identified contributions from the network's sites, each with its review record (a PROV-O activity), the licence the contributor granted and the provenance { source: intake, feature, reviewRole, decisionId }, labelled self-reported. None is published yet: the path is designed (D) and the list is empty with coverage none. Nothing is published without a review record. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.contribution_list",
        "parameters": [
          {
            "name": "feature",
            "in": "query",
            "required": false,
            "description": "Declared site feature id (contracts/intake/obp)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Record type the contribution feeds: property, oip, register-entry or case",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "query",
            "required": false,
            "description": "A contribution id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "industry",
            "in": "query",
            "required": false,
            "description": "ISIC Rev.5 code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 or UN M49",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hazard",
            "in": "query",
            "required": false,
            "description": "NHS-1 id: a family (atmo.thermal) or a hazard (atmo.thermal.heatwave)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "indicator",
            "in": "query",
            "required": false,
            "description": "NIS-1 id (nis:IND...) or a three-letter NIS-1 domain code",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: records updated since",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Contribution"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION",
                            "BAD_TYPE",
                            "BAD_PAGE",
                            "STALE_CURSOR",
                            "BAD_HAZARD",
                            "BAD_INDICATOR",
                            "BAD_SINCE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INDUSTRY",
              "BAD_JURISDICTION",
              "BAD_TYPE",
              "BAD_PAGE",
              "STALE_CURSOR",
              "BAD_HAZARD",
              "BAD_INDICATOR",
              "BAD_SINCE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/n/{profile}/contributions": {
      "get": {
        "operationId": "GET_v1_n_profile_contributions",
        "summary": "Published contributions for the engine's profile",
        "description": "GET /v1/contributions scoped to the profile; empty (coverage none) until a reviewed contribution is published. MCP tool obp.<profile>.contributions. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "water"
          },
          {
            "name": "feature",
            "in": "query",
            "required": false,
            "description": "Declared site feature id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "property, oip, register-entry or case",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Contribution"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_TYPE",
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_TYPE",
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "profile": "water"
          },
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.contributions"
      }
    },
    "/v1/n/{profile}/changes": {
      "get": {
        "operationId": "GET_v1_n_profile_changes",
        "summary": "The engine's own change feed",
        "description": "The events of GET /v1/changes whose subject belongs to this profile (the profile, its properties, its engine). Accept application/cloudevents-batch+json for the batch. MCP tool obp.<profile>.changes. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "water"
          },
          {
            "name": "since",
            "in": "query",
            "required": false,
            "description": "ISO 8601 date or RFC 3339 date-time: events after it",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Event type, e.g. obp.property.created",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subject",
            "in": "query",
            "required": false,
            "description": "A CURIE or a prefix",
            "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 the Link header (RFC 8288); the standard way to page",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Records to skip (default 0); allowed on these bounded snapshot lists, not together with cursor",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100000
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ChangeEvent"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/cloudevents-batch+json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChangeEvent"
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_SINCE",
                            "BAD_TYPE",
                            "BAD_SUBJECT",
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_SINCE",
              "BAD_TYPE",
              "BAD_SUBJECT",
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "path": {
            "profile": "water"
          },
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.changes"
      }
    },
    "/v1/n/{profile}/validate": {
      "post": {
        "operationId": "POST_v1_n_profile_validate",
        "summary": "Validate an observation under the engine's profile",
        "description": "POST /v1/validate with the profile fixed. MCP tool obp.<profile>.validate. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "agriculture"
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 or UN M49",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ValidateReport"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JURISDICTION",
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JURISDICTION",
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ObsValidateBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "observedProperty": "https://vocab.nerc.ac.uk/standard_name/relative_humidity/",
                    "unit": "%",
                    "result": 64,
                    "phenomenonTime": "2026-06-01T10:00:00Z",
                    "resultTime": "2026-06-01T10:00:01Z",
                    "geometry": {
                      "type": "Point",
                      "coordinates": [
                        -75.7,
                        45.4
                      ]
                    },
                    "observationUni": "obs:example:rh1",
                    "systemUni": "sys:example:field1",
                    "schemaVersion": "3.1.0",
                    "evidenceRefs": [
                      {
                        "uri": "https://example.invalid/e",
                        "digest": "sha256:1111111111111111111111111111111111111111111111111111111111111111"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "path": {
            "profile": "agriculture"
          },
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.validate"
      }
    },
    "/v1/n/{profile}/quality/check": {
      "post": {
        "operationId": "POST_v1_n_profile_quality_check",
        "summary": "Quality checks under the engine's profile",
        "description": "POST /v1/quality/check with the profile fixed. MCP tool obp.<profile>.quality_check. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "water"
          },
          {
            "name": "jurisdiction",
            "in": "query",
            "required": false,
            "description": "ISO 3166-1 alpha-3 or UN M49",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/QualityReport"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JURISDICTION",
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JURISDICTION",
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QualityBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "observations": [
                      {
                        "observationUni": "obs:example:w1",
                        "systemUni": "sys:example:gauge1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/water_surface_height_above_reference_datum/",
                        "phenomenonTime": "2026-06-01T10:00:00Z",
                        "unit": "m",
                        "result": 1.5
                      },
                      {
                        "observationUni": "obs:example:w2",
                        "systemUni": "sys:example:gauge1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/water_surface_height_above_reference_datum/",
                        "phenomenonTime": "2026-06-01T10:15:00Z",
                        "unit": "m",
                        "result": 1.6
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "path": {
            "profile": "water"
          },
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.quality_check"
      }
    },
    "/v1/n/{profile}/attest/verify": {
      "post": {
        "operationId": "POST_v1_n_profile_attest_verify",
        "summary": "Verify provenance for the engine",
        "description": "POST /v1/attest/verify scoped to the engine. MCP tool obp.<profile>.attest_verify. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "insurance-claims"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/AttestReport"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttestBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "digest": {
                      "expected": "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
                      "content": "hello world"
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "path": {
            "profile": "insurance-claims"
          },
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.attest_verify"
      }
    },
    "/v1/n/{profile}/niche/{resource}": {
      "post": {
        "operationId": "POST_v1_n_profile_niche_resource_",
        "summary": "A niche resource of an engine",
        "description": "The niche resources: growing-degree-days and dry-spell (agriculture), wind-power-density and degree-days (utilities), flow-duration (water), operability-windows (ports-logistics), parametric-trigger (insurance-claims), noaa-scales (space-weather), aqg-exceedance (health) and inverse-velocity (mining). A resource whose state is D (gic-estimate, heat-health-thresholds, ground-vibration-ppv) is a designed contract and answers 501 NICHE_NOT_BUILT with what it needs. Each computes from your observations with a stated method; domain choices are yours and have no default. A profile without the resource, or with niche none, answers 404 NOT_FOUND. MCP tool obp.<profile>.<resource with underscores>. State: exists.",
        "tags": [
          "niche",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [
          {
            "name": "profile",
            "in": "path",
            "required": true,
            "description": "Profile id",
            "schema": {
              "type": "string",
              "enum": [
                "agriculture",
                "utilities",
                "water",
                "mining",
                "ports-logistics",
                "health",
                "insurance-claims",
                "space-weather",
                "indoor-environment",
                "construction"
              ]
            },
            "example": "agriculture"
          },
          {
            "name": "resource",
            "in": "path",
            "required": true,
            "description": "Niche resource id, e.g. flow-duration",
            "schema": {
              "type": "string"
            },
            "example": "growing-degree-days"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/CalcResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT",
                            "BAD_JSON"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT",
              "BAD_JSON"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INSUFFICIENT_DATA"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INSUFFICIENT_DATA"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NICHE_NOT_BUILT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NICHE_NOT_BUILT"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CalcBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "baseCel": 10,
                    "observations": [
                      {
                        "observationUni": "obs:example:t0",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T03:00:00Z",
                        "unit": "Cel",
                        "result": 8
                      },
                      {
                        "observationUni": "obs:example:t1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T15:00:00Z",
                        "unit": "Cel",
                        "result": 22
                      },
                      {
                        "observationUni": "obs:example:t2",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-02T03:00:00Z",
                        "unit": "Cel",
                        "result": 11
                      },
                      {
                        "observationUni": "obs:example:t3",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-02T15:00:00Z",
                        "unit": "Cel",
                        "result": 27
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "path": {
            "profile": "agriculture",
            "resource": "growing-degree-days"
          },
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        },
        "x-niche-tool": "obp.{profile}.{resource}"
      }
    },
    "/v1/solutions/SOL-14": {
      "get": {
        "operationId": "obp_sol14_get",
        "summary": "SOL-14 Trusted Observation Onboarding: the solution manifest",
        "description": "The solution manifest in the shared shape (generated into contracts/solutions/SOL-14.json): lead network, decision, contributing networks, deliverables, steps with their tools, worked examples per segment, and the contributions to SOL-06, SOL-25, SOL-32 and SOL-33. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.sol14.get",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "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 as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/solutions/SOL-14/profile": {
      "post": {
        "operationId": "obp_sol14_profile",
        "summary": "Choose the observation profile for the client's industry and sensors",
        "description": "SOL-14 step profile (deliverable: observation-profile). Resolves the profile for an ISIC Rev.5 code, says which of the client's properties the profile covers and which have no profile entry (coverage none), and links the schema. Computed from the request body; nothing is stored. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.sol14.profile",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SolResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT",
                            "BAD_JSON",
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT",
              "BAD_JSON",
              "BAD_INDUSTRY",
              "BAD_JURISDICTION"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SolBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "industry": "A",
                    "jurisdiction": "KEN",
                    "properties": [
                      "air_temperature",
                      "volume_fraction_of_condensed_water_in_soil",
                      "soil_ph"
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/solutions/SOL-14/validate": {
      "post": {
        "operationId": "obp_sol14_validate",
        "summary": "Validate the client's observations under the profile",
        "description": "SOL-14 step validate (deliverable: validation-and-attestation-checks). Up to 200 observations checked against the vendored observation-record and the profile; a count of each issue code. Computed from the request body; nothing is stored. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.sol14.validate",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SolResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT",
                            "BAD_JSON",
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT",
              "BAD_JSON",
              "BAD_INDUSTRY",
              "BAD_JURISDICTION"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NO_PROFILE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NO_PROFILE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SolBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "profile": "mining",
                    "jurisdiction": "AUS",
                    "observations": [
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:0",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/mass_concentration_of_pm10_ambient_aerosol_particles_in_air/",
                        "phenomenonTime": "2026-06-01T00:00:00.000Z",
                        "resultTime": "2026-06-01T00:00:05.000Z",
                        "unit": "ug/m3",
                        "result": 22,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 2
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:1",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/mass_concentration_of_pm10_ambient_aerosol_particles_in_air/",
                        "phenomenonTime": "2026-06-01T01:00:00.000Z",
                        "resultTime": "2026-06-01T01:00:05.000Z",
                        "unit": "ug/m3",
                        "result": 25,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 2
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:2",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/mass_concentration_of_pm10_ambient_aerosol_particles_in_air/",
                        "phenomenonTime": "2026-06-01T02:00:00.000Z",
                        "resultTime": "2026-06-01T02:00:05.000Z",
                        "unit": "ug/m3",
                        "result": 31,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 2
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:3",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/mass_concentration_of_pm10_ambient_aerosol_particles_in_air/",
                        "phenomenonTime": "2026-06-01T03:00:00.000Z",
                        "resultTime": "2026-06-01T03:00:05.000Z",
                        "unit": "ug/m3",
                        "result": 140,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 2
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:4",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/mass_concentration_of_pm10_ambient_aerosol_particles_in_air/",
                        "phenomenonTime": "2026-06-01T04:00:00.000Z",
                        "resultTime": "2026-06-01T04:00:05.000Z",
                        "unit": "ug/m3",
                        "result": 28,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 2
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/solutions/SOL-14/attest": {
      "post": {
        "operationId": "obp_sol14_attest",
        "summary": "Verify the client's digests, signature and attestation result",
        "description": "SOL-14 step attest (deliverable: validation-and-attestation-checks). Per observation, recomputes the evidenceRefs digests against evidence supplied; verifies a signature and an attestation result window. No trust decision; no URI fetched. Computed from the request body; nothing is stored. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.sol14.attest",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SolResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT",
                            "BAD_JSON"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT",
              "BAD_JSON"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SolBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "observations": [
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:a1",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T10:00:00Z",
                        "resultTime": "2026-06-01T10:00:05Z",
                        "unit": "Cel",
                        "result": 18.2,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"
                          }
                        ]
                      }
                    ],
                    "evidence": [
                      {
                        "uri": "urn:synthetic:evidence:1",
                        "content": "hello world"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/solutions/SOL-14/quality": {
      "post": {
        "operationId": "obp_sol14_quality",
        "summary": "Data-quality report over the client's series",
        "description": "SOL-14 step quality (deliverable: data-quality-report). RANGE, STEP, PERSISTENCE, SPIKE, COMPLETENESS and TIME_INTEGRITY with protocol flags and series completeness. Computed from the request body; nothing is stored. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.sol14.quality",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SolResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT",
                            "BAD_JSON",
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT",
              "BAD_JSON",
              "BAD_INDUSTRY",
              "BAD_JURISDICTION"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SolBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "profile": "agriculture",
                    "observations": [
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:0",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T00:00:00.000Z",
                        "resultTime": "2026-06-01T00:00:05.000Z",
                        "unit": "Cel",
                        "result": 12,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:1",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T01:00:00.000Z",
                        "resultTime": "2026-06-01T01:00:05.000Z",
                        "unit": "Cel",
                        "result": 12.4,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:2",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T02:00:00.000Z",
                        "resultTime": "2026-06-01T02:00:05.000Z",
                        "unit": "Cel",
                        "result": 12.9,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:3",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T03:00:00.000Z",
                        "resultTime": "2026-06-01T03:00:05.000Z",
                        "unit": "Cel",
                        "result": 13.1,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:4",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T04:00:00.000Z",
                        "resultTime": "2026-06-01T04:00:05.000Z",
                        "unit": "Cel",
                        "result": 13.6,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:5",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T05:00:00.000Z",
                        "resultTime": "2026-06-01T05:00:05.000Z",
                        "unit": "Cel",
                        "result": 14,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:6",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/air_temperature/",
                        "phenomenonTime": "2026-06-01T06:00:00.000Z",
                        "resultTime": "2026-06-01T06:00:05.000Z",
                        "unit": "Cel",
                        "result": 14.2,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/solutions/SOL-14/register-entry": {
      "post": {
        "operationId": "obp_sol14_register_entry",
        "summary": "Draft a self-declared register entry",
        "description": "SOL-14 step register-entry (deliverable: register-entry). A draft entry for the implementations register with a self-assessment summary. It is not submitted: the declare route is designed, not built, and a declaration is never a certification. Computed from the request body; nothing is stored. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.sol14.register_entry",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SolResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT",
                            "BAD_JSON",
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT",
              "BAD_JSON",
              "BAD_INDUSTRY",
              "BAD_JURISDICTION"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NO_PROFILE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NO_PROFILE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SolBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "profile": "utilities",
                    "jurisdiction": "M49:150",
                    "observations": [
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:0",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/wind_speed/",
                        "phenomenonTime": "2026-06-01T00:00:00.000Z",
                        "resultTime": "2026-06-01T00:00:05.000Z",
                        "unit": "m/s",
                        "result": 6.1,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:1",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/wind_speed/",
                        "phenomenonTime": "2026-06-01T01:00:00.000Z",
                        "resultTime": "2026-06-01T01:00:05.000Z",
                        "unit": "m/s",
                        "result": 6.4,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:2",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/wind_speed/",
                        "phenomenonTime": "2026-06-01T02:00:00.000Z",
                        "resultTime": "2026-06-01T02:00:05.000Z",
                        "unit": "m/s",
                        "result": 7,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:3",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/wind_speed/",
                        "phenomenonTime": "2026-06-01T03:00:00.000Z",
                        "resultTime": "2026-06-01T03:00:05.000Z",
                        "unit": "m/s",
                        "result": 7.2,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.3
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/solutions/SOL-14/trigger-inputs": {
      "post": {
        "operationId": "obp_sol14_trigger_inputs",
        "summary": "Trigger observation inputs for SOL-06",
        "description": "SOL-14 step trigger-inputs. For one profile property: the series statistics, quality flag counts and evidence coverage a trigger design needs, and the gaps. Basis risk is not computed here. Computed from the request body; nothing is stored. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.sol14.trigger_inputs",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SolResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT",
                            "BAD_JSON",
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT",
              "BAD_JSON",
              "BAD_INDUSTRY",
              "BAD_JURISDICTION"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NO_PROFILE",
                            "INSUFFICIENT_DATA"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NO_PROFILE",
              "INSUFFICIENT_DATA"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SolBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "industry": "L",
                    "jurisdiction": "M49:014",
                    "property": "lwe_thickness_of_precipitation_amount",
                    "observations": [
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:0",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/lwe_thickness_of_precipitation_amount/",
                        "phenomenonTime": "2026-06-01T00:00:00.000Z",
                        "resultTime": "2026-06-01T00:00:05.000Z",
                        "unit": "mm",
                        "result": 0,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.1
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:1",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/lwe_thickness_of_precipitation_amount/",
                        "phenomenonTime": "2026-06-01T01:00:00.000Z",
                        "resultTime": "2026-06-01T01:00:05.000Z",
                        "unit": "mm",
                        "result": 0.2,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.1
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:2",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/lwe_thickness_of_precipitation_amount/",
                        "phenomenonTime": "2026-06-01T02:00:00.000Z",
                        "resultTime": "2026-06-01T02:00:05.000Z",
                        "unit": "mm",
                        "result": 0,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.1
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:3",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/lwe_thickness_of_precipitation_amount/",
                        "phenomenonTime": "2026-06-01T03:00:00.000Z",
                        "resultTime": "2026-06-01T03:00:05.000Z",
                        "unit": "mm",
                        "result": 0,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.1
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:4",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/lwe_thickness_of_precipitation_amount/",
                        "phenomenonTime": "2026-06-01T04:00:00.000Z",
                        "resultTime": "2026-06-01T04:00:05.000Z",
                        "unit": "mm",
                        "result": 1.4,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.1
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:5",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/lwe_thickness_of_precipitation_amount/",
                        "phenomenonTime": "2026-06-01T05:00:00.000Z",
                        "resultTime": "2026-06-01T05:00:05.000Z",
                        "unit": "mm",
                        "result": 0,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.1
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:6",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/lwe_thickness_of_precipitation_amount/",
                        "phenomenonTime": "2026-06-01T06:00:00.000Z",
                        "resultTime": "2026-06-01T06:00:05.000Z",
                        "unit": "mm",
                        "result": 0.1,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "standard",
                          "value": 0.1
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/solutions/SOL-14/deliverables": {
      "post": {
        "operationId": "obp_sol14_deliverables",
        "summary": "All four deliverables in one answer",
        "description": "SOL-14 step deliverables (deliverable: all). Runs profile, validate, attest, quality and register-entry on one request body and returns the four deliverables with a self-assessment summary. Computed from the request body; nothing is stored. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.sol14.deliverables",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/SolResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT",
                            "BAD_JSON",
                            "BAD_INDUSTRY",
                            "BAD_JURISDICTION"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT",
              "BAD_JSON",
              "BAD_INDUSTRY",
              "BAD_JURISDICTION"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NO_PROFILE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NO_PROFILE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SolBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "industry": "E",
                    "jurisdiction": "KEN",
                    "properties": [
                      "water_surface_height_above_reference_datum",
                      "water_volume_transport_in_river_channel"
                    ],
                    "observations": [
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:0",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/water_surface_height_above_reference_datum/",
                        "phenomenonTime": "2026-06-01T00:00:00.000Z",
                        "resultTime": "2026-06-01T00:00:05.000Z",
                        "unit": "cm",
                        "result": 154,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "expanded",
                          "value": 0.5,
                          "coverageFactor": 2,
                          "coverageProbability": 0.95
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:1",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/water_surface_height_above_reference_datum/",
                        "phenomenonTime": "2026-06-01T01:00:00.000Z",
                        "resultTime": "2026-06-01T01:00:05.000Z",
                        "unit": "cm",
                        "result": 155,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "expanded",
                          "value": 0.5,
                          "coverageFactor": 2,
                          "coverageProbability": 0.95
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:2",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/water_surface_height_above_reference_datum/",
                        "phenomenonTime": "2026-06-01T02:00:00.000Z",
                        "resultTime": "2026-06-01T02:00:05.000Z",
                        "unit": "cm",
                        "result": 157,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "expanded",
                          "value": 0.5,
                          "coverageFactor": 2,
                          "coverageProbability": 0.95
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:3",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/water_surface_height_above_reference_datum/",
                        "phenomenonTime": "2026-06-01T03:00:00.000Z",
                        "resultTime": "2026-06-01T03:00:05.000Z",
                        "unit": "cm",
                        "result": 160,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "expanded",
                          "value": 0.5,
                          "coverageFactor": 2,
                          "coverageProbability": 0.95
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:4",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/water_surface_height_above_reference_datum/",
                        "phenomenonTime": "2026-06-01T04:00:00.000Z",
                        "resultTime": "2026-06-01T04:00:05.000Z",
                        "unit": "cm",
                        "result": 164,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "expanded",
                          "value": 0.5,
                          "coverageFactor": 2,
                          "coverageProbability": 0.95
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "observationUni": "obs:synthetic:5",
                        "systemUni": "sys:synthetic:station1",
                        "observedProperty": "https://vocab.nerc.ac.uk/standard_name/water_surface_height_above_reference_datum/",
                        "phenomenonTime": "2026-06-01T05:00:00.000Z",
                        "resultTime": "2026-06-01T05:00:05.000Z",
                        "unit": "cm",
                        "result": 168,
                        "geometry": {
                          "type": "Point",
                          "coordinates": [
                            36.8,
                            -1.3
                          ]
                        },
                        "uncertainty": {
                          "kind": "expanded",
                          "value": 0.5,
                          "coverageFactor": 2,
                          "coverageProbability": 0.95
                        },
                        "evidenceRefs": [
                          {
                            "uri": "urn:synthetic:evidence:1",
                            "digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000"
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/verify": {
      "get": {
        "operationId": "obp_verify_index",
        "summary": "The verification engine: verifier, pinned commit, routes and vectors",
        "description": "Which verifier answers (obsp-sdk, vendored as an exact copy at a recorded commit), its licence, the schemas it reads, the parity vectors vendored with it and the routes of the evidence layer with the requirement families each checks. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_index",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/VerifyIndex"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/verify/record": {
      "post": {
        "operationId": "obp_verify_record",
        "summary": "Verify a record and its evidence set",
        "description": "Parse, schema detection and validation, UNI, digests, OIP-0008 signature envelopes against the key records in the set, the reference graph, and in mode 0.2 the checks of the draft proposals (OIP-0002 proofs, OIP-0003 plans, OIP-0006, OIP-0013, OIP-0018, OIP-0020). Send documents [{ name, document } or { name, text }]. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_record",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE",
                            "TOO_MANY"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE",
              "TOO_MANY"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "mode": "0.1",
                    "documents": [
                      {
                        "name": "correction-notice.ed25519.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/correction-notice/v3.1\",\n  \"kind\": \"CorrectionNotice\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"noticeUni\": \"uni:correction-notice:site001-0001\",\n  \"correctedRecord\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"1\",\n    \"recordKind\": \"observation-record\",\n    \"digest\": \"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n  },\n  \"transition\": {\n    \"from\": \"CURRENT\",\n    \"to\": \"SUPERSEDED\"\n  },\n  \"supersededBy\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"2\",\n    \"digest\": \"sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd\"\n  },\n  \"reason\": {\n    \"code\": \"CALIBRATION_ERROR\",\n    \"text\": \"Calibration coefficient applied from the expired record; recomputed with the current one.\"\n  },\n  \"issuer\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"dependants\": [\n    {\n      \"uni\": \"uni:product:site001-daily-temp\",\n      \"version\": \"7\",\n      \"recordKind\": \"product-manifest\",\n      \"action\": \"RECOMPUTE\"\n    }\n  ],\n  \"issuedAt\": \"2026-10-27T10:00:05Z\",\n  \"evidenceRefs\": [\n    {\n      \"uri\": \"evidence://site001/correction/0001\",\n      \"digest\": \"sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\",\n      \"kind\": \"fixture\"\n    }\n  ],\n  \"recordedAt\": \"2026-10-27T10:00:05Z\",\n  \"signature\": {\n    \"format\": \"COSE_Sign1\",\n    \"alg\": \"ed25519\",\n    \"kid\": \"uni:key:test-ed25519-1\",\n    \"canonicalization\": \"JCS\",\n    \"protected\": \"ogEyBFZ1bmk6a2V5OnRlc3QtZWQyNTUxOS0x\",\n    \"payloadDigest\": \"sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85\",\n    \"signature\": \"_Rumto4MbuxTgOiDrh6-hSCtfnUOsUp-3pq2KwY6uivscWknMyfcJXtHwssxdEPH1x3nippKunZSIB5H7KziBw\",\n    \"signerRole\": \"GRID_OPERATOR\"\n  }\n}\n"
                      },
                      {
                        "name": "correction-notice.es256.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/correction-notice/v3.1\",\n  \"kind\": \"CorrectionNotice\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"noticeUni\": \"uni:correction-notice:site001-0001\",\n  \"correctedRecord\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"1\",\n    \"recordKind\": \"observation-record\",\n    \"digest\": \"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n  },\n  \"transition\": {\n    \"from\": \"CURRENT\",\n    \"to\": \"SUPERSEDED\"\n  },\n  \"supersededBy\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"2\",\n    \"digest\": \"sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd\"\n  },\n  \"reason\": {\n    \"code\": \"CALIBRATION_ERROR\",\n    \"text\": \"Calibration coefficient applied from the expired record; recomputed with the current one.\"\n  },\n  \"issuer\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"dependants\": [\n    {\n      \"uni\": \"uni:product:site001-daily-temp\",\n      \"version\": \"7\",\n      \"recordKind\": \"product-manifest\",\n      \"action\": \"RECOMPUTE\"\n    }\n  ],\n  \"issuedAt\": \"2026-10-27T10:00:05Z\",\n  \"evidenceRefs\": [\n    {\n      \"uri\": \"evidence://site001/correction/0001\",\n      \"digest\": \"sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\",\n      \"kind\": \"fixture\"\n    }\n  ],\n  \"recordedAt\": \"2026-10-27T10:00:05Z\",\n  \"signature\": {\n    \"format\": \"COSE_Sign1\",\n    \"alg\": \"es256\",\n    \"kid\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU\",\n    \"canonicalization\": \"JCS\",\n    \"protected\": \"ogEoBFhYdXJuOmlldGY6cGFyYW1zOm9hdXRoOmp3ay10aHVtYnByaW50OnNoYS0yNTY6aFBhTkh1a2hOb0tSenVpek1yU21kS0N2Ykhlc1JnR0EwRm9PWXJ3d25MVQ\",\n    \"payloadDigest\": \"sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85\",\n    \"signature\": \"6SNtl7voN0mgEVCVo_Vj_1pbKOCprU9oUWL0g4jpkbSWxs9wwJNfL_VR-buENSzUvcdB_rMa4Qpqr3u_XUn_Lw\",\n    \"signerRole\": \"GRID_OPERATOR\"\n  }\n}\n"
                      },
                      {
                        "name": "key-record.test-ed25519-1.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-ed25519-1\",\n  \"alg\": \"ed25519\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:6zMUlj0eNKZGNbYN-nS5u1eAI-orctbBC-HNEgHg1bU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"OKP\",\n    \"crv\": \"Ed25519\",\n    \"x\": \"4EyCdifDCZI2x64XKnGavtLQuI1--5ALBsUGu0O3yXU\"\n  },\n  \"controller\": {\n    \"role\": \"VERIFIER\",\n    \"uni\": \"uni:verifier:site001-site\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      },
                      {
                        "name": "key-record.test-es256-2.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-es256-2\",\n  \"alg\": \"es256\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"EC\",\n    \"crv\": \"P-256\",\n    \"x\": \"Wm4G2R3Lz1yrTtQWDLCcWN2bLQkHjctcknLFMKAxwvc\",\n    \"y\": \"YNPWs2YedRT0InKvJGgFDJGI8-9rQYVy3FxsnKfRwDc\"\n  },\n  \"controller\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/verify/envelope": {
      "post": {
        "operationId": "obp_verify_envelope",
        "summary": "Verify one OIP-0008 signature envelope",
        "description": "COSE_Sign1 with a detached RFC 8785 payload, key resolution against key records by UNI or RFC 7638 thumbprint, failure codes OBS-SIG-0001 to OBS-SIG-0008; Ed25519, ES256 and ES384. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_envelope",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "document": {
                      "schemaVersion": "3.1.0",
                      "apiVersion": "obsp/correction-notice/v3.1",
                      "kind": "CorrectionNotice",
                      "protocolVersion": "obsp/0.1",
                      "noticeUni": "uni:correction-notice:site001-0001",
                      "correctedRecord": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "1",
                        "recordKind": "observation-record",
                        "digest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
                      },
                      "transition": {
                        "from": "CURRENT",
                        "to": "SUPERSEDED"
                      },
                      "supersededBy": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "2",
                        "digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
                      },
                      "reason": {
                        "code": "CALIBRATION_ERROR",
                        "text": "Calibration coefficient applied from the expired record; recomputed with the current one."
                      },
                      "issuer": {
                        "role": "GRID_OPERATOR",
                        "uni": "uni:grid-operator:0001"
                      },
                      "dependants": [
                        {
                          "uni": "uni:product:site001-daily-temp",
                          "version": "7",
                          "recordKind": "product-manifest",
                          "action": "RECOMPUTE"
                        }
                      ],
                      "issuedAt": "2026-10-27T10:00:05Z",
                      "evidenceRefs": [
                        {
                          "uri": "evidence://site001/correction/0001",
                          "digest": "sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
                          "kind": "fixture"
                        }
                      ],
                      "recordedAt": "2026-10-27T10:00:05Z",
                      "signature": {
                        "format": "COSE_Sign1",
                        "alg": "ed25519",
                        "kid": "uni:key:test-ed25519-1",
                        "canonicalization": "JCS",
                        "protected": "ogEyBFZ1bmk6a2V5OnRlc3QtZWQyNTUxOS0x",
                        "payloadDigest": "sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85",
                        "signature": "_Rumto4MbuxTgOiDrh6-hSCtfnUOsUp-3pq2KwY6uivscWknMyfcJXtHwssxdEPH1x3nippKunZSIB5H7KziBw",
                        "signerRole": "GRID_OPERATOR"
                      }
                    },
                    "keys": [
                      {
                        "schemaVersion": "3.1.0",
                        "apiVersion": "obsp/key-record/v3.1",
                        "kind": "KeyRecord",
                        "protocolVersion": "obsp/0.1",
                        "keyUni": "uni:key:test-ed25519-1",
                        "alg": "ed25519",
                        "thumbprint": "urn:ietf:params:oauth:jwk-thumbprint:sha-256:6zMUlj0eNKZGNbYN-nS5u1eAI-orctbBC-HNEgHg1bU",
                        "publicKeyJwk": {
                          "kty": "OKP",
                          "crv": "Ed25519",
                          "x": "4EyCdifDCZI2x64XKnGavtLQuI1--5ALBsUGu0O3yXU"
                        },
                        "controller": {
                          "role": "VERIFIER",
                          "uni": "uni:verifier:site001-site"
                        },
                        "objectClasses": [
                          "receipt"
                        ],
                        "custody": "SOFTWARE",
                        "status": "ACTIVE",
                        "validFrom": "2026-01-01T00:00:00Z",
                        "validUntil": "2027-12-31T23:59:59Z",
                        "testOnly": true,
                        "recordedAt": "2026-11-20T00:00:00Z"
                      },
                      {
                        "schemaVersion": "3.1.0",
                        "apiVersion": "obsp/key-record/v3.1",
                        "kind": "KeyRecord",
                        "protocolVersion": "obsp/0.1",
                        "keyUni": "uni:key:test-es256-2",
                        "alg": "es256",
                        "thumbprint": "urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU",
                        "publicKeyJwk": {
                          "kty": "EC",
                          "crv": "P-256",
                          "x": "Wm4G2R3Lz1yrTtQWDLCcWN2bLQkHjctcknLFMKAxwvc",
                          "y": "YNPWs2YedRT0InKvJGgFDJGI8-9rQYVy3FxsnKfRwDc"
                        },
                        "controller": {
                          "role": "GRID_OPERATOR",
                          "uni": "uni:grid-operator:0001"
                        },
                        "objectClasses": [
                          "receipt"
                        ],
                        "custody": "SOFTWARE",
                        "status": "ACTIVE",
                        "validFrom": "2026-01-01T00:00:00Z",
                        "validUntil": "2027-12-31T23:59:59Z",
                        "testOnly": true,
                        "recordedAt": "2026-11-20T00:00:00Z"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/verify/inclusion": {
      "post": {
        "operationId": "obp_verify_inclusion",
        "summary": "Verify an inclusion receipt (RFC 9162), or one from the live log",
        "description": "Offline: a receipt { entry, index, treeSize, auditPath, rootHash }, optionally bound to a signed tree head and the log key. Live: { source: \"log\" | \"registry\", index } reads the proof, the signed tree head and the key from the configured reference service and verifies all three. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_inclusion",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "receipt": {
                      "auditPath": [
                        "0b051be6cb1d073d59f8af25e891a09d6bf62ec8f75ce55e09a3239b123966c6",
                        "8db3d0871da7f81238171524bd4f2415343fea0368d97bb8f6ab7fc8d194519f",
                        "9b696648dece59eaf763a929b6487be1b9630d7d70cc3c9f589275fba3453bf7"
                      ],
                      "entry": {
                        "digest": "sha256:0505050505050505050505050505050505050505050505050505050505050505",
                        "index": 5,
                        "kind": "other",
                        "loggedAt": "2026-11-01T00:00:05Z",
                        "prev": "sha256:8cbb6e5e9ee5f83464558f380a26b32fb676e553539d4c68142f0364f366bcc6",
                        "subject": "uni:other:vector-5"
                      },
                      "index": 5,
                      "rootHash": "123ff1f2adee33b924a8f3fb02a073aa12a1fd8298c30771f50ce4250465bec6",
                      "treeSize": 7
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/verify/consistency": {
      "post": {
        "operationId": "obp_verify_consistency",
        "summary": "Verify consistency between two tree heads (RFC 9162)",
        "description": "A consistency proof on its own; two signed heads of one log compared (CONSISTENT, SPLIT_VIEW, PROOF_NEEDED, INVALID); or live: { source: \"log\", firstHead } compares a head you kept with the log's current signed head through a proof read from the log. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_consistency",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "proof": {
                      "firstRootHash": "9b696648dece59eaf763a929b6487be1b9630d7d70cc3c9f589275fba3453bf7",
                      "firstSize": 4,
                      "path": [
                        "a69f9ea5aaff905a5d251ae677549cbc11c2f33e8849e59315b997e40c0eddc8"
                      ],
                      "secondRootHash": "123ff1f2adee33b924a8f3fb02a073aa12a1fd8298c30771f50ce4250465bec6",
                      "secondSize": 7
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/verify/witnessed-head": {
      "post": {
        "operationId": "obp_verify_witnessed_head",
        "summary": "Verify a signed tree head and its witness cosignatures",
        "description": "The log's OIP-0008 envelope over the head and, with a witness policy { threshold, keys }, the distinct trusted witnesses whose cosignatures verify. Witnesses are a reference-log feature: no proposal specifies them. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_witnessed_head",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_POLICY"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_POLICY"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "treeHead": {
                      "cosignatures": [
                        {
                          "alg": "ed25519",
                          "canonicalization": "JCS",
                          "format": "COSE_Sign1",
                          "kid": "uni:key:test-witness-vectors-witness-a",
                          "payloadDigest": "sha256:024cc9c27fbd23054ddb9d91080baac18363df3303a189542b9b7841720eab25",
                          "protected": "ogEyBFgmdW5pOmtleTp0ZXN0LXdpdG5lc3MtdmVjdG9ycy13aXRuZXNzLWE",
                          "signature": "o37D29qkJpbsJvJOwH_Ho_UzgQT6jDd52PABKVvDJxibCD1yaiXKupH7sHTtMFst0eV_WJ1TEmFgJ9kdTNBhBg",
                          "signerRole": "witness"
                        },
                        {
                          "alg": "ed25519",
                          "canonicalization": "JCS",
                          "format": "COSE_Sign1",
                          "kid": "uni:key:test-witness-vectors-witness-b",
                          "payloadDigest": "sha256:024cc9c27fbd23054ddb9d91080baac18363df3303a189542b9b7841720eab25",
                          "protected": "ogEyBFgmdW5pOmtleTp0ZXN0LXdpdG5lc3MtdmVjdG9ycy13aXRuZXNzLWI",
                          "signature": "1O-RX0bWxby7lGE1XzwB24vtLxgN29t4OVyIKkCsZPMFn-yegdcr-IBPL6N-ffw4l79gomyPh8jqDPk0opH6CQ",
                          "signerRole": "witness"
                        }
                      ],
                      "log": "reference log (hash chain and RFC 9162 Merkle tree); not a SCITT transparency service",
                      "logName": "witness-vectors-log",
                      "rootHash": "95aed98d343ffafd3e5619d7817584c22102e03d78a1b77dc442a428ae85e770",
                      "signature": {
                        "alg": "ed25519",
                        "canonicalization": "JCS",
                        "format": "COSE_Sign1",
                        "kid": "uni:key:test-witness-vectors-log",
                        "payloadDigest": "sha256:72d4b17772892a0e7f13a217678b6283790cac3c5128f837d925a83dc17b30b8",
                        "protected": "ogEyBFggdW5pOmtleTp0ZXN0LXdpdG5lc3MtdmVjdG9ycy1sb2c",
                        "signature": "vfp8Xk9unL3jZO89Wv7-I4kcRrpPtAMenb4YTsK5bnJDk5RbqKfS11b0pR7ZgWF_gXBs1vAEx2qBi3Tg0VU1Aw"
                      },
                      "timestamp": "2026-11-01T00:01:52Z",
                      "treeSize": 13
                    },
                    "logJwk": {
                      "crv": "Ed25519",
                      "kid": "uni:key:test-witness-vectors-log",
                      "kty": "OKP",
                      "x": "MKaIphrLwGbru0XpP4QifxNrf0JtOSIjyotrME1VKvk"
                    },
                    "policy": {
                      "keys": [
                        {
                          "crv": "Ed25519",
                          "kid": "uni:key:test-witness-vectors-witness-a",
                          "kty": "OKP",
                          "x": "r0Ah8hlwluTaBl9-IyACiDm2la3u_lS9WwybY-UaQEM"
                        },
                        {
                          "crv": "Ed25519",
                          "kid": "uni:key:test-witness-vectors-witness-b",
                          "kty": "OKP",
                          "x": "5EIGBQ5_cEW04uqLS9zcLVZYzahH_3p-1bz4Fx_kx9Q"
                        },
                        {
                          "crv": "Ed25519",
                          "kid": "uni:key:test-witness-vectors-witness-c",
                          "kty": "OKP",
                          "x": "2yA8Kik_QgYVu4BFL5EX-7s5OGuz66TW60ABkr8R_oA"
                        }
                      ],
                      "threshold": 2
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/verify/plan": {
      "post": {
        "operationId": "obp_verify_plan",
        "summary": "A node's decision on a deployment plan (OIP-0003)",
        "description": "Version, expiry, threshold signatures (verified), mix-and-match, freeze, root and reserved kind: one check per OBS-PLAN code. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_plan",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "plan": {
                      "schemaVersion": "3.1.0",
                      "apiVersion": "obsp/plan/v3.1",
                      "planUni": "uni:plan:fixture0001",
                      "planVersion": "1",
                      "version": 1,
                      "deploymentUni": "uni:deployment:site001",
                      "kind": "configuration",
                      "issuedAt": "2026-08-01T00:00:00Z",
                      "expires": "2026-08-05T00:00:00Z",
                      "targets": [
                        {
                          "name": "config/site-services.json",
                          "digest": "sha256:9c9be9f7d2e58483955c598aa920fab4439561023c838480a3052bdbc2e66a1d",
                          "length": 2048,
                          "mediaType": "application/json"
                        },
                        {
                          "name": "workloads/reference-workload",
                          "digest": "sha256:62baa0f4333e2dcf939fd83b729b9bf8e4c1b16693df9349ef086be021b92661",
                          "length": 7340032
                        }
                      ],
                      "compilerVersion": "0.1.0-wp006",
                      "source": {
                        "systemPackName": "example-pack",
                        "systemPackVersion": "0.1.0",
                        "ownerUni": "uni:owner:0001",
                        "sourceArtifactDigest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
                        "canonicalNormalizedSourceDigest": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
                      },
                      "context": {
                        "tenantUni": "uni:tenant:a001",
                        "workspaceUni": "uni:workspace:a001",
                        "purpose": "lab-compile",
                        "jurisdictionContext": [
                          "lab"
                        ]
                      },
                      "authorityCut": {
                        "authorityCutId": "cut:lab:1",
                        "deploymentProfileId": "observatory.profile.example.v1",
                        "deploymentProfileVersion": "3.1.0"
                      },
                      "providers": [],
                      "topology": {
                        "kind": "SiteCell",
                        "nodeCount": 2,
                        "roles": [
                          {
                            "role": "CONTROL_ORIENTED",
                            "count": 1
                          },
                          {
                            "role": "WORKLOAD_ORIENTED",
                            "count": 1
                          }
                        ],
                        "quorumClaim": "NONE"
                      },
                      "capabilities": [],
                      "services": [],
                      "resources": {
                        "evaluation": "SATISFIED"
                      },
                      "network": {
                        "evaluation": "SATISFIED"
                      },
                      "data": {
                        "evaluation": "SATISFIED"
                      },
                      "trust": {
                        "evaluation": "SATISFIED",
                        "prerequisites": {
                          "identity": true,
                          "attestation": true,
                          "secrets": true,
                          "updateAuthorization": true,
                          "rollbackCapability": true,
                          "evidence": true
                        }
                      },
                      "lifecycle": {
                        "updateConstraint": "pinned",
                        "rollbackRequired": true,
                        "exitRequired": true
                      },
                      "diagnostics": [],
                      "integrity": {
                        "inputSetDigest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
                        "planDigest": "sha256:c55d79cac74820408543128ed53077c00f68cc17e25c7ecd83f015f628739cea"
                      },
                      "executionPermitted": false,
                      "updateMetadata": {
                        "root": {
                          "version": 1,
                          "expires": "2027-08-01T00:00:00Z",
                          "keys": [
                            {
                              "kid": "uni:key:test-plan-root-1",
                              "alg": "ed25519",
                              "publicKeyJwk": {
                                "kty": "OKP",
                                "crv": "Ed25519",
                                "x": "aX7bGc0DXmMfpQJOdv3dEqQdjmvaQ4p58W32qlBgK_o"
                              }
                            },
                            {
                              "kid": "uni:key:test-plan-root-2",
                              "alg": "ed25519",
                              "publicKeyJwk": {
                                "kty": "OKP",
                                "crv": "Ed25519",
                                "x": "IV-5L7P_5GZO_ENLkCSL4MoLidivcn8iPqbPgY-3YhE"
                              }
                            },
                            {
                              "kid": "uni:key:test-plan-root-3",
                              "alg": "ed25519",
                              "publicKeyJwk": {
                                "kty": "OKP",
                                "crv": "Ed25519",
                                "x": "nDjlbjZ0n9yYoywGxPn2g8P2PxG605IJHXfUoexRpgI"
                              }
                            },
                            {
                              "kid": "uni:key:test-plan-snapshot-1",
                              "alg": "ed25519",
                              "publicKeyJwk": {
                                "kty": "OKP",
                                "crv": "Ed25519",
                                "x": "vXJLIK7BrBTa4apTv-gB2IgVjAzoZbzJn8mDiq3N-Jw"
                              }
                            },
                            {
                              "kid": "uni:key:test-plan-targets-1",
                              "alg": "ed25519",
                              "publicKeyJwk": {
                                "kty": "OKP",
                                "crv": "Ed25519",
                                "x": "ZGcIke_UuBcv9nPPV-84rwwXjhnvU7Bwpb42pTtUJ0c"
                              }
                            },
                            {
                              "kid": "uni:key:test-plan-targets-2",
                              "alg": "ed25519",
                              "publicKeyJwk": {
                                "kty": "OKP",
                                "crv": "Ed25519",
                                "x": "z24QUEgozSoVJHxNEwpq4_iVD2M8F3kbkCnQb2H_jh4"
                              }
                            },
                            {
                              "kid": "uni:key:test-plan-timestamp-1",
                              "alg": "ed25519",
                              "publicKeyJwk": {
                                "kty": "OKP",
                                "crv": "Ed25519",
                                "x": "KsEmZgS3w-EUrZUyszRhfa7h2l_X91lt7zs1j8NaMfQ"
                              }
                            }
                          ],
                          "roles": {
                            "root": {
                              "keyIds": [
                                "uni:key:test-plan-root-1",
                                "uni:key:test-plan-root-2",
                                "uni:key:test-plan-root-3"
                              ],
                              "threshold": 2
                            },
                            "targets": {
                              "keyIds": [
                                "uni:key:test-plan-targets-1",
                                "uni:key:test-plan-targets-2"
                              ],
                              "threshold": 2
                            },
                            "snapshot": {
                              "keyIds": [
                                "uni:key:test-plan-snapshot-1"
                              ],
                              "threshold": 1
                            },
                            "timestamp": {
                              "keyIds": [
                                "uni:key:test-plan-timestamp-1"
                              ],
                              "threshold": 1
                            }
                          },
                          "signatures": [
                            {
                              "format": "COSE_Sign1",
                              "alg": "ed25519",
                              "kid": "uni:key:test-plan-root-1",
                              "canonicalization": "JCS",
                              "protected": "ogEyBFgYdW5pOmtleTp0ZXN0LXBsYW4tcm9vdC0x",
                              "signature": "vI8w5s8e8-etim7BmPCQODvs-EYeCrhM43ypEzTKJxIx8H2w8xTfykYyLvyXRcewKpUUYJwDg2NgqkOusd-EDw",
                              "payloadDigest": "sha256:84a6b4917f6f0188cc63d13efb5376953b55dbd4cc61122a2d4668b92ae509f5"
                            },
                            {
                              "format": "COSE_Sign1",
                              "alg": "ed25519",
                              "kid": "uni:key:test-plan-root-2",
                              "canonicalization": "JCS",
                              "protected": "ogEyBFgYdW5pOmtleTp0ZXN0LXBsYW4tcm9vdC0y",
                              "signature": "08KNCTjaUO6WtjWInrc4F4ni95QARX7u-V64cjja0FdKTVMRNHfAGYWU4dSAf1Q1-6y4TxnMqe_-E2jKKlnuBg",
                              "payloadDigest": "sha256:84a6b4917f6f0188cc63d13efb5376953b55dbd4cc61122a2d4668b92ae509f5"
                            }
                          ]
                        },
                        "snapshot": {
                          "version": 1,
                          "expires": "2026-08-15T00:00:00Z",
                          "plan": {
                            "planUni": "uni:plan:fixture0001",
                            "version": 1,
                            "payloadDigest": "sha256:654321e0fe52e3d5a4e1c4e49b73d6bd84df5f2bbb9c4bb4d26cb11b08344828"
                          },
                          "signatures": [
                            {
                              "format": "COSE_Sign1",
                              "alg": "ed25519",
                              "kid": "uni:key:test-plan-snapshot-1",
                              "canonicalization": "JCS",
                              "protected": "ogEyBFgcdW5pOmtleTp0ZXN0LXBsYW4tc25hcHNob3QtMQ",
                              "signature": "CpQsmEjlBX7qgA_-_hf43mHFR52D38vcDcA6a26JUJjzcH8k5EdOZ12tmohNYPbTsnjFSG7Yyvgwbj_XGoJxDw",
                              "payloadDigest": "sha256:bf8c9129845e9f0a7ef90e6a1cf8d40f5a91298b83f0ea0e15211f5f2491c95e"
                            }
                          ]
                        },
                        "timestamp": {
                          "version": 1,
                          "expires": "2026-08-06T00:00:00Z",
                          "snapshot": {
                            "version": 1,
                            "digest": "sha256:bf8c9129845e9f0a7ef90e6a1cf8d40f5a91298b83f0ea0e15211f5f2491c95e"
                          },
                          "signatures": [
                            {
                              "format": "COSE_Sign1",
                              "alg": "ed25519",
                              "kid": "uni:key:test-plan-timestamp-1",
                              "canonicalization": "JCS",
                              "protected": "ogEyBFgddW5pOmtleTp0ZXN0LXBsYW4tdGltZXN0YW1wLTE",
                              "signature": "2b2MtOthd1ZXivKu9Hw4D78KX4rPiqbUp0iEpdtxO1AsWLvGwTiY5tfTp2q9W8adBC36g7OQKZ6zHoBqtZaZAg",
                              "payloadDigest": "sha256:39f4558dde03e8e04a5ba90b2745187068cdcb9aa271910bac3e3cef2b49eea5"
                            }
                          ]
                        }
                      },
                      "signatures": [
                        {
                          "format": "COSE_Sign1",
                          "alg": "ed25519",
                          "kid": "uni:key:test-plan-targets-1",
                          "canonicalization": "JCS",
                          "protected": "ogEyBFgbdW5pOmtleTp0ZXN0LXBsYW4tdGFyZ2V0cy0x",
                          "signature": "IRxL-RjDzbl4fK6ygTSGhTGXhr4EcMp7HhaitFmPdFwb73NzU2QgN64Cz7L2hCl4L2r4-LlFiOMjWLqvReClBw",
                          "payloadDigest": "sha256:654321e0fe52e3d5a4e1c4e49b73d6bd84df5f2bbb9c4bb4d26cb11b08344828"
                        },
                        {
                          "format": "COSE_Sign1",
                          "alg": "ed25519",
                          "kid": "uni:key:test-plan-targets-2",
                          "canonicalization": "JCS",
                          "protected": "ogEyBFgbdW5pOmtleTp0ZXN0LXBsYW4tdGFyZ2V0cy0y",
                          "signature": "Z7fqvX07bTAxcrnIz3GQmf8hFR7rtRcY1qDxFkAmYTiRN9JQy7QtQ345SL6wNgBwEvBehBQzomWz-K8yuJlxBg",
                          "payloadDigest": "sha256:654321e0fe52e3d5a4e1c4e49b73d6bd84df5f2bbb9c4bb4d26cb11b08344828"
                        }
                      ]
                    },
                    "trusted": {
                      "root": {
                        "version": 1,
                        "expires": "2027-08-01T00:00:00Z",
                        "keys": [
                          {
                            "kid": "uni:key:test-plan-root-1",
                            "alg": "ed25519",
                            "publicKeyJwk": {
                              "kty": "OKP",
                              "crv": "Ed25519",
                              "x": "aX7bGc0DXmMfpQJOdv3dEqQdjmvaQ4p58W32qlBgK_o"
                            }
                          },
                          {
                            "kid": "uni:key:test-plan-root-2",
                            "alg": "ed25519",
                            "publicKeyJwk": {
                              "kty": "OKP",
                              "crv": "Ed25519",
                              "x": "IV-5L7P_5GZO_ENLkCSL4MoLidivcn8iPqbPgY-3YhE"
                            }
                          },
                          {
                            "kid": "uni:key:test-plan-root-3",
                            "alg": "ed25519",
                            "publicKeyJwk": {
                              "kty": "OKP",
                              "crv": "Ed25519",
                              "x": "nDjlbjZ0n9yYoywGxPn2g8P2PxG605IJHXfUoexRpgI"
                            }
                          },
                          {
                            "kid": "uni:key:test-plan-snapshot-1",
                            "alg": "ed25519",
                            "publicKeyJwk": {
                              "kty": "OKP",
                              "crv": "Ed25519",
                              "x": "vXJLIK7BrBTa4apTv-gB2IgVjAzoZbzJn8mDiq3N-Jw"
                            }
                          },
                          {
                            "kid": "uni:key:test-plan-targets-1",
                            "alg": "ed25519",
                            "publicKeyJwk": {
                              "kty": "OKP",
                              "crv": "Ed25519",
                              "x": "ZGcIke_UuBcv9nPPV-84rwwXjhnvU7Bwpb42pTtUJ0c"
                            }
                          },
                          {
                            "kid": "uni:key:test-plan-targets-2",
                            "alg": "ed25519",
                            "publicKeyJwk": {
                              "kty": "OKP",
                              "crv": "Ed25519",
                              "x": "z24QUEgozSoVJHxNEwpq4_iVD2M8F3kbkCnQb2H_jh4"
                            }
                          },
                          {
                            "kid": "uni:key:test-plan-timestamp-1",
                            "alg": "ed25519",
                            "publicKeyJwk": {
                              "kty": "OKP",
                              "crv": "Ed25519",
                              "x": "KsEmZgS3w-EUrZUyszRhfa7h2l_X91lt7zs1j8NaMfQ"
                            }
                          }
                        ],
                        "roles": {
                          "root": {
                            "keyIds": [
                              "uni:key:test-plan-root-1",
                              "uni:key:test-plan-root-2",
                              "uni:key:test-plan-root-3"
                            ],
                            "threshold": 2
                          },
                          "targets": {
                            "keyIds": [
                              "uni:key:test-plan-targets-1",
                              "uni:key:test-plan-targets-2"
                            ],
                            "threshold": 2
                          },
                          "snapshot": {
                            "keyIds": [
                              "uni:key:test-plan-snapshot-1"
                            ],
                            "threshold": 1
                          },
                          "timestamp": {
                            "keyIds": [
                              "uni:key:test-plan-timestamp-1"
                            ],
                            "threshold": 1
                          }
                        },
                        "signatures": [
                          {
                            "format": "COSE_Sign1",
                            "alg": "ed25519",
                            "kid": "uni:key:test-plan-root-1",
                            "canonicalization": "JCS",
                            "protected": "ogEyBFgYdW5pOmtleTp0ZXN0LXBsYW4tcm9vdC0x",
                            "signature": "vI8w5s8e8-etim7BmPCQODvs-EYeCrhM43ypEzTKJxIx8H2w8xTfykYyLvyXRcewKpUUYJwDg2NgqkOusd-EDw",
                            "payloadDigest": "sha256:84a6b4917f6f0188cc63d13efb5376953b55dbd4cc61122a2d4668b92ae509f5"
                          },
                          {
                            "format": "COSE_Sign1",
                            "alg": "ed25519",
                            "kid": "uni:key:test-plan-root-2",
                            "canonicalization": "JCS",
                            "protected": "ogEyBFgYdW5pOmtleTp0ZXN0LXBsYW4tcm9vdC0y",
                            "signature": "08KNCTjaUO6WtjWInrc4F4ni95QARX7u-V64cjja0FdKTVMRNHfAGYWU4dSAf1Q1-6y4TxnMqe_-E2jKKlnuBg",
                            "payloadDigest": "sha256:84a6b4917f6f0188cc63d13efb5376953b55dbd4cc61122a2d4668b92ae509f5"
                          }
                        ]
                      },
                      "accepted": [],
                      "metadataVersions": {}
                    },
                    "now": "2026-08-05T04:00:00Z"
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/verify/suit": {
      "post": {
        "operationId": "obp_verify_suit",
        "summary": "A firmware install decision under the SUIT binding (OIP-0028)",
        "description": "INSTALL, SKIP or REFUSE with the requirement ids of each refusal reason. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_suit",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "example": {
                      "_note": "Synthetic example: every value is invented for this binding; nothing here was measured or signed by a real device or service. ",
                      "context": {
                        "node": {
                          "vendorId": "de076572-f4ef-5c13-945d-328af0dd9026",
                          "classId": "be9c2600-e89e-55ff-aa3e-c1805c3ae43f",
                          "heldSequenceNumber": 0,
                          "deviceClass": "ndc.edge.compute-small"
                        },
                        "history": []
                      },
                      "plan": {
                        "planUni": "uni:plan:site001-fw-0001",
                        "version": 1,
                        "kind": "firmware",
                        "deploymentUni": "uni:deployment:site001-fw",
                        "target": {
                          "name": "firmware-main",
                          "digest": "sha256:e11ab3eaa289f76d077f04c3571514826f89daa68bc6094e18a745b86f14cfc6",
                          "length": 262144,
                          "suitManifest": {
                            "digest": "sha256:7737b6f276f157ea971a97e74376b78a774d7a921e070341bef117b2ba050ece",
                            "sequenceNumber": 1,
                            "uri": "https://updates.example.invalid/fw/1.suit"
                          }
                        }
                      },
                      "manifest": {
                        "native": {
                          "manifestVersion": 1,
                          "sequenceNumber": 1,
                          "vendorId": "de076572-f4ef-5c13-945d-328af0dd9026",
                          "classId": "be9c2600-e89e-55ff-aa3e-c1805c3ae43f",
                          "imageDigest": {
                            "alg": "sha-256",
                            "hex": "e11ab3eaa289f76d077f04c3571514826f89daa68bc6094e18a745b86f14cfc6"
                          },
                          "imageSize": 262144,
                          "component": [
                            "firmware",
                            "main"
                          ]
                        },
                        "authentication": {
                          "verified": true,
                          "kid": "uni:key:site001-firmware-authority-example"
                        },
                        "bytesDigest": "sha256:7737b6f276f157ea971a97e74376b78a774d7a921e070341bef117b2ba050ece"
                      },
                      "fetched": {
                        "imageDigest": "sha256:e11ab3eaa289f76d077f04c3571514826f89daa68bc6094e18a745b86f14cfc6"
                      },
                      "planSignatureVerified": true,
                      "decision": "INSTALL",
                      "report": {
                        "extensions": {
                          "suit.manifest": {
                            "digest": "sha256:7737b6f276f157ea971a97e74376b78a774d7a921e070341bef117b2ba050ece",
                            "sequenceNumber": 1
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/verify/sidecar": {
      "post": {
        "operationId": "obp_verify_sidecar",
        "summary": "Verify a detached evidence sidecar (OIP-0032)",
        "description": "A CF-NetCDF, BUFR edition 4, miniSEED 3 or RINEX 3/4 file (base64) and its sidecar: SC-PARSE, SC-FORMAT, SC-DIGEST, SC-BINDING, SC-INFILE, SC-SIGNATURE and SC-INCLUSION. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_sidecar",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "file": "QlVGUgAAUAQAABYAAP8AAAAAAP9uJgAH6gsVDAAAAAAbAAABgAEBAQIEAQQCBAMEBAQFBQEGAQxlAAATAI/zv1WqwBnYNgUUDINPWDc3Nzc=",
                    "sidecar": "W3siZXZpZGVuY2VSZWZzIjpbeyJkaWdlc3QiOiJzaGEyNTY6N2Y1Yzg3YTMzNzkyYmFmZWFiYmUwYjY0OTkxNDYyMWZkZWE1MzNiYTljYmYzNDI1NWU0NzQ4ZWNiNTBkYzc4OCIsImtpbmQiOiJvYnNwLXNpZGVjYXItc3ViamVjdCIsInVyaSI6InN5bm9wLmJ1ZnIifSx7ImRpZ2VzdCI6InNoYTI1NjpkYWYxZWQ2MjViZGYyMmFlM2QzNDYyNDEyNThhY2FjNjI1MWEwOTlkM2ExMWQyMTUwZmRkNzk1YTZkMjgxY2VkIiwia2luZCI6InNvdXJjZS1yZWxlYXNlIiwidXJpIjoidW5pOnJlbGVhc2U6b2JzcC10ZXN0L29pcC0wMDMyL3N5bm9wIn1dLCJleHRlbnNpb25zIjp7Im9ic3Auc2lkZWNhciI6eyJkaWdlc3RTY29wZSI6IldIT0xFX0ZJTEUiLCJmYWN0cyI6eyJjZW50cmUiOjI1NSwiZGF0YUNhdGVnb3J5IjowLCJsb2NhbFRhYmxlVmVyc2lvbiI6MCwibWFzdGVyVGFibGUiOjAsIm1hc3RlclRhYmxlVmVyc2lvbiI6MzgsIm1lc3NhZ2VzIjoxLCJ0eXBpY2FsVGltZSI6IjIwMjYtMTEtMjFUMTI6MDA6MDBaIiwidW5leHBhbmRlZERlc2NyaXB0b3JzIjpbIjAwMTAwMSIsIjAwMTAwMiIsIjAwNDAwMSIsIjAwNDAwMiIsIjAwNDAwMyIsIjAwNDAwNCIsIjAwNDAwNSIsIjAwNTAwMSIsIjAwNjAwMSIsIjAxMjEwMSJdfSwiZmlsZU5hbWUiOiJzeW5vcC5idWZyIiwiZm9ybWF0IjoiV01PX0JVRlI0IiwiZm9ybWF0VmVyc2lvbiI6IjQifX0sIm9ic2VydmF0aW9uVW5pIjoidW5pOm9iczpvYnNwLXRlc3Qvb2lwLTAwMzIvc3lub3AiLCJvYnNlcnZlZFByb3BlcnR5IjoiYWlyX3RlbXBlcmF0dXJlIiwicmVzdWx0Ijp7ImRhdGFGaWxlIjoic3lub3AuYnVmciIsImRpZ2VzdCI6InNoYTI1Njo3ZjVjODdhMzM3OTJiYWZlYWJiZTBiNjQ5OTE0NjIxZmRlYTUzM2JhOWNiZjM0MjU1ZTQ3NDhlY2I1MGRjNzg4IiwibWVkaWFUeXBlIjoiYXBwbGljYXRpb24vYnVmciJ9LCJyZXN1bHRTdGF0ZSI6IlBSRVNFTlQiLCJyZXN1bHRUaW1lIjoiMjAyNi0xMS0yMVQxMjowMDowMFoiLCJzY2hlbWFWZXJzaW9uIjoiMy4xLjAiLCJzaWduYXR1cmUiOnsiYWxnIjoiZWQyNTUxOSIsImNhbm9uaWNhbGl6YXRpb24iOiJKQ1MiLCJmb3JtYXQiOiJDT1NFX1NpZ24xIiwia2lkIjoidW5pOmtleTpvYnNwLXRlc3Qvb2lwLTAwMzItc2lnbmVyIiwicGF5bG9hZERpZ2VzdCI6InNoYTI1NjoyMzNiYTZmZGZlYmZmYmIxYTQ4MTg5NzNkMmIxYjQyYTc2OGQ1NTQ5YmUyYzBjNjhhMjlkMTExMTdjODg1YWYxIiwicHJvdGVjdGVkIjoib2dFeUJGZ2hkVzVwT210bGVUcHZZbk53TFhSbGMzUXZiMmx3TFRBd016SXRjMmxuYm1WeSIsInNpZ25hdHVyZSI6ImtIdlo5X0hUdF9TRFZCb1FfV1lwUUx3QW55Mi0yRlhrQkRfT1dNdGctenFGRk5RbjRlbHhERFFqem9rN0NsejFRdFBsdlE4WTdmbVFkNnJzNnlPUENRIn0sInN5c3RlbVVuaSI6InVuaTpub2RlOm9ic3AtdGVzdC9vaXAtMDAzMi1ub2RlIn0seyJhY3F1aXJlZEF0IjoiMjAyNi0xMS0yMVQxMjowMDowMFoiLCJjbGFpbSI6IkZJTEVfSU5URUdSSVRZX0FORF9PUklHSU5fTk9UX1NDSUVOVElGSUNfVkFMSURJVFkiLCJjb250ZW50RGlnZXN0Ijoic2hhMjU2OjdmNWM4N2EzMzc5MmJhZmVhYmJlMGI2NDk5MTQ2MjFmZGVhNTMzYmE5Y2JmMzQyNTVlNDc0OGVjYjUwZGM3ODgiLCJjb250ZW50TGVuZ3RoIjo4MCwiY29ycmVjdGlvblN0YXRlIjoiQ1VSUkVOVCIsImRpc3RyaWJ1dGlvblJlZiI6InN5bm9wLmJ1ZnIiLCJtZWRpYVR5cGUiOiJhcHBsaWNhdGlvbi9idWZyIiwicmVjb3JkZWRBdCI6IjIwMjYtMTEtMjFUMTI6MDA6MDBaIiwicmlnaHRzU3RhdGUiOiJVTktOT1dOIiwic2NoZW1hVmVyc2lvbiI6IjMuMS4wIiwic291cmNlUmVsZWFzZVVuaSI6InVuaTpyZWxlYXNlOm9ic3AtdGVzdC9vaXAtMDAzMi9zeW5vcCIsInNvdXJjZVVuaSI6InVuaTpzb3VyY2U6b2JzcC10ZXN0L29pcC0wMDMyIn0seyJhbGciOiJlZDI1NTE5IiwiYXBpVmVyc2lvbiI6Im9ic3Ava2V5LXJlY29yZC92My4xIiwiY29udHJvbGxlciI6eyJyb2xlIjoiTk9ERSIsInVuaSI6InVuaTpub2RlOm9ic3AtdGVzdC9vaXAtMDAzMi1ub2RlIn0sImN1c3RvZHkiOiJTT0ZUV0FSRSIsImtleVVuaSI6InVuaTprZXk6b2JzcC10ZXN0L29pcC0wMDMyLXNpZ25lciIsImtpbmQiOiJLZXlSZWNvcmQiLCJvYmplY3RDbGFzc2VzIjpbIm9ic2VydmF0aW9uIl0sInByb3RvY29sVmVyc2lvbiI6Im9ic3AvMC4xIiwicHVibGljS2V5SndrIjp7ImNydiI6IkVkMjU1MTkiLCJrdHkiOiJPS1AiLCJ4IjoiZzlkYVJfa3I4eDFUbjliVDZQRWlwa3poZUxpQ05CVUY0ZEFjN0FJenpOVSJ9LCJyZWNvcmRlZEF0IjoiMjAyNi0xMS0yMVQwMDowMDowMFoiLCJzY2hlbWFWZXJzaW9uIjoiMy4xLjAiLCJzdGF0dXMiOiJBQ1RJVkUiLCJ0ZXN0T25seSI6dHJ1ZSwidmFsaWRGcm9tIjoiMjAyNi0xMS0yMVQwMDowMDowMFoifV0=",
                    "anchors": [
                      {
                        "schemaVersion": "3.1.0",
                        "apiVersion": "obsp/key-record/v3.1",
                        "kind": "KeyRecord",
                        "protocolVersion": "obsp/0.1",
                        "keyUni": "uni:key:obsp-test/oip-0032-signer",
                        "alg": "ed25519",
                        "publicKeyJwk": {
                          "kty": "OKP",
                          "crv": "Ed25519",
                          "x": "g9daR_kr8x1Tn9bT6PEipkzheLiCNBUF4dAc7AIzzNU"
                        },
                        "controller": {
                          "role": "NODE",
                          "uni": "uni:node:obsp-test/oip-0032-node"
                        },
                        "objectClasses": [
                          "observation"
                        ],
                        "custody": "SOFTWARE",
                        "status": "ACTIVE",
                        "validFrom": "2026-11-21T00:00:00Z",
                        "testOnly": true,
                        "recordedAt": "2026-11-21T00:00:00Z"
                      }
                    ],
                    "receipt": null,
                    "trustedRoot": null
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/verify/gnss": {
      "post": {
        "operationId": "obp_verify_gnss",
        "summary": "Evaluate GNSS, NTS and Roughtime evidence (OIP-0033)",
        "description": "The GnssEvidence document the evaluator writes from the inputs, with one check per evidence input, the time trust decision and the location qualification. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_gnss",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_GNSS_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_GNSS_INPUT"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "input": {
                      "_description": "an AGC drop over the policy: jamming suspected, untrusted",
                      "assessedAt": "2026-11-17T09:46:40Z",
                      "gnssEvidenceUni": "uni:gnss-evidence:site001-node01-0007",
                      "holdover": "LOCKED",
                      "indicators": {
                        "agcBaselineDb": 43,
                        "agcDb": 30,
                        "clockJumpNs": 12,
                        "cn0DropDb": 1.5,
                        "cn0SpreadDbHz": 6.2,
                        "constellationDisagreementM": 2.1,
                        "positionJumpM": 0.4
                      },
                      "nodeUni": "uni:node:site001-node01",
                      "nts": {
                        "dispersionNs": 500000,
                        "keResponse": "80010002000000040002000f000500136f6273702d746573742d636f6f6b69652d3030000500136f6273702d746573742d636f6f6b69652d3031000500136f6273702d746573742d636f6f6b69652d3032000500136f6273702d746573742d636f6f6b69652d3033000500136f6273702d746573742d636f6f6b69652d3034000500136f6273702d746573742d636f6f6b69652d3035000500136f6273702d746573742d636f6f6b69652d3036000500136f6273702d746573742d636f6f6b69652d30370006000f6e74732e6578616d706c652e6f726780000000",
                        "ntpAuthenticated": true,
                        "offsetNs": 250000000,
                        "roundTripNs": 2000000
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/evaluate/trigger": {
      "post": {
        "operationId": "obp_evaluate_trigger",
        "summary": "Evaluate a trigger definition deterministically (OIP-0018)",
        "description": "MET, NOT_MET or INSUFFICIENT_EVIDENCE from the definition and the inputs (correctly rounded sums, half-to-even to six places); with a recorded evaluation, TRG-7 (reproduces) and TRG-6 (names its definition). No payout, rating or advice. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.evaluate_trigger",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "definition": {
                      "schemaVersion": "3.1.0",
                      "apiVersion": "obsp/trigger-definition/v3.1",
                      "kind": "TriggerDefinition",
                      "protocolVersion": "obsp/0.1",
                      "triggerUni": "uni:trigger:flash-flood-compound",
                      "version": 1,
                      "title": "Heavy rain on wet soil, or a high river",
                      "owner": {
                        "role": "GRID_OPERATOR",
                        "participantUni": "uni:participant:grid-operator-0001"
                      },
                      "basis": "observed",
                      "subject": {
                        "observedProperty": "river_water_level",
                        "unit": "m"
                      },
                      "condition": {
                        "kind": "compound",
                        "mode": "any",
                        "conditions": [
                          {
                            "kind": "compound",
                            "mode": "all",
                            "conditions": [
                              {
                                "kind": "threshold",
                                "aggregate": "sum",
                                "op": "ge",
                                "value": 50,
                                "unit": "mm",
                                "observedProperty": "precipitation_amount"
                              },
                              {
                                "kind": "percentile",
                                "percentile": 90,
                                "op": "ge",
                                "value": 0.35,
                                "unit": "m3/m3",
                                "observedProperty": "soil_moisture"
                              }
                            ]
                          },
                          {
                            "kind": "threshold",
                            "aggregate": "max",
                            "op": "ge",
                            "value": 4.2,
                            "unit": "m"
                          }
                        ]
                      },
                      "window": {
                        "durationSeconds": 86400
                      },
                      "minimumEvidence": 2,
                      "spatialScope": {
                        "bbox": [
                          -76,
                          45,
                          -75,
                          46
                        ]
                      },
                      "qualityRequirement": {
                        "acceptedFlags": [
                          "GOOD"
                        ],
                        "requireTrustedTime": true
                      },
                      "originsAllowed": [
                        "MEASURED"
                      ],
                      "issuedAt": "2026-11-01T00:00:00Z",
                      "signature": {
                        "format": "COSE_Sign1",
                        "alg": "ed25519",
                        "kid": "uni:key:grid-operator-triggers-1",
                        "canonicalization": "JCS",
                        "protected": "ogEndBBSdW5pOmtleTpncmlkLW9wZXJhdG9yLXRyaWdnZXJzLTE",
                        "signature": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB",
                        "payloadDigest": "sha256:8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b8b"
                      }
                    },
                    "inputs": [
                      {
                        "ref": {
                          "recordUni": "uni:obs:vec-0023",
                          "recordVersion": "1",
                          "digest": "sha256:67f190ef9dd1401f50a113070ed1666f50b359266c5b997264556de52724fa6b"
                        },
                        "unit": "mm",
                        "value": 20,
                        "resultTime": "2026-11-15T01:00:00Z",
                        "origin": "MEASURED",
                        "flags": [
                          "GOOD"
                        ],
                        "timeTrusted": true,
                        "location": [
                          -75.7,
                          45.4
                        ],
                        "geocodes": [],
                        "featureOfInterestUni": null,
                        "systemUni": "uni:sys:gauge-0001",
                        "observedProperty": "precipitation_amount"
                      },
                      {
                        "ref": {
                          "recordUni": "uni:obs:vec-0024",
                          "recordVersion": "1",
                          "digest": "sha256:5e0e200bcf19abb1d48d17104648fe27033ce64e6850e167178b0a4ff5330c8c"
                        },
                        "unit": "mm",
                        "value": 32,
                        "resultTime": "2026-11-15T05:00:00Z",
                        "origin": "MEASURED",
                        "flags": [
                          "GOOD"
                        ],
                        "timeTrusted": true,
                        "location": [
                          -75.7,
                          45.4
                        ],
                        "geocodes": [],
                        "featureOfInterestUni": null,
                        "systemUni": "uni:sys:gauge-0001",
                        "observedProperty": "precipitation_amount"
                      },
                      {
                        "ref": {
                          "recordUni": "uni:obs:vec-0025",
                          "recordVersion": "1",
                          "digest": "sha256:5104060c70d57ebe704895208bc20d0261ab5bae57032990d999a0559455509f"
                        },
                        "unit": "m3/m3",
                        "value": 0.31,
                        "resultTime": "2026-11-15T02:00:00Z",
                        "origin": "MEASURED",
                        "flags": [
                          "GOOD"
                        ],
                        "timeTrusted": true,
                        "location": [
                          -75.7,
                          45.4
                        ],
                        "geocodes": [],
                        "featureOfInterestUni": null,
                        "systemUni": "uni:sys:gauge-0001",
                        "observedProperty": "soil_moisture"
                      },
                      {
                        "ref": {
                          "recordUni": "uni:obs:vec-0026",
                          "recordVersion": "1",
                          "digest": "sha256:98660404a7b7ca08b06486e49d90d2a28b2248cda83f6948d68c2a324ab61e24"
                        },
                        "unit": "m3/m3",
                        "value": 0.36,
                        "resultTime": "2026-11-15T06:00:00Z",
                        "origin": "MEASURED",
                        "flags": [
                          "GOOD"
                        ],
                        "timeTrusted": true,
                        "location": [
                          -75.7,
                          45.4
                        ],
                        "geocodes": [],
                        "featureOfInterestUni": null,
                        "systemUni": "uni:sys:gauge-0001",
                        "observedProperty": "soil_moisture"
                      },
                      {
                        "ref": {
                          "recordUni": "uni:obs:vec-0027",
                          "recordVersion": "1",
                          "digest": "sha256:137287d80c5efe051745770f67cf556cbbd433450576d72953071960a9ecbbd1"
                        },
                        "unit": "m3/m3",
                        "value": 0.38,
                        "resultTime": "2026-11-15T10:00:00Z",
                        "origin": "MEASURED",
                        "flags": [
                          "GOOD"
                        ],
                        "timeTrusted": true,
                        "location": [
                          -75.7,
                          45.4
                        ],
                        "geocodes": [],
                        "featureOfInterestUni": null,
                        "systemUni": "uni:sys:gauge-0001",
                        "observedProperty": "soil_moisture"
                      },
                      {
                        "ref": {
                          "recordUni": "uni:obs:vec-0028",
                          "recordVersion": "1",
                          "digest": "sha256:3b1ecb5b3de31d8635705dfc18b992ad1c5c4b41c6c44531b788e28b83809fdc"
                        },
                        "unit": "m",
                        "value": 3.9,
                        "resultTime": "2026-11-15T09:00:00Z",
                        "origin": "MEASURED",
                        "flags": [
                          "GOOD"
                        ],
                        "timeTrusted": true,
                        "location": [
                          -75.7,
                          45.4
                        ],
                        "geocodes": [],
                        "featureOfInterestUni": null,
                        "systemUni": "uni:sys:gauge-0001",
                        "observedProperty": "river_water_level"
                      }
                    ],
                    "evaluatedAt": "2026-11-15T12:00:00Z"
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/verify/sensorthings": {
      "post": {
        "operationId": "obp_verify_sensorthings",
        "summary": "Evidence for an OGC SensorThings API Observation",
        "description": "An OGC SensorThings API 1.1 Observation and the OBSP record it is derived from (plus that record's evidence set): the OIP-0024 draft binding checks (BND-SENSORTHINGS-01, -02, -08 to -11) and the record's evidence. OBSP is the evidence layer a SensorThings server can add; it never replaces it. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_sensorthings",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "observation": {
                      "@iot.id": "uni:obs:example-0001",
                      "phenomenonTime": "2026-08-08T20:50:00Z",
                      "resultTime": "2026-08-08T20:50:00Z",
                      "result": 21.5,
                      "parameters": {
                        "obsp:origin": "MEASURED",
                        "obsp:subjectClass": "NONE",
                        "obsp:procedure": "uni:procedure:air-temperature-1min-mean@2",
                        "obsp:digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
                        "obsp:evidence": [
                          {
                            "uri": "evidence://example/1",
                            "digest": "sha256:1111111111111111111111111111111111111111111111111111111111111111"
                          }
                        ],
                        "obsp:resultState": "PRESENT"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/verify/connected-systems": {
      "post": {
        "operationId": "obp_verify_connected_systems",
        "summary": "Evidence for an OGC API Connected Systems Observation",
        "description": "An OGC API Connected Systems Part 2 Observation and the OBSP record it is derived from: the OIP-0024 draft binding checks (BND-CONNECTEDSYSTEMS-01, -02, -09 to -12) and the record's evidence. OBSP is the evidence layer a Connected Systems server can add; it never replaces it. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.verify_connected_systems",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "observation": {
                      "id": "uni:obs:example-0001",
                      "datastream@id": "ds-example",
                      "phenomenonTime": "2026-08-08T20:50:00Z",
                      "resultTime": "2026-08-08T20:50:00Z",
                      "result": 21.5,
                      "parameters": {
                        "obsp:origin": "MEASURED",
                        "obsp:subjectClass": "NONE",
                        "obsp:procedure": "uni:procedure:air-temperature-1min-mean@2",
                        "obsp:digest": "sha256:0000000000000000000000000000000000000000000000000000000000000000",
                        "obsp:evidence": [
                          {
                            "uri": "evidence://example/1",
                            "digest": "sha256:1111111111111111111111111111111111111111111111111111111111111111"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/check/wis2-notification": {
      "post": {
        "operationId": "obp_check_wis2_notification",
        "summary": "Check a WIS2 notification message and the evidence it links to",
        "description": "Structure and integrity of a WIS2 notification message, and the OBSP evidence it links to: identity, time quality, quality flags and signature. The answer (supports ADMIT, HOLD or REJECT) can inform the publisher's own decision to admit third-party or crowdsourced observations. A self-assessment, never an approval by WMO. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.check_wis2_notification",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "notification": {
                      "id": "6f1d2b1e-7c3a-4d4e-9a55-0d6b8b9e0a11",
                      "type": "Feature",
                      "conformsTo": [
                        "http://wis.wmo.int/spec/wnm/1/conf/core"
                      ],
                      "geometry": null,
                      "properties": {
                        "data_id": "example/obsp/observation/0001",
                        "pubtime": "2026-08-08T20:51:00Z",
                        "datetime": "2026-08-08T20:50:00Z",
                        "integrity": {
                          "method": "sha256",
                          "value": "n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg="
                        }
                      },
                      "links": [
                        {
                          "rel": "canonical",
                          "href": "https://example.invalid/data/0001.json",
                          "type": "application/json"
                        }
                      ]
                    },
                    "data": "dGVzdA=="
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/corroborate": {
      "post": {
        "operationId": "obp_corroborate",
        "summary": "Corroborate observations from independent nodes",
        "description": "N observations of one property, area and time: independent nodes, agreement, outliers (Hampel identifier on the node medians) and the evidence state of each; thresholds through the OIP-0018 trigger evaluator when a definition is given. Neighbour consistency against spoofing and basis risk; no payout, rating or advice. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.corroborate",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "property": "air_temperature",
                    "unit": "Cel",
                    "observations": [
                      {
                        "node": "uni:node:a",
                        "value": 21.4
                      },
                      {
                        "node": "uni:node:b",
                        "value": 21.6
                      },
                      {
                        "node": "uni:node:c",
                        "value": 21.5
                      },
                      {
                        "node": "uni:node:d",
                        "value": 35
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/provenance": {
      "post": {
        "operationId": "obp_provenance",
        "summary": "The compact provenance object for a value",
        "description": "Record UNI, version, digest, evidence state and log receipt state: the object the Index, Risk Graph and Standards APIs attach to every value they serve (schema GET /v1/provenance/schema). Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.provenance",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ProvenanceObject"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "record": {
                      "schemaVersion": "3.1.0",
                      "apiVersion": "obsp/correction-notice/v3.1",
                      "kind": "CorrectionNotice",
                      "protocolVersion": "obsp/0.1",
                      "noticeUni": "uni:correction-notice:site001-0001",
                      "correctedRecord": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "1",
                        "recordKind": "observation-record",
                        "digest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
                      },
                      "transition": {
                        "from": "CURRENT",
                        "to": "SUPERSEDED"
                      },
                      "supersededBy": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "2",
                        "digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
                      },
                      "reason": {
                        "code": "CALIBRATION_ERROR",
                        "text": "Calibration coefficient applied from the expired record; recomputed with the current one."
                      },
                      "issuer": {
                        "role": "GRID_OPERATOR",
                        "uni": "uni:grid-operator:0001"
                      },
                      "dependants": [
                        {
                          "uni": "uni:product:site001-daily-temp",
                          "version": "7",
                          "recordKind": "product-manifest",
                          "action": "RECOMPUTE"
                        }
                      ],
                      "issuedAt": "2026-10-27T10:00:05Z",
                      "evidenceRefs": [
                        {
                          "uri": "evidence://site001/correction/0001",
                          "digest": "sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
                          "kind": "fixture"
                        }
                      ],
                      "recordedAt": "2026-10-27T10:00:05Z",
                      "signature": {
                        "format": "COSE_Sign1",
                        "alg": "ed25519",
                        "kid": "uni:key:test-ed25519-1",
                        "canonicalization": "JCS",
                        "protected": "ogEyBFZ1bmk6a2V5OnRlc3QtZWQyNTUxOS0x",
                        "payloadDigest": "sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85",
                        "signature": "_Rumto4MbuxTgOiDrh6-hSCtfnUOsUp-3pq2KwY6uivscWknMyfcJXtHwssxdEPH1x3nippKunZSIB5H7KziBw",
                        "signerRole": "GRID_OPERATOR"
                      }
                    },
                    "documents": [
                      {
                        "name": "correction-notice.es256.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/correction-notice/v3.1\",\n  \"kind\": \"CorrectionNotice\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"noticeUni\": \"uni:correction-notice:site001-0001\",\n  \"correctedRecord\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"1\",\n    \"recordKind\": \"observation-record\",\n    \"digest\": \"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n  },\n  \"transition\": {\n    \"from\": \"CURRENT\",\n    \"to\": \"SUPERSEDED\"\n  },\n  \"supersededBy\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"2\",\n    \"digest\": \"sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd\"\n  },\n  \"reason\": {\n    \"code\": \"CALIBRATION_ERROR\",\n    \"text\": \"Calibration coefficient applied from the expired record; recomputed with the current one.\"\n  },\n  \"issuer\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"dependants\": [\n    {\n      \"uni\": \"uni:product:site001-daily-temp\",\n      \"version\": \"7\",\n      \"recordKind\": \"product-manifest\",\n      \"action\": \"RECOMPUTE\"\n    }\n  ],\n  \"issuedAt\": \"2026-10-27T10:00:05Z\",\n  \"evidenceRefs\": [\n    {\n      \"uri\": \"evidence://site001/correction/0001\",\n      \"digest\": \"sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\",\n      \"kind\": \"fixture\"\n    }\n  ],\n  \"recordedAt\": \"2026-10-27T10:00:05Z\",\n  \"signature\": {\n    \"format\": \"COSE_Sign1\",\n    \"alg\": \"es256\",\n    \"kid\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU\",\n    \"canonicalization\": \"JCS\",\n    \"protected\": \"ogEoBFhYdXJuOmlldGY6cGFyYW1zOm9hdXRoOmp3ay10aHVtYnByaW50OnNoYS0yNTY6aFBhTkh1a2hOb0tSenVpek1yU21kS0N2Ykhlc1JnR0EwRm9PWXJ3d25MVQ\",\n    \"payloadDigest\": \"sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85\",\n    \"signature\": \"6SNtl7voN0mgEVCVo_Vj_1pbKOCprU9oUWL0g4jpkbSWxs9wwJNfL_VR-buENSzUvcdB_rMa4Qpqr3u_XUn_Lw\",\n    \"signerRole\": \"GRID_OPERATOR\"\n  }\n}\n"
                      },
                      {
                        "name": "key-record.test-ed25519-1.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-ed25519-1\",\n  \"alg\": \"ed25519\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:6zMUlj0eNKZGNbYN-nS5u1eAI-orctbBC-HNEgHg1bU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"OKP\",\n    \"crv\": \"Ed25519\",\n    \"x\": \"4EyCdifDCZI2x64XKnGavtLQuI1--5ALBsUGu0O3yXU\"\n  },\n  \"controller\": {\n    \"role\": \"VERIFIER\",\n    \"uni\": \"uni:verifier:site001-site\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      },
                      {
                        "name": "key-record.test-es256-2.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-es256-2\",\n  \"alg\": \"es256\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"EC\",\n    \"crv\": \"P-256\",\n    \"x\": \"Wm4G2R3Lz1yrTtQWDLCcWN2bLQkHjctcknLFMKAxwvc\",\n    \"y\": \"YNPWs2YedRT0InKvJGgFDJGI8-9rQYVy3FxsnKfRwDc\"\n  },\n  \"controller\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/provenance/schema": {
      "get": {
        "operationId": "obp_provenance_schema",
        "summary": "JSON Schema of the compact provenance object",
        "description": "The contract other network APIs attach to served values (the Index provenance join, position P4); generated into contracts/services/protocol-api/provenance-object.v1.json. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.provenance_schema",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/JsonSchemaDocument"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/export/{format}": {
      "post": {
        "operationId": "obp_export",
        "summary": "Export a verification result as Data Provenance Standards metadata or C2PA assertions",
        "description": "Read only. dps: the Data Provenance Standards source, provenance and use fields; c2pa: assertions for imagery (OIP-0026), not a signed manifest. Every field says whether its value was checked; the target field names were not checked against the source documents in this build. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.export",
        "parameters": [
          {
            "name": "format",
            "in": "path",
            "required": true,
            "description": "dps or c2pa",
            "schema": {
              "type": "string"
            },
            "example": "dps"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ExportResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "record": {
                      "schemaVersion": "3.1.0",
                      "apiVersion": "obsp/correction-notice/v3.1",
                      "kind": "CorrectionNotice",
                      "protocolVersion": "obsp/0.1",
                      "noticeUni": "uni:correction-notice:site001-0001",
                      "correctedRecord": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "1",
                        "recordKind": "observation-record",
                        "digest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
                      },
                      "transition": {
                        "from": "CURRENT",
                        "to": "SUPERSEDED"
                      },
                      "supersededBy": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "2",
                        "digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
                      },
                      "reason": {
                        "code": "CALIBRATION_ERROR",
                        "text": "Calibration coefficient applied from the expired record; recomputed with the current one."
                      },
                      "issuer": {
                        "role": "GRID_OPERATOR",
                        "uni": "uni:grid-operator:0001"
                      },
                      "dependants": [
                        {
                          "uni": "uni:product:site001-daily-temp",
                          "version": "7",
                          "recordKind": "product-manifest",
                          "action": "RECOMPUTE"
                        }
                      ],
                      "issuedAt": "2026-10-27T10:00:05Z",
                      "evidenceRefs": [
                        {
                          "uri": "evidence://site001/correction/0001",
                          "digest": "sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
                          "kind": "fixture"
                        }
                      ],
                      "recordedAt": "2026-10-27T10:00:05Z",
                      "signature": {
                        "format": "COSE_Sign1",
                        "alg": "ed25519",
                        "kid": "uni:key:test-ed25519-1",
                        "canonicalization": "JCS",
                        "protected": "ogEyBFZ1bmk6a2V5OnRlc3QtZWQyNTUxOS0x",
                        "payloadDigest": "sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85",
                        "signature": "_Rumto4MbuxTgOiDrh6-hSCtfnUOsUp-3pq2KwY6uivscWknMyfcJXtHwssxdEPH1x3nippKunZSIB5H7KziBw",
                        "signerRole": "GRID_OPERATOR"
                      }
                    },
                    "documents": [
                      {
                        "name": "correction-notice.es256.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/correction-notice/v3.1\",\n  \"kind\": \"CorrectionNotice\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"noticeUni\": \"uni:correction-notice:site001-0001\",\n  \"correctedRecord\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"1\",\n    \"recordKind\": \"observation-record\",\n    \"digest\": \"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n  },\n  \"transition\": {\n    \"from\": \"CURRENT\",\n    \"to\": \"SUPERSEDED\"\n  },\n  \"supersededBy\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"2\",\n    \"digest\": \"sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd\"\n  },\n  \"reason\": {\n    \"code\": \"CALIBRATION_ERROR\",\n    \"text\": \"Calibration coefficient applied from the expired record; recomputed with the current one.\"\n  },\n  \"issuer\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"dependants\": [\n    {\n      \"uni\": \"uni:product:site001-daily-temp\",\n      \"version\": \"7\",\n      \"recordKind\": \"product-manifest\",\n      \"action\": \"RECOMPUTE\"\n    }\n  ],\n  \"issuedAt\": \"2026-10-27T10:00:05Z\",\n  \"evidenceRefs\": [\n    {\n      \"uri\": \"evidence://site001/correction/0001\",\n      \"digest\": \"sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\",\n      \"kind\": \"fixture\"\n    }\n  ],\n  \"recordedAt\": \"2026-10-27T10:00:05Z\",\n  \"signature\": {\n    \"format\": \"COSE_Sign1\",\n    \"alg\": \"es256\",\n    \"kid\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU\",\n    \"canonicalization\": \"JCS\",\n    \"protected\": \"ogEoBFhYdXJuOmlldGY6cGFyYW1zOm9hdXRoOmp3ay10aHVtYnByaW50OnNoYS0yNTY6aFBhTkh1a2hOb0tSenVpek1yU21kS0N2Ykhlc1JnR0EwRm9PWXJ3d25MVQ\",\n    \"payloadDigest\": \"sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85\",\n    \"signature\": \"6SNtl7voN0mgEVCVo_Vj_1pbKOCprU9oUWL0g4jpkbSWxs9wwJNfL_VR-buENSzUvcdB_rMa4Qpqr3u_XUn_Lw\",\n    \"signerRole\": \"GRID_OPERATOR\"\n  }\n}\n"
                      },
                      {
                        "name": "key-record.test-ed25519-1.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-ed25519-1\",\n  \"alg\": \"ed25519\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:6zMUlj0eNKZGNbYN-nS5u1eAI-orctbBC-HNEgHg1bU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"OKP\",\n    \"crv\": \"Ed25519\",\n    \"x\": \"4EyCdifDCZI2x64XKnGavtLQuI1--5ALBsUGu0O3yXU\"\n  },\n  \"controller\": {\n    \"role\": \"VERIFIER\",\n    \"uni\": \"uni:verifier:site001-site\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      },
                      {
                        "name": "key-record.test-es256-2.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-es256-2\",\n  \"alg\": \"es256\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"EC\",\n    \"crv\": \"P-256\",\n    \"x\": \"Wm4G2R3Lz1yrTtQWDLCcWN2bLQkHjctcknLFMKAxwvc\",\n    \"y\": \"YNPWs2YedRT0InKvJGgFDJGI8-9rQYVy3FxsnKfRwDc\"\n  },\n  \"controller\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "path": {
            "format": "dps"
          },
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/evidence/bundle": {
      "post": {
        "operationId": "obp_evidence_bundle_create",
        "summary": "Create a portable evidence bundle",
        "description": "Verifies a record set (and its inclusion receipts, against the log key and witness policy you give), then returns one bundle: the documents with their byte digests, the trust checked against, the receipts, the verifier's result, a manifest digest and, when a service key is configured, an OIP-0008 envelope over the manifest. Anyone re-verifies it offline with POST /v1/evidence/bundle/verify or node dist/src/verify-bundle.js. Format obp-evidence-bundle/v0 is this API's design; no change proposal defines a bundle yet. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.evidence_bundle_create",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/BundleCreated"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "record": {
                      "schemaVersion": "3.1.0",
                      "apiVersion": "obsp/correction-notice/v3.1",
                      "kind": "CorrectionNotice",
                      "protocolVersion": "obsp/0.1",
                      "noticeUni": "uni:correction-notice:site001-0001",
                      "correctedRecord": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "1",
                        "recordKind": "observation-record",
                        "digest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
                      },
                      "transition": {
                        "from": "CURRENT",
                        "to": "SUPERSEDED"
                      },
                      "supersededBy": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "2",
                        "digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
                      },
                      "reason": {
                        "code": "CALIBRATION_ERROR",
                        "text": "Calibration coefficient applied from the expired record; recomputed with the current one."
                      },
                      "issuer": {
                        "role": "GRID_OPERATOR",
                        "uni": "uni:grid-operator:0001"
                      },
                      "dependants": [
                        {
                          "uni": "uni:product:site001-daily-temp",
                          "version": "7",
                          "recordKind": "product-manifest",
                          "action": "RECOMPUTE"
                        }
                      ],
                      "issuedAt": "2026-10-27T10:00:05Z",
                      "evidenceRefs": [
                        {
                          "uri": "evidence://site001/correction/0001",
                          "digest": "sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
                          "kind": "fixture"
                        }
                      ],
                      "recordedAt": "2026-10-27T10:00:05Z",
                      "signature": {
                        "format": "COSE_Sign1",
                        "alg": "ed25519",
                        "kid": "uni:key:test-ed25519-1",
                        "canonicalization": "JCS",
                        "protected": "ogEyBFZ1bmk6a2V5OnRlc3QtZWQyNTUxOS0x",
                        "payloadDigest": "sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85",
                        "signature": "_Rumto4MbuxTgOiDrh6-hSCtfnUOsUp-3pq2KwY6uivscWknMyfcJXtHwssxdEPH1x3nippKunZSIB5H7KziBw",
                        "signerRole": "GRID_OPERATOR"
                      }
                    },
                    "documents": [
                      {
                        "name": "record.json",
                        "text": "{\"schemaVersion\":\"3.1.0\",\"apiVersion\":\"obsp/correction-notice/v3.1\",\"kind\":\"CorrectionNotice\",\"protocolVersion\":\"obsp/0.1\",\"noticeUni\":\"uni:correction-notice:site001-0001\",\"correctedRecord\":{\"uni\":\"uni:obs:site001-node01-temp-0001\",\"version\":\"1\",\"recordKind\":\"observation-record\",\"digest\":\"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"},\"transition\":{\"from\":\"CURRENT\",\"to\":\"SUPERSEDED\"},\"supersededBy\":{\"uni\":\"uni:obs:site001-node01-temp-0001\",\"version\":\"2\",\"digest\":\"sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd\"},\"reason\":{\"code\":\"CALIBRATION_ERROR\",\"text\":\"Calibration coefficient applied from the expired record; recomputed with the current one.\"},\"issuer\":{\"role\":\"GRID_OPERATOR\",\"uni\":\"uni:grid-operator:0001\"},\"dependants\":[{\"uni\":\"uni:product:site001-daily-temp\",\"version\":\"7\",\"recordKind\":\"product-manifest\",\"action\":\"RECOMPUTE\"}],\"issuedAt\":\"2026-10-27T10:00:05Z\",\"evidenceRefs\":[{\"uri\":\"evidence://site001/correction/0001\",\"digest\":\"sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\",\"kind\":\"fixture\"}],\"recordedAt\":\"2026-10-27T10:00:05Z\",\"signature\":{\"format\":\"COSE_Sign1\",\"alg\":\"ed25519\",\"kid\":\"uni:key:test-ed25519-1\",\"canonicalization\":\"JCS\",\"protected\":\"ogEyBFZ1bmk6a2V5OnRlc3QtZWQyNTUxOS0x\",\"payloadDigest\":\"sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85\",\"signature\":\"_Rumto4MbuxTgOiDrh6-hSCtfnUOsUp-3pq2KwY6uivscWknMyfcJXtHwssxdEPH1x3nippKunZSIB5H7KziBw\",\"signerRole\":\"GRID_OPERATOR\"}}"
                      },
                      {
                        "name": "correction-notice.es256.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/correction-notice/v3.1\",\n  \"kind\": \"CorrectionNotice\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"noticeUni\": \"uni:correction-notice:site001-0001\",\n  \"correctedRecord\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"1\",\n    \"recordKind\": \"observation-record\",\n    \"digest\": \"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n  },\n  \"transition\": {\n    \"from\": \"CURRENT\",\n    \"to\": \"SUPERSEDED\"\n  },\n  \"supersededBy\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"2\",\n    \"digest\": \"sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd\"\n  },\n  \"reason\": {\n    \"code\": \"CALIBRATION_ERROR\",\n    \"text\": \"Calibration coefficient applied from the expired record; recomputed with the current one.\"\n  },\n  \"issuer\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"dependants\": [\n    {\n      \"uni\": \"uni:product:site001-daily-temp\",\n      \"version\": \"7\",\n      \"recordKind\": \"product-manifest\",\n      \"action\": \"RECOMPUTE\"\n    }\n  ],\n  \"issuedAt\": \"2026-10-27T10:00:05Z\",\n  \"evidenceRefs\": [\n    {\n      \"uri\": \"evidence://site001/correction/0001\",\n      \"digest\": \"sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\",\n      \"kind\": \"fixture\"\n    }\n  ],\n  \"recordedAt\": \"2026-10-27T10:00:05Z\",\n  \"signature\": {\n    \"format\": \"COSE_Sign1\",\n    \"alg\": \"es256\",\n    \"kid\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU\",\n    \"canonicalization\": \"JCS\",\n    \"protected\": \"ogEoBFhYdXJuOmlldGY6cGFyYW1zOm9hdXRoOmp3ay10aHVtYnByaW50OnNoYS0yNTY6aFBhTkh1a2hOb0tSenVpek1yU21kS0N2Ykhlc1JnR0EwRm9PWXJ3d25MVQ\",\n    \"payloadDigest\": \"sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85\",\n    \"signature\": \"6SNtl7voN0mgEVCVo_Vj_1pbKOCprU9oUWL0g4jpkbSWxs9wwJNfL_VR-buENSzUvcdB_rMa4Qpqr3u_XUn_Lw\",\n    \"signerRole\": \"GRID_OPERATOR\"\n  }\n}\n"
                      },
                      {
                        "name": "key-record.test-ed25519-1.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-ed25519-1\",\n  \"alg\": \"ed25519\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:6zMUlj0eNKZGNbYN-nS5u1eAI-orctbBC-HNEgHg1bU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"OKP\",\n    \"crv\": \"Ed25519\",\n    \"x\": \"4EyCdifDCZI2x64XKnGavtLQuI1--5ALBsUGu0O3yXU\"\n  },\n  \"controller\": {\n    \"role\": \"VERIFIER\",\n    \"uni\": \"uni:verifier:site001-site\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      },
                      {
                        "name": "key-record.test-es256-2.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-es256-2\",\n  \"alg\": \"es256\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"EC\",\n    \"crv\": \"P-256\",\n    \"x\": \"Wm4G2R3Lz1yrTtQWDLCcWN2bLQkHjctcknLFMKAxwvc\",\n    \"y\": \"YNPWs2YedRT0InKvJGgFDJGI8-9rQYVy3FxsnKfRwDc\"\n  },\n  \"controller\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      }
                    ],
                    "receipts": [
                      {
                        "receipt": {
                          "auditPath": [
                            "0b051be6cb1d073d59f8af25e891a09d6bf62ec8f75ce55e09a3239b123966c6",
                            "8db3d0871da7f81238171524bd4f2415343fea0368d97bb8f6ab7fc8d194519f",
                            "9b696648dece59eaf763a929b6487be1b9630d7d70cc3c9f589275fba3453bf7"
                          ],
                          "entry": {
                            "digest": "sha256:0505050505050505050505050505050505050505050505050505050505050505",
                            "index": 5,
                            "kind": "other",
                            "loggedAt": "2026-11-01T00:00:05Z",
                            "prev": "sha256:8cbb6e5e9ee5f83464558f380a26b32fb676e553539d4c68142f0364f366bcc6",
                            "subject": "uni:other:vector-5"
                          },
                          "index": 5,
                          "rootHash": "123ff1f2adee33b924a8f3fb02a073aa12a1fd8298c30771f50ce4250465bec6",
                          "treeSize": 7
                        }
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/evidence/bundle/verify": {
      "post": {
        "operationId": "obp_evidence_bundle_verify",
        "summary": "Verify a portable evidence bundle offline",
        "description": "From the bundle alone (no network): document digests, the manifest digest, the service signature (with the service key you obtained independently), the record set and receipts under the bundle's trust or yours, and whether the recorded result is reproduced. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.evidence_bundle_verify",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "bundle": {
                      "bundleType": "obp-evidence-bundle/v0",
                      "documents": [],
                      "manifest": {}
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/corrections": {
      "get": {
        "operationId": "obp_corrections",
        "summary": "Verified correction notices and disputes, replayable after a sequence number",
        "description": "CloudEvents 1.0 events, each a CorrectionNotice the verifier checked before admitting it (schema, signature, transition), in feed order with obpseq as the replay position (?after=). Filter by the corrected record UNI. A notice in the feed was verified as a self-assessment against draft 0.1; the feed never decides that a correction is right. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.corrections",
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "Opaque cursor from meta.page.next or the Link header (RFC 8288): the obpseq of the last event seen; not together with after",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "description": "Return events after this obpseq (default 0); the same position as cursor, kept for replay clients",
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "record",
            "in": "query",
            "required": false,
            "description": "UNI of the corrected record",
            "schema": {
              "type": "string",
              "maxLength": 512
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms: keeps the events whose JSON contains them (case-insensitive)",
            "schema": {
              "type": "string",
              "maxLength": 200
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Events, 1 to 500 (default 100)",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/CorrectionsFeed"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT",
              "STALE_CURSOR"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      },
      "post": {
        "operationId": "POST_v1_corrections",
        "summary": "Ingest a correction notice into the feed (operator)",
        "description": "Bearer token OBP_CORRECTIONS_TOKEN; unset: INGEST_OFF. Body { notice, documents } (the key records it is signed with). Admitted only when parse, schema and signature checks pass; delivered to webhook subscribers. Not an MCP tool: it writes. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/CorrectionAdmitted"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "401": {
            "description": "Passport bearer token missing or invalid",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "AUTH_REQUIRED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "AUTH_REQUIRED"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_VERIFIED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_VERIFIED"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INGEST_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INGEST_OFF"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "notice": {
                      "schemaVersion": "3.1.0",
                      "apiVersion": "obsp/correction-notice/v3.1",
                      "kind": "CorrectionNotice",
                      "protocolVersion": "obsp/0.1",
                      "noticeUni": "uni:correction-notice:site001-0001",
                      "correctedRecord": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "1",
                        "recordKind": "observation-record",
                        "digest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
                      },
                      "transition": {
                        "from": "CURRENT",
                        "to": "SUPERSEDED"
                      },
                      "supersededBy": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "2",
                        "digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
                      },
                      "reason": {
                        "code": "CALIBRATION_ERROR",
                        "text": "Calibration coefficient applied from the expired record; recomputed with the current one."
                      },
                      "issuer": {
                        "role": "GRID_OPERATOR",
                        "uni": "uni:grid-operator:0001"
                      },
                      "dependants": [
                        {
                          "uni": "uni:product:site001-daily-temp",
                          "version": "7",
                          "recordKind": "product-manifest",
                          "action": "RECOMPUTE"
                        }
                      ],
                      "issuedAt": "2026-10-27T10:00:05Z",
                      "evidenceRefs": [
                        {
                          "uri": "evidence://site001/correction/0001",
                          "digest": "sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
                          "kind": "fixture"
                        }
                      ],
                      "recordedAt": "2026-10-27T10:00:05Z",
                      "signature": {
                        "format": "COSE_Sign1",
                        "alg": "ed25519",
                        "kid": "uni:key:test-ed25519-1",
                        "canonicalization": "JCS",
                        "protected": "ogEyBFZ1bmk6a2V5OnRlc3QtZWQyNTUxOS0x",
                        "payloadDigest": "sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85",
                        "signature": "_Rumto4MbuxTgOiDrh6-hSCtfnUOsUp-3pq2KwY6uivscWknMyfcJXtHwssxdEPH1x3nippKunZSIB5H7KziBw",
                        "signerRole": "GRID_OPERATOR"
                      }
                    },
                    "documents": [
                      {
                        "name": "key-record.test-ed25519-1.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-ed25519-1\",\n  \"alg\": \"ed25519\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:6zMUlj0eNKZGNbYN-nS5u1eAI-orctbBC-HNEgHg1bU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"OKP\",\n    \"crv\": \"Ed25519\",\n    \"x\": \"4EyCdifDCZI2x64XKnGavtLQuI1--5ALBsUGu0O3yXU\"\n  },\n  \"controller\": {\n    \"role\": \"VERIFIER\",\n    \"uni\": \"uni:verifier:site001-site\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      },
                      {
                        "name": "key-record.test-es256-2.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-es256-2\",\n  \"alg\": \"es256\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"EC\",\n    \"crv\": \"P-256\",\n    \"x\": \"Wm4G2R3Lz1yrTtQWDLCcWN2bLQkHjctcknLFMKAxwvc\",\n    \"y\": \"YNPWs2YedRT0InKvJGgFDJGI8-9rQYVy3FxsnKfRwDc\"\n  },\n  \"controller\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 501
        }
      }
    },
    "/v1/corrections/asyncapi": {
      "get": {
        "operationId": "obp_corrections_asyncapi",
        "summary": "AsyncAPI 3.0 document of the corrections feed and webhooks",
        "description": "Generated into contracts/services/protocol-api/corrections.asyncapi.json. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.corrections_asyncapi",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/AsyncApiDocument"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/disputes": {
      "post": {
        "operationId": "POST_v1_disputes",
        "summary": "Raise a dispute on a record (consumer)",
        "description": "The one correction transition a consumer may issue (specification section 5.9): a signed CorrectionNotice with transition CURRENT to DISPUTED and issuer role CONSUMER, with the key record it is signed with. Admitted to the feed only when it verifies. Not an MCP tool: it writes. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/CorrectionAdmitted"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "NOT_VERIFIED",
                            "NOT_A_DISPUTE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "NOT_VERIFIED",
              "NOT_A_DISPUTE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "notice": {
                      "schemaVersion": "3.1.0",
                      "apiVersion": "obsp/correction-notice/v3.1",
                      "kind": "CorrectionNotice",
                      "protocolVersion": "obsp/0.1",
                      "noticeUni": "uni:correction-notice:site001-0001",
                      "correctedRecord": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "1",
                        "recordKind": "observation-record",
                        "digest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
                      },
                      "transition": {
                        "from": "CURRENT",
                        "to": "SUPERSEDED"
                      },
                      "supersededBy": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "2",
                        "digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
                      },
                      "reason": {
                        "code": "CALIBRATION_ERROR",
                        "text": "Calibration coefficient applied from the expired record; recomputed with the current one."
                      },
                      "issuer": {
                        "role": "GRID_OPERATOR",
                        "uni": "uni:grid-operator:0001"
                      },
                      "dependants": [
                        {
                          "uni": "uni:product:site001-daily-temp",
                          "version": "7",
                          "recordKind": "product-manifest",
                          "action": "RECOMPUTE"
                        }
                      ],
                      "issuedAt": "2026-10-27T10:00:05Z",
                      "evidenceRefs": [
                        {
                          "uri": "evidence://site001/correction/0001",
                          "digest": "sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
                          "kind": "fixture"
                        }
                      ],
                      "recordedAt": "2026-10-27T10:00:05Z",
                      "signature": {
                        "format": "COSE_Sign1",
                        "alg": "ed25519",
                        "kid": "uni:key:test-ed25519-1",
                        "canonicalization": "JCS",
                        "protected": "ogEyBFZ1bmk6a2V5OnRlc3QtZWQyNTUxOS0x",
                        "payloadDigest": "sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85",
                        "signature": "_Rumto4MbuxTgOiDrh6-hSCtfnUOsUp-3pq2KwY6uivscWknMyfcJXtHwssxdEPH1x3nippKunZSIB5H7KziBw",
                        "signerRole": "GRID_OPERATOR"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 422
        }
      }
    },
    "/v1/corrections/subscriptions": {
      "post": {
        "operationId": "POST_v1_corrections_subscriptions",
        "summary": "Subscribe a webhook to the corrections feed",
        "description": "Body { url, record? }. The URL must be on an allow-listed origin (OBP_WEBHOOK_ALLOW). Answers the subscription id and its signing secret once (Standard Webhooks: webhook-id, webhook-timestamp, webhook-signature v1 HMAC-SHA256). Not an MCP tool: it writes. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Subscription"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOK_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOK_NOT_ALLOWED"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOKS_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOKS_OFF"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "url": "https://hooks.example.invalid/obp"
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 503
        }
      }
    },
    "/v1/admission/assess": {
      "post": {
        "operationId": "obp_admission_assess",
        "summary": "The protocol side's assessment of an admission record (OIP-0030)",
        "description": "Recomputes the epistemic class (ADM-3), the licence gate (ADM-5), the outcome and the reasons of an admission record and says whether the record states them, with the admission-record schema of the proposal. The protocol side's assessment only (decisionScope PROTOCOL_ASSESSMENT): the index decides admission under its own contract; never a licence choice or a statement that a use is lawful. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.admission_assess",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "record": {
                      "schemaVersion": "3.1.0",
                      "apiVersion": "obsp/admission-record/v3.1",
                      "kind": "AdmissionRecord",
                      "protocolVersion": "obsp/0.1",
                      "admissionUni": "uni:admission:site001-temp-0002-1",
                      "subject": {
                        "uni": "uni:obs:site001-node01-temp-0002",
                        "version": "1",
                        "digest": "sha256:0b18a530580185371caea3d85894b82c9c8b9abc9a04128acd3f9fe4190d03bd",
                        "recordKind": "observation-record"
                      },
                      "observedProperty": "temperature",
                      "placeRef": null,
                      "referenceTime": {
                        "phenomenonTime": "2026-11-20T05:00:00Z/2026-11-20T06:00:00Z",
                        "resultTime": "2026-11-20T06:00:00Z"
                      },
                      "resultState": "PRESENT",
                      "unit": "Cel",
                      "uncertainty": {
                        "kind": "STANDARD",
                        "value": 0.2
                      },
                      "origin": "MEASURED",
                      "method": {
                        "kind": "INSTRUMENT"
                      },
                      "subjectClass": "NONE",
                      "qualification": {
                        "id": "qual-1",
                        "digest": "sha256:a5b9a744fe3148f2d3483ecb7e7e5eff9f8fc229291b0e369b977073a3823ead",
                        "result": "PASS"
                      },
                      "timeQuality": {
                        "ref": {
                          "uni": "uni:time-quality:site001-node01-0001",
                          "version": "1",
                          "digest": "sha256:dfcf662de7f927274d7d886ae8ae8da9662504e3e4aaea272f5552c31077b29b"
                        },
                        "trusted": true
                      },
                      "provenanceRef": {
                        "uni": "uni:provenance:site001-daily-temp-7",
                        "version": "1",
                        "digest": "sha256:f905f0e68154a645a21475ea19804b1b5b81204b714cdecb066284131f25cf59"
                      },
                      "sourceReleaseRef": null,
                      "licenceGate": {
                        "rightsState": "NO_SOURCE_RELEASE",
                        "policyRef": {
                          "uni": "uni:policy:site001-temperature-open",
                          "version": "1",
                          "digest": "sha256:b9635c2f6fee80d733f5c7dbe6961ad85601b896dd5343e0fc6bb6d0c938b53c"
                        },
                        "privacyClass": "P0",
                        "policyDecision": "PERMIT",
                        "outcome": "ADMISSIBLE"
                      },
                      "correction": {
                        "state": "CURRENT"
                      },
                      "epistemicClass": "OBSERVED",
                      "assessment": {
                        "outcome": "ADMISSIBLE",
                        "reasons": [],
                        "decisionScope": "PROTOCOL_ASSESSMENT"
                      },
                      "assessedBy": {
                        "role": "GRID_OPERATOR",
                        "uni": "uni:grid-operator:0001"
                      },
                      "assessedAt": "2026-11-20T06:00:00Z",
                      "recordedAt": "2026-11-20T06:00:00Z"
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/admission/batch": {
      "post": {
        "operationId": "obp_admission_batch",
        "summary": "Check an admission batch and map it to the index intake events (OIP-0030)",
        "description": "Counts balance and records roll up (ADM-7), the class is never DERIVED (ADM-3), correction rows have the right intake kind (ADM-8, ADM-9); then the grix.observation.committed, grix.source.landed and grix.observation.corrected events the batch maps to under the protocol repository's field map, with the open questions named. Nothing is sent to the index and none of its code runs. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.admission_batch",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "batch": {
                      "schemaVersion": "3.1.0",
                      "apiVersion": "obsp/admission-batch/v3.1",
                      "kind": "AdmissionBatch",
                      "protocolVersion": "obsp/0.1",
                      "batchUni": "uni:admission-batch:site001-20261120-01",
                      "sourceReleaseRef": null,
                      "epistemicClass": "OBSERVED",
                      "runState": "COMPLETE",
                      "records": [
                        {
                          "admissionUni": "uni:admission:site001-temp-0002-1",
                          "digest": "sha256:5eac9f5b05ece960d63e280d841e47a78d544dc4e923f91a3154db74959155e4",
                          "outcome": "ADMISSIBLE"
                        },
                        {
                          "admissionUni": "uni:admission:site001-temp-0001-1",
                          "digest": "sha256:36951965b5c16fc470fae64930d6ac6f21392bc853b8cd693bb048f1aa7936df",
                          "outcome": "NOT_ADMISSIBLE"
                        }
                      ],
                      "counts": {
                        "total": 2,
                        "admissible": 1,
                        "reviewRequired": 0,
                        "notAdmissible": 1
                      },
                      "observedProperties": [
                        "temperature"
                      ],
                      "placeRefs": [],
                      "corrections": [
                        {
                          "noticeRef": {
                            "uni": "uni:correction-notice:site001-0001",
                            "version": "1",
                            "digest": "sha256:39e6f47d4cf208d11a8315730d1df22184ead1af170ae0494c27c917f095fe4f"
                          },
                          "correctedRecord": {
                            "uni": "uni:obs:site001-node01-temp-0001",
                            "version": "1",
                            "digest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
                          },
                          "transition": {
                            "from": "CURRENT",
                            "to": "SUPERSEDED"
                          },
                          "reasonCode": "CALIBRATION_ERROR",
                          "issuerRole": "GRID_OPERATOR",
                          "intakeKind": "CORRECTION",
                          "supersedingRecord": {
                            "uni": "uni:obs:site001-node01-temp-0001",
                            "version": "2",
                            "digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
                          }
                        }
                      ],
                      "assembledBy": {
                        "role": "GRID_OPERATOR",
                        "uni": "uni:grid-operator:0001"
                      },
                      "assembledAt": "2026-11-20T06:00:00Z",
                      "recordedAt": "2026-11-20T06:00:00Z"
                    }
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/packs": {
      "get": {
        "operationId": "obp_packs",
        "summary": "Regulatory evidence packs",
        "description": "Each pack with its regime and instrument, the dates that govern it, its retention period and uncertainty convention, the claims it never makes and its state. A pack supports the operator's and the verifier's own work; it never states compliance. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.packs",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms: keeps the packs whose id, title or regime contains them",
            "schema": {
              "type": "string",
              "maxLength": 200
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Packs 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 the Link header (RFC 8288)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/PackRow"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_PAGE",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_PAGE",
              "STALE_CURSOR"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/packs/eudr": {
      "get": {
        "operationId": "obp_pack_eudr",
        "summary": "EUDR plot evidence pack: the article-by-article field map",
        "description": "Every field of the pack with the article it answers (Regulation (EU) 2023/1115 as amended by Regulation (EU) 2025/2650), the requirement, the source URL and the checks that test it, from the T10 regulatory research read on 2026-11-22. Items not read against a primary text are marked UNVERIFIED. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.pack_eudr",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/PackDetail"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/packs/eudr/check": {
      "post": {
        "operationId": "obp_pack_eudr_check",
        "summary": "Check EUDR plot evidence before a due diligence statement",
        "description": "Geolocation in the shape the EU information system accepts (WGS 84, Point, MultiPoint, Polygon, MultiPolygon; closed rings of at least 4 positions, no holes, no self-intersection; 25 MB), at least six decimal digits as written (send plot as GeoJSON text), a polygon above 4 ha other than cattle, producer country, production period, the operator's deforestation check covering 31 December 2020 to production, legality document digests, accuracy evidence kept apart from precision, OBSP evidence and receipts, and the 5-year retention date. Supporting evidence for the operator's and the authority's own work: never a statement of compliance, never deforestation-free; the information system is the legal record. Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.pack_eudr_check",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceResult"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE",
                            "TOO_MANY"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE",
              "TOO_MANY"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "commodity": "cocoa",
                    "operatorClass": "large-medium",
                    "producerCountry": "CI",
                    "production": {
                      "start": "2026-03-01",
                      "end": "2026-09-30"
                    },
                    "capture": {
                      "accuracyM": 3.5,
                      "accuracyConvention": "horizontal, 95 % (receiver report)",
                      "method": "dual-frequency GNSS walk of the perimeter"
                    },
                    "deforestationCheck": {
                      "imagerySource": "Sentinel-2 L2A",
                      "from": "2020-12-01",
                      "to": "2026-09-30",
                      "method": "annual land-cover comparison, operator procedure v2",
                      "result": "NO_DEFORESTATION_DETECTED"
                    },
                    "legalityDocuments": [
                      {
                        "name": "land-title.pdf",
                        "digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
                      },
                      {
                        "name": "harvest-permit.pdf",
                        "digest": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
                      }
                    ],
                    "plot": "{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"id\":\"plot-001\",\"properties\":{\"ProductionPlace\":\"plot-001\"},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-5.300000,6.800000],[-5.297900,6.800000],[-5.297900,6.802100],[-5.300000,6.802100],[-5.300000,6.800000]]]}}]}"
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/scitt/configuration": {
      "get": {
        "operationId": "obp_scitt_configuration",
        "summary": "SCITT mapping of the log routes (RFC 9943, SCRAPI draft 11)",
        "description": "Which SCRAPI operations this API maps and their state. The reference log is not a SCITT transparency service: registration and receipt resolution answer typed refusals until a backend speaks SCRAPI. Receipts are returned as COSE_Sign1 only where a backend provides them; none does today. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.scitt_configuration",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ScittConfiguration"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/scitt/entries": {
      "post": {
        "operationId": "obp_scitt_register",
        "summary": "SCRAPI: register a signed statement",
        "description": "draft-ietf-scitt-scrapi-11, Register Signed Statement (POST /entries, COSE_Sign1 body). Designed: no backend of this network speaks SCRAPI; answers SCRAPI_NOT_AVAILABLE. No write is accepted by this API. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.scitt_register",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ScittEntry"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SCRAPI_NOT_AVAILABLE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SCRAPI_NOT_AVAILABLE"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {}
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 501
        }
      }
    },
    "/v1/scitt/entries/{entryId}": {
      "get": {
        "operationId": "obp_scitt_receipt",
        "summary": "SCRAPI: resolve the receipt of an entry",
        "description": "draft-ietf-scitt-scrapi-11, Resolve Receipt (GET /entries/{EntryID}; 202 polling resolves at the same address). Designed: answers SCRAPI_NOT_AVAILABLE; a receipt of the reference log is read with GET /v1/log/proofs/inclusion. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.scitt_receipt",
        "parameters": [
          {
            "name": "entryId",
            "in": "path",
            "required": true,
            "description": "The entry id the transparency service assigned",
            "schema": {
              "type": "string"
            },
            "example": "example-entry"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ScittEntry"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SCRAPI_NOT_AVAILABLE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SCRAPI_NOT_AVAILABLE"
            ]
          }
        },
        "x-example": {
          "path": {
            "entryId": "example-entry"
          },
          "expectStatus": 501
        }
      }
    },
    "/v1/upstreams": {
      "get": {
        "operationId": "obp_upstreams",
        "summary": "The reference public services this deployment reads",
        "description": "For the registry, the transparency log, discovery and credential status: whether each is configured and allow-listed, its environment name and its OpenAPI document in the protocol repository. No address is shown. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.upstreams",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamsData"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      }
    },
    "/v1/log/tree-head": {
      "get": {
        "operationId": "obp_log_tree_head",
        "summary": "The transparency log's signed tree head, verified",
        "description": "Read from the reference transparency log (services/public-services of the protocol repository) at OBP_LOG_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.log_tree_head",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "expectStatus": 503
        }
      }
    },
    "/v1/log/key": {
      "get": {
        "operationId": "obp_log_key",
        "summary": "The public key that signs the log's tree heads",
        "description": "Read from the reference transparency log (services/public-services of the protocol repository) at OBP_LOG_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.log_key",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "expectStatus": 503
        }
      }
    },
    "/v1/log/entries/{index}": {
      "get": {
        "operationId": "obp_log_entry",
        "summary": "One log entry and its entry hash",
        "description": "Read from the reference transparency log (services/public-services of the protocol repository) at OBP_LOG_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.log_entry",
        "parameters": [
          {
            "name": "index",
            "in": "path",
            "required": true,
            "description": "Entry index (0-based)",
            "schema": {
              "type": "string"
            },
            "example": "0"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "path": {
            "index": "0"
          },
          "expectStatus": 503
        }
      }
    },
    "/v1/log/proofs/inclusion": {
      "get": {
        "operationId": "obp_log_inclusion_proof",
        "summary": "An inclusion proof from the log, verified",
        "description": "Read from the reference transparency log (services/public-services of the protocol repository) at OBP_LOG_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.log_inclusion_proof",
        "parameters": [
          {
            "name": "index",
            "in": "query",
            "required": true,
            "description": "Entry index",
            "schema": {
              "type": "integer",
              "minimum": 0
            },
            "example": "0"
          },
          {
            "name": "treeSize",
            "in": "query",
            "required": false,
            "description": "Tree size (default: current)",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "query": {
            "index": "0"
          },
          "expectStatus": 503
        }
      }
    },
    "/v1/log/proofs/consistency": {
      "get": {
        "operationId": "obp_log_consistency_proof",
        "summary": "A consistency proof from the log, verified",
        "description": "Read from the reference transparency log (services/public-services of the protocol repository) at OBP_LOG_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.log_consistency_proof",
        "parameters": [
          {
            "name": "first",
            "in": "query",
            "required": true,
            "description": "First tree size",
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "example": "1"
          },
          {
            "name": "second",
            "in": "query",
            "required": false,
            "description": "Second tree size (default: current)",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "query": {
            "first": "1"
          },
          "expectStatus": 503
        }
      }
    },
    "/v1/log/tree-head/witnessed": {
      "get": {
        "operationId": "obp_log_witnessed_head",
        "summary": "The newest tree head the log's witness policy counts as witnessed",
        "description": "Read from the reference transparency log (services/public-services of the protocol repository) at OBP_LOG_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.log_witnessed_head",
        "parameters": [
          {
            "name": "treeSize",
            "in": "query",
            "required": false,
            "description": "Tree size",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "expectStatus": 503
        }
      }
    },
    "/v1/registry/implementations": {
      "get": {
        "operationId": "obp_registry_implementations",
        "summary": "Implementations and their self-assessed levels (OIP-0023)",
        "description": "Read from the reference registry (services/public-services of the protocol repository) at OBP_REGISTRY_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.registry_implementations",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "expectStatus": 503
        }
      }
    },
    "/v1/registry/records": {
      "get": {
        "operationId": "obp_registry_records",
        "summary": "Registry records, in log order",
        "description": "Read from the reference registry (services/public-services of the protocol repository) at OBP_REGISTRY_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.registry_records",
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "Opaque cursor from meta.page.next or the Link header: the index of the first record of the page; not together with start",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "required": false,
            "description": "First index (the same position as cursor)",
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Search terms: keeps the records of the page whose JSON contains them (case-insensitive)",
            "schema": {
              "type": "string",
              "maxLength": 200
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Records, 1 to 100",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT",
              "STALE_CURSOR"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "expectStatus": 503
        }
      }
    },
    "/v1/registry/records/{index}": {
      "get": {
        "operationId": "obp_registry_record",
        "summary": "One registry record",
        "description": "Read from the reference registry (services/public-services of the protocol repository) at OBP_REGISTRY_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.registry_record",
        "parameters": [
          {
            "name": "index",
            "in": "path",
            "required": true,
            "description": "Record index (0-based)",
            "schema": {
              "type": "string"
            },
            "example": "0"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "path": {
            "index": "0"
          },
          "expectStatus": 503
        }
      }
    },
    "/v1/discovery/well-known": {
      "get": {
        "operationId": "obp_discovery_well_known",
        "summary": "The authority document at /.well-known/obsp (OIP-0016)",
        "description": "Read from the reference discovery service (services/public-services of the protocol repository) at OBP_DISCOVERY_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.discovery_well_known",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "expectStatus": 503
        }
      }
    },
    "/v1/discovery/resolve": {
      "get": {
        "operationId": "obp_discovery_resolve",
        "summary": "Resolve a UNI to its authority's endpoints (OIP-0016)",
        "description": "Read from the reference discovery service (services/public-services of the protocol repository) at OBP_DISCOVERY_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.discovery_resolve",
        "parameters": [
          {
            "name": "uni",
            "in": "query",
            "required": true,
            "description": "The UNI to resolve",
            "schema": {
              "type": "string",
              "maxLength": 512
            },
            "example": "uni:node:n-0001"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "query": {
            "uni": "uni:node:n-0001"
          },
          "expectStatus": 503
        }
      }
    },
    "/v1/credential-status/lists/{listId}": {
      "get": {
        "operationId": "obp_status_list",
        "summary": "A signed Bitstring Status List (OIP-0015)",
        "description": "Read from the reference credential status service (services/public-services of the protocol repository) at OBP_STATUS_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.status_list",
        "parameters": [
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "description": "Status list id",
            "schema": {
              "type": "string"
            },
            "example": "participants"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "path": {
            "listId": "participants"
          },
          "expectStatus": 503
        }
      }
    },
    "/v1/credential-status/lists/{listId}/entries/{index}": {
      "get": {
        "operationId": "obp_status_entry",
        "summary": "The status of one entry of a list (OIP-0015)",
        "description": "Read from the reference credential status service (services/public-services of the protocol repository) at OBP_STATUS_URL, allow-listed by OBP_UPSTREAM_ALLOW, with a timeout. Designed for this network: the backend is not deployed, so it answers 503 SERVICE_NOT_CONFIGURED until the service is configured. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.status_entry",
        "parameters": [
          {
            "name": "listId",
            "in": "path",
            "required": true,
            "description": "Status list id",
            "schema": {
              "type": "string"
            },
            "example": "participants"
          },
          {
            "name": "index",
            "in": "path",
            "required": true,
            "description": "Entry index",
            "schema": {
              "type": "string"
            },
            "example": "0"
          }
        ],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/UpstreamRecord"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_INPUT"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "502": {
            "description": "Backend answered badly",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_ERROR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_ERROR"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SERVICE_NOT_CONFIGURED",
                            "UPSTREAM_NOT_ALLOWED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SERVICE_NOT_CONFIGURED",
              "UPSTREAM_NOT_ALLOWED"
            ]
          },
          "504": {
            "description": "Backend did not answer",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "UPSTREAM_TIMEOUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "UPSTREAM_TIMEOUT"
            ]
          }
        },
        "x-example": {
          "path": {
            "listId": "participants",
            "index": "0"
          },
          "expectStatus": 503
        }
      }
    },
    "/v1/service-key": {
      "get": {
        "operationId": "obp_service_key",
        "summary": "The public key that signs MCP tool results",
        "description": "An agent verifies an optionally signed tool result (an OIP-0008 envelope over the result digest) with this JWK. Designed until a service key is configured (OBP_SIGNING_KEY): answers SIGNING_OFF. State: designed (typed refusal until built).",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "D",
        "x-mcp-tool": "obp.service_key",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/ServiceKey"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "SIGNING_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "SIGNING_OFF"
            ]
          }
        },
        "x-example": {
          "expectStatus": 503
        }
      }
    },
    "/v1/solutions/SOL-14/evidence-flow": {
      "get": {
        "operationId": "obp_sol14_evidence_flow",
        "summary": "SOL-14 Trusted Observation Onboarding: the evidence flow",
        "description": "The guided flow from nothing to a verified, logged and resolvable observation: resolve the authority, find the implementation, verify keys and a record, check log inclusion and consistency, check credential status, attach the provenance object. Each step names its route and tool. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.sol14.evidence_flow",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceFlow"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/ld+json": {
                "schema": {
                  "type": "object",
                  "description": "The same record as JSON-LD 1.1: an @context (published at /v1/context.jsonld), @id, @type and the links as properties named by rel; a list is an @graph.",
                  "required": [
                    "@context"
                  ],
                  "properties": {
                    "@context": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator from the snapshot digest",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "public, max-age=300",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "x-example": {
          "expectStatus": 200
        }
      },
      "post": {
        "operationId": "obp_sol14_evidence_flow_run",
        "summary": "SOL-14: run the evidence flow on your inputs",
        "description": "Runs every step it has inputs for and says, per step, PASS, FAIL, INCONCLUSIVE or NOT_RUN with the reason (a service that is not configured is NOT_RUN with its typed refusal). Each check names the requirement or failure code it tests. A self-assessment against draft 0.1 and its draft proposals, never a conformance, certification or compliance claim. State: exists.",
        "tags": [
          "public",
          "public"
        ],
        "x-public": true,
        "x-state": "E",
        "x-mcp-tool": "obp.sol14.evidence_flow_run",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Records with provenance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EvidenceFlowRun"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_JSON",
                            "BAD_INPUT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_JSON",
              "BAD_INPUT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvidenceBody"
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "record": {
                      "schemaVersion": "3.1.0",
                      "apiVersion": "obsp/correction-notice/v3.1",
                      "kind": "CorrectionNotice",
                      "protocolVersion": "obsp/0.1",
                      "noticeUni": "uni:correction-notice:site001-0001",
                      "correctedRecord": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "1",
                        "recordKind": "observation-record",
                        "digest": "sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
                      },
                      "transition": {
                        "from": "CURRENT",
                        "to": "SUPERSEDED"
                      },
                      "supersededBy": {
                        "uni": "uni:obs:site001-node01-temp-0001",
                        "version": "2",
                        "digest": "sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
                      },
                      "reason": {
                        "code": "CALIBRATION_ERROR",
                        "text": "Calibration coefficient applied from the expired record; recomputed with the current one."
                      },
                      "issuer": {
                        "role": "GRID_OPERATOR",
                        "uni": "uni:grid-operator:0001"
                      },
                      "dependants": [
                        {
                          "uni": "uni:product:site001-daily-temp",
                          "version": "7",
                          "recordKind": "product-manifest",
                          "action": "RECOMPUTE"
                        }
                      ],
                      "issuedAt": "2026-10-27T10:00:05Z",
                      "evidenceRefs": [
                        {
                          "uri": "evidence://site001/correction/0001",
                          "digest": "sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
                          "kind": "fixture"
                        }
                      ],
                      "recordedAt": "2026-10-27T10:00:05Z",
                      "signature": {
                        "format": "COSE_Sign1",
                        "alg": "ed25519",
                        "kid": "uni:key:test-ed25519-1",
                        "canonicalization": "JCS",
                        "protected": "ogEyBFZ1bmk6a2V5OnRlc3QtZWQyNTUxOS0x",
                        "payloadDigest": "sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85",
                        "signature": "_Rumto4MbuxTgOiDrh6-hSCtfnUOsUp-3pq2KwY6uivscWknMyfcJXtHwssxdEPH1x3nippKunZSIB5H7KziBw",
                        "signerRole": "GRID_OPERATOR"
                      }
                    },
                    "documents": [
                      {
                        "name": "correction-notice.es256.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/correction-notice/v3.1\",\n  \"kind\": \"CorrectionNotice\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"noticeUni\": \"uni:correction-notice:site001-0001\",\n  \"correctedRecord\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"1\",\n    \"recordKind\": \"observation-record\",\n    \"digest\": \"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\"\n  },\n  \"transition\": {\n    \"from\": \"CURRENT\",\n    \"to\": \"SUPERSEDED\"\n  },\n  \"supersededBy\": {\n    \"uni\": \"uni:obs:site001-node01-temp-0001\",\n    \"version\": \"2\",\n    \"digest\": \"sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd\"\n  },\n  \"reason\": {\n    \"code\": \"CALIBRATION_ERROR\",\n    \"text\": \"Calibration coefficient applied from the expired record; recomputed with the current one.\"\n  },\n  \"issuer\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"dependants\": [\n    {\n      \"uni\": \"uni:product:site001-daily-temp\",\n      \"version\": \"7\",\n      \"recordKind\": \"product-manifest\",\n      \"action\": \"RECOMPUTE\"\n    }\n  ],\n  \"issuedAt\": \"2026-10-27T10:00:05Z\",\n  \"evidenceRefs\": [\n    {\n      \"uri\": \"evidence://site001/correction/0001\",\n      \"digest\": \"sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\",\n      \"kind\": \"fixture\"\n    }\n  ],\n  \"recordedAt\": \"2026-10-27T10:00:05Z\",\n  \"signature\": {\n    \"format\": \"COSE_Sign1\",\n    \"alg\": \"es256\",\n    \"kid\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU\",\n    \"canonicalization\": \"JCS\",\n    \"protected\": \"ogEoBFhYdXJuOmlldGY6cGFyYW1zOm9hdXRoOmp3ay10aHVtYnByaW50OnNoYS0yNTY6aFBhTkh1a2hOb0tSenVpek1yU21kS0N2Ykhlc1JnR0EwRm9PWXJ3d25MVQ\",\n    \"payloadDigest\": \"sha256:2353c768c56d721fd06a0f4463037112c14c2ffe7875362943bff48254fa8c85\",\n    \"signature\": \"6SNtl7voN0mgEVCVo_Vj_1pbKOCprU9oUWL0g4jpkbSWxs9wwJNfL_VR-buENSzUvcdB_rMa4Qpqr3u_XUn_Lw\",\n    \"signerRole\": \"GRID_OPERATOR\"\n  }\n}\n"
                      },
                      {
                        "name": "key-record.test-ed25519-1.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-ed25519-1\",\n  \"alg\": \"ed25519\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:6zMUlj0eNKZGNbYN-nS5u1eAI-orctbBC-HNEgHg1bU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"OKP\",\n    \"crv\": \"Ed25519\",\n    \"x\": \"4EyCdifDCZI2x64XKnGavtLQuI1--5ALBsUGu0O3yXU\"\n  },\n  \"controller\": {\n    \"role\": \"VERIFIER\",\n    \"uni\": \"uni:verifier:site001-site\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      },
                      {
                        "name": "key-record.test-es256-2.json",
                        "text": "{\n  \"schemaVersion\": \"3.1.0\",\n  \"apiVersion\": \"obsp/key-record/v3.1\",\n  \"kind\": \"KeyRecord\",\n  \"protocolVersion\": \"obsp/0.1\",\n  \"keyUni\": \"uni:key:test-es256-2\",\n  \"alg\": \"es256\",\n  \"thumbprint\": \"urn:ietf:params:oauth:jwk-thumbprint:sha-256:hPaNHukhNoKRzuizMrSmdKCvbHesRgGA0FoOYrwwnLU\",\n  \"publicKeyJwk\": {\n    \"kty\": \"EC\",\n    \"crv\": \"P-256\",\n    \"x\": \"Wm4G2R3Lz1yrTtQWDLCcWN2bLQkHjctcknLFMKAxwvc\",\n    \"y\": \"YNPWs2YedRT0InKvJGgFDJGI8-9rQYVy3FxsnKfRwDc\"\n  },\n  \"controller\": {\n    \"role\": \"GRID_OPERATOR\",\n    \"uni\": \"uni:grid-operator:0001\"\n  },\n  \"objectClasses\": [\n    \"receipt\"\n  ],\n  \"custody\": \"SOFTWARE\",\n  \"status\": \"ACTIVE\",\n  \"validFrom\": \"2026-01-01T00:00:00Z\",\n  \"validUntil\": \"2027-12-31T23:59:59Z\",\n  \"testOnly\": true,\n  \"recordedAt\": \"2026-11-20T00:00:00Z\"\n}\n"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 200
        }
      }
    },
    "/v1/webhooks": {
      "post": {
        "operationId": "obp.webhook_subscribe",
        "summary": "Subscribe a webhook to this API's changes",
        "description": "Body { url, types: [\"*\" or event types], description? }. The receiver must answer the CloudEvents validation handshake (OPTIONS with WebHook-Request-Origin). The secret is shown once, in this answer. Deliveries are CloudEvents 1.0 signed with HMAC-SHA256 (x-nexus-signature), retried up to 12 times, then dead-lettered. Needs the scope obp.webhook_subscribe:write, which opens every webhook route; every route here is owner-only. State: designed (answers 503 WEBHOOKS_OFF until the service has its database).",
        "tags": [
          "webhooks"
        ],
        "x-public": false,
        "x-scope": "obp.webhook_subscribe:write",
        "x-state": "D",
        "parameters": [],
        "responses": {
          "201": {
            "description": "The answer, owner-only",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/WebhookCreated"
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_WEBHOOK",
                            "BAD_BODY"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_WEBHOOK",
              "BAD_BODY"
            ]
          },
          "401": {
            "description": "Passport bearer token missing or invalid",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "AUTH_REQUIRED",
                            "INVALID_TOKEN"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "AUTH_REQUIRED",
              "INVALID_TOKEN"
            ]
          },
          "403": {
            "description": "Refusal",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INSUFFICIENT_SCOPE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INSUFFICIENT_SCOPE"
            ]
          },
          "409": {
            "description": "Refusal",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOK_EXISTS",
                            "WEBHOOK_LIMIT"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOK_EXISTS",
              "WEBHOOK_LIMIT"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BODY_TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BODY_TOO_LARGE"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOK_URL_REFUSED",
                            "WEBHOOK_NOT_VALIDATED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOK_URL_REFUSED",
              "WEBHOOK_NOT_VALIDATED"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WRITES_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WRITES_OFF"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOKS_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOKS_OFF"
            ]
          }
        },
        "security": [
          {
            "passport": [
              "obp.webhook_subscribe:write"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "url": "https://hooks.example.org/obp",
                    "types": [
                      "*"
                    ],
                    "description": "my receiver"
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 503
        }
      },
      "get": {
        "operationId": "obp.webhooks",
        "summary": "The webhooks of this account",
        "description": "Your own subscriptions on this API, never the secrets. The change feed they follow is /v1/changes. State: designed (answers 503 WEBHOOKS_OFF until the service has its database).",
        "tags": [
          "webhooks",
          "public"
        ],
        "x-public": false,
        "x-scope": "obp.webhook_subscribe:write",
        "x-state": "D",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Words that every returned webhook contains (url, types, description).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "Opaque cursor from meta.page.next.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size, 1 to 200.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, owner-only",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Webhook"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator over the body",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "private, no-cache",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "STALE_CURSOR"
            ]
          },
          "401": {
            "description": "Passport bearer token missing or invalid",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "AUTH_REQUIRED",
                            "INVALID_TOKEN"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "AUTH_REQUIRED",
              "INVALID_TOKEN"
            ]
          },
          "403": {
            "description": "Refusal",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INSUFFICIENT_SCOPE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INSUFFICIENT_SCOPE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WRITES_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WRITES_OFF"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOKS_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOKS_OFF"
            ]
          }
        },
        "security": [
          {
            "passport": [
              "obp.webhook_subscribe:write"
            ]
          }
        ],
        "x-example": {
          "expectStatus": 503
        }
      }
    },
    "/v1/webhooks/{id}": {
      "get": {
        "operationId": "obp.webhook_get",
        "summary": "One webhook",
        "description": "One of your subscriptions, never its secret. State: designed (answers 503 WEBHOOKS_OFF until the service has its database).",
        "tags": [
          "webhooks",
          "public"
        ],
        "x-public": false,
        "x-scope": "obp.webhook_subscribe:write",
        "x-state": "D",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The webhook id (a UUID).",
            "schema": {
              "type": "string"
            },
            "example": "123e4567-e89b-42d3-a456-426614174000"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, owner-only",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Webhook"
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator over the body",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "private, no-cache",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "401": {
            "description": "Passport bearer token missing or invalid",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "AUTH_REQUIRED",
                            "INVALID_TOKEN"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "AUTH_REQUIRED",
              "INVALID_TOKEN"
            ]
          },
          "403": {
            "description": "Refusal",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INSUFFICIENT_SCOPE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INSUFFICIENT_SCOPE"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOK_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOK_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WRITES_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WRITES_OFF"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOKS_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOKS_OFF"
            ]
          }
        },
        "security": [
          {
            "passport": [
              "obp.webhook_subscribe:write"
            ]
          }
        ],
        "x-example": {
          "path": {
            "id": "123e4567-e89b-42d3-a456-426614174000"
          },
          "expectStatus": 503
        }
      },
      "patch": {
        "operationId": "obp.webhook_update",
        "summary": "Change a webhook",
        "description": "Any of types (array), description (string or null), active (boolean). State: designed (answers 503 WEBHOOKS_OFF until the service has its database).",
        "tags": [
          "webhooks"
        ],
        "x-public": false,
        "x-scope": "obp.webhook_subscribe:write",
        "x-state": "D",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The webhook id (a UUID).",
            "schema": {
              "type": "string"
            },
            "example": "123e4567-e89b-42d3-a456-426614174000"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, owner-only",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/Webhook"
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_WEBHOOK",
                            "BAD_BODY"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_WEBHOOK",
              "BAD_BODY"
            ]
          },
          "401": {
            "description": "Passport bearer token missing or invalid",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "AUTH_REQUIRED",
                            "INVALID_TOKEN"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "AUTH_REQUIRED",
              "INVALID_TOKEN"
            ]
          },
          "403": {
            "description": "Refusal",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INSUFFICIENT_SCOPE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INSUFFICIENT_SCOPE"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOK_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOK_NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BODY_TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BODY_TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WRITES_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WRITES_OFF"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOKS_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOKS_OFF"
            ]
          }
        },
        "security": [
          {
            "passport": [
              "obp.webhook_subscribe:write"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {
                    "active": false
                  }
                }
              }
            }
          }
        },
        "x-example": {
          "path": {
            "id": "123e4567-e89b-42d3-a456-426614174000"
          },
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 503
        }
      },
      "delete": {
        "operationId": "obp.webhook_delete",
        "summary": "Delete a webhook",
        "description": "Removes the subscription and its pending deliveries. Answers 200 with { id, deleted: true }. State: designed (answers 503 WEBHOOKS_OFF until the service has its database).",
        "tags": [
          "webhooks"
        ],
        "x-public": false,
        "x-scope": "obp.webhook_subscribe:write",
        "x-state": "D",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The webhook id (a UUID).",
            "schema": {
              "type": "string"
            },
            "example": "123e4567-e89b-42d3-a456-426614174000"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, owner-only",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/WebhookDeleted"
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Passport bearer token missing or invalid",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "AUTH_REQUIRED",
                            "INVALID_TOKEN"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "AUTH_REQUIRED",
              "INVALID_TOKEN"
            ]
          },
          "403": {
            "description": "Refusal",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INSUFFICIENT_SCOPE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INSUFFICIENT_SCOPE"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOK_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOK_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WRITES_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WRITES_OFF"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOKS_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOKS_OFF"
            ]
          }
        },
        "security": [
          {
            "passport": [
              "obp.webhook_subscribe:write"
            ]
          }
        ],
        "x-example": {
          "path": {
            "id": "123e4567-e89b-42d3-a456-426614174000"
          },
          "expectStatus": 503
        }
      }
    },
    "/v1/webhooks/{id}/rotate": {
      "post": {
        "operationId": "obp.webhook_rotate",
        "summary": "Rotate the secret of a webhook",
        "description": "Makes a new secret, shown once; the previous one stops signing at once. The receiver is validated again. State: designed (answers 503 WEBHOOKS_OFF until the service has its database).",
        "tags": [
          "webhooks"
        ],
        "x-public": false,
        "x-scope": "obp.webhook_subscribe:write",
        "x-state": "D",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The webhook id (a UUID).",
            "schema": {
              "type": "string"
            },
            "example": "123e4567-e89b-42d3-a456-426614174000"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, owner-only",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/WebhookCreated"
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Passport bearer token missing or invalid",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "AUTH_REQUIRED",
                            "INVALID_TOKEN"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "AUTH_REQUIRED",
              "INVALID_TOKEN"
            ]
          },
          "403": {
            "description": "Refusal",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INSUFFICIENT_SCOPE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INSUFFICIENT_SCOPE"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOK_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOK_NOT_FOUND"
            ]
          },
          "422": {
            "description": "Input understood but not usable",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOK_NOT_VALIDATED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOK_NOT_VALIDATED"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WRITES_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WRITES_OFF"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOKS_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOKS_OFF"
            ]
          }
        },
        "security": [
          {
            "passport": [
              "obp.webhook_subscribe:write"
            ]
          }
        ],
        "x-example": {
          "path": {
            "id": "123e4567-e89b-42d3-a456-426614174000"
          },
          "expectStatus": 503
        }
      }
    },
    "/v1/webhooks/{id}/test": {
      "post": {
        "operationId": "obp.webhook_test",
        "summary": "Send a test delivery",
        "description": "Sends one signed obp.webhook.test event to the receiver now and reports the result; nothing is stored. State: designed (answers 503 WEBHOOKS_OFF until the service has its database).",
        "tags": [
          "webhooks"
        ],
        "x-public": false,
        "x-scope": "obp.webhook_subscribe:write",
        "x-state": "D",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The webhook id (a UUID).",
            "schema": {
              "type": "string"
            },
            "example": "123e4567-e89b-42d3-a456-426614174000"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, owner-only",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/WebhookTest"
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Passport bearer token missing or invalid",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "AUTH_REQUIRED",
                            "INVALID_TOKEN"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "AUTH_REQUIRED",
              "INVALID_TOKEN"
            ]
          },
          "403": {
            "description": "Refusal",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INSUFFICIENT_SCOPE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INSUFFICIENT_SCOPE"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOK_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOK_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WRITES_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WRITES_OFF"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOKS_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOKS_OFF"
            ]
          }
        },
        "security": [
          {
            "passport": [
              "obp.webhook_subscribe:write"
            ]
          }
        ],
        "x-example": {
          "path": {
            "id": "123e4567-e89b-42d3-a456-426614174000"
          },
          "expectStatus": 503
        }
      }
    },
    "/v1/webhooks/{id}/deliveries": {
      "get": {
        "operationId": "obp.webhook_deliveries",
        "summary": "The deliveries of a webhook",
        "description": "The newest 200 deliveries, newest first, with state, attempts and the last status. State: designed (answers 503 WEBHOOKS_OFF until the service has its database).",
        "tags": [
          "webhooks",
          "public"
        ],
        "x-public": false,
        "x-scope": "obp.webhook_subscribe:write",
        "x-state": "D",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The webhook id (a UUID).",
            "schema": {
              "type": "string"
            },
            "example": "123e4567-e89b-42d3-a456-426614174000"
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "pending, delivered or dead.",
            "schema": {
              "enum": [
                "pending",
                "delivered",
                "dead"
              ]
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Words that every returned delivery contains (type, subject, state).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "Opaque cursor from meta.page.next.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size, 1 to 200.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, owner-only",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/WebhookDelivery"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Strong validator over the body",
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "description": "private, no-cache",
                "schema": {
                  "type": "string"
                }
              },
              "Link": {
                "description": "RFC 8288 rel=next and rel=prev for the cursor",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "304": {
            "description": "Not modified: If-None-Match matched the ETag"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_QUERY",
                            "STALE_CURSOR"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_QUERY",
              "STALE_CURSOR"
            ]
          },
          "401": {
            "description": "Passport bearer token missing or invalid",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "AUTH_REQUIRED",
                            "INVALID_TOKEN"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "AUTH_REQUIRED",
              "INVALID_TOKEN"
            ]
          },
          "403": {
            "description": "Refusal",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INSUFFICIENT_SCOPE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INSUFFICIENT_SCOPE"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOK_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOK_NOT_FOUND"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WRITES_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WRITES_OFF"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOKS_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOKS_OFF"
            ]
          }
        },
        "security": [
          {
            "passport": [
              "obp.webhook_subscribe:write"
            ]
          }
        ],
        "x-example": {
          "path": {
            "id": "123e4567-e89b-42d3-a456-426614174000"
          },
          "expectStatus": 503
        }
      }
    },
    "/v1/webhooks/{id}/replay": {
      "post": {
        "operationId": "obp.webhook_replay",
        "summary": "Replay deliveries",
        "description": "Body { event_id? }: requeues one delivery, or every dead one. Answers the number requeued. State: designed (answers 503 WEBHOOKS_OFF until the service has its database).",
        "tags": [
          "webhooks"
        ],
        "x-public": false,
        "x-scope": "obp.webhook_subscribe:write",
        "x-state": "D",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The webhook id (a UUID).",
            "schema": {
              "type": "string"
            },
            "example": "123e4567-e89b-42d3-a456-426614174000"
          }
        ],
        "responses": {
          "200": {
            "description": "The answer, owner-only",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/WebhookReplay"
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BAD_WEBHOOK",
                            "BAD_BODY"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BAD_WEBHOOK",
              "BAD_BODY"
            ]
          },
          "401": {
            "description": "Passport bearer token missing or invalid",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "AUTH_REQUIRED",
                            "INVALID_TOKEN"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "AUTH_REQUIRED",
              "INVALID_TOKEN"
            ]
          },
          "403": {
            "description": "Refusal",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INSUFFICIENT_SCOPE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INSUFFICIENT_SCOPE"
            ]
          },
          "404": {
            "description": "Not found or not yet published",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOK_NOT_FOUND"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOK_NOT_FOUND"
            ]
          },
          "413": {
            "description": "Body too large",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "BODY_TOO_LARGE"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "BODY_TOO_LARGE"
            ]
          },
          "429": {
            "description": "Open-tier rate limit",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "RATE_LIMITED"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "RATE_LIMITED"
            ]
          },
          "500": {
            "description": "Internal error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "INTERNAL"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "INTERNAL"
            ]
          },
          "501": {
            "description": "Not built, not supported, or off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WRITES_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WRITES_OFF"
            ]
          },
          "503": {
            "description": "Backend connection off",
            "content": {
              "application/problem+json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Problem"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "enum": [
                            "WEBHOOKS_OFF"
                          ]
                        }
                      }
                    }
                  ]
                }
              }
            },
            "x-codes": [
              "WEBHOOKS_OFF"
            ]
          }
        },
        "security": [
          {
            "passport": [
              "obp.webhook_subscribe:write"
            ]
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              },
              "examples": {
                "worked": {
                  "summary": "A worked example",
                  "value": {}
                }
              }
            }
          }
        },
        "x-example": {
          "path": {
            "id": "123e4567-e89b-42d3-a456-426614174000"
          },
          "body": "see requestBody.content.application/json.examples.worked",
          "expectStatus": 503
        }
      }
    },
    "/v1/spec": {
      "get": {
        "operationId": "deprecated__v1_spec",
        "summary": "Superseded: moved to /v1/obp/org/spec",
        "description": "Answers 308 with the new location.",
        "tags": [
          "deprecated"
        ],
        "deprecated": true,
        "x-state": "E",
        "x-deprecated": {
          "since": "2026-11-22T00:00:00Z",
          "sunset": "2027-11-22T00:00:00Z",
          "successor": "/v1/obp/org/spec"
        },
        "x-public": true,
        "parameters": [],
        "responses": {
          "308": {
            "description": "Permanent redirect to the successor route; headers Deprecation, Sunset and Link rel=successor-version",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "Deprecation": {
                "schema": {
                  "type": "string"
                }
              },
              "Sunset": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/spec/{section}": {
      "get": {
        "operationId": "deprecated__v1_spec_section_",
        "summary": "Superseded: moved to /v1/obp/org/spec/{section}",
        "description": "Answers 308 with the new location.",
        "tags": [
          "deprecated"
        ],
        "deprecated": true,
        "x-state": "E",
        "x-deprecated": {
          "since": "2026-11-22T00:00:00Z",
          "sunset": "2027-11-22T00:00:00Z",
          "successor": "/v1/obp/org/spec/{section}"
        },
        "x-public": true,
        "parameters": [
          {
            "name": "section",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "308": {
            "description": "Permanent redirect to the successor route; headers Deprecation, Sunset and Link rel=successor-version",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "Deprecation": {
                "schema": {
                  "type": "string"
                }
              },
              "Sunset": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/functions": {
      "get": {
        "operationId": "deprecated__v1_functions",
        "summary": "Superseded: moved to /v1/obp/org/functions",
        "description": "Answers 308 with the new location.",
        "tags": [
          "deprecated"
        ],
        "deprecated": true,
        "x-state": "E",
        "x-deprecated": {
          "since": "2026-11-22T00:00:00Z",
          "sunset": "2027-11-22T00:00:00Z",
          "successor": "/v1/obp/org/functions"
        },
        "x-public": true,
        "parameters": [],
        "responses": {
          "308": {
            "description": "Permanent redirect to the successor route; headers Deprecation, Sunset and Link rel=successor-version",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "Deprecation": {
                "schema": {
                  "type": "string"
                }
              },
              "Sunset": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/functions/{id}": {
      "get": {
        "operationId": "deprecated__v1_functions_id_",
        "summary": "Superseded: moved to /v1/obp/org/functions/{id}",
        "description": "Answers 308 with the new location.",
        "tags": [
          "deprecated"
        ],
        "deprecated": true,
        "x-state": "E",
        "x-deprecated": {
          "since": "2026-11-22T00:00:00Z",
          "sunset": "2027-11-22T00:00:00Z",
          "successor": "/v1/obp/org/functions/{id}"
        },
        "x-public": true,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "308": {
            "description": "Permanent redirect to the successor route; headers Deprecation, Sunset and Link rel=successor-version",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "Deprecation": {
                "schema": {
                  "type": "string"
                }
              },
              "Sunset": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/cases": {
      "get": {
        "operationId": "deprecated__v1_cases",
        "summary": "Superseded: moved to /v1/obp/org/cases",
        "description": "Answers 308 with the new location.",
        "tags": [
          "deprecated"
        ],
        "deprecated": true,
        "x-state": "E",
        "x-deprecated": {
          "since": "2026-11-22T00:00:00Z",
          "sunset": "2027-11-22T00:00:00Z",
          "successor": "/v1/obp/org/cases"
        },
        "x-public": true,
        "parameters": [],
        "responses": {
          "308": {
            "description": "Permanent redirect to the successor route; headers Deprecation, Sunset and Link rel=successor-version",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "Deprecation": {
                "schema": {
                  "type": "string"
                }
              },
              "Sunset": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/oips": {
      "get": {
        "operationId": "deprecated__v1_oips",
        "summary": "Superseded: moved to /v1/obp/org/oips",
        "description": "Answers 308 with the new location.",
        "tags": [
          "deprecated"
        ],
        "deprecated": true,
        "x-state": "E",
        "x-deprecated": {
          "since": "2026-11-22T00:00:00Z",
          "sunset": "2027-11-22T00:00:00Z",
          "successor": "/v1/obp/org/oips"
        },
        "x-public": true,
        "parameters": [],
        "responses": {
          "308": {
            "description": "Permanent redirect to the successor route; headers Deprecation, Sunset and Link rel=successor-version",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "Deprecation": {
                "schema": {
                  "type": "string"
                }
              },
              "Sunset": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/oips/{id}": {
      "get": {
        "operationId": "deprecated__v1_oips_id_",
        "summary": "Superseded: moved to /v1/obp/org/oips/{id}",
        "description": "Answers 308 with the new location.",
        "tags": [
          "deprecated"
        ],
        "deprecated": true,
        "x-state": "E",
        "x-deprecated": {
          "since": "2026-11-22T00:00:00Z",
          "sunset": "2027-11-22T00:00:00Z",
          "successor": "/v1/obp/org/oips/{id}"
        },
        "x-public": true,
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "308": {
            "description": "Permanent redirect to the successor route; headers Deprecation, Sunset and Link rel=successor-version",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "Deprecation": {
                "schema": {
                  "type": "string"
                }
              },
              "Sunset": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/alignment": {
      "get": {
        "operationId": "deprecated__v1_alignment",
        "summary": "Superseded: moved to /v1/obp/org/alignment",
        "description": "Answers 308 with the new location.",
        "tags": [
          "deprecated"
        ],
        "deprecated": true,
        "x-state": "E",
        "x-deprecated": {
          "since": "2026-11-22T00:00:00Z",
          "sunset": "2027-11-22T00:00:00Z",
          "successor": "/v1/obp/org/alignment"
        },
        "x-public": true,
        "parameters": [],
        "responses": {
          "308": {
            "description": "Permanent redirect to the successor route; headers Deprecation, Sunset and Link rel=successor-version",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "Deprecation": {
                "schema": {
                  "type": "string"
                }
              },
              "Sunset": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/conformance/self-test": {
      "post": {
        "operationId": "deprecated__v1_conformance_self_test",
        "summary": "Superseded: moved to /v1/obp/org/conformance/self-test",
        "description": "Answers 308 with the new location. POST, 308 keeps the method",
        "tags": [
          "deprecated"
        ],
        "deprecated": true,
        "x-state": "D",
        "x-deprecated": {
          "since": "2026-11-22T00:00:00Z",
          "sunset": "2027-11-22T00:00:00Z",
          "successor": "/v1/obp/org/conformance/self-test"
        },
        "x-public": true,
        "parameters": [],
        "responses": {
          "308": {
            "description": "Permanent redirect to the successor route; headers Deprecation, Sunset and Link rel=successor-version",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "Deprecation": {
                "schema": {
                  "type": "string"
                }
              },
              "Sunset": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/v1/declarations": {
      "post": {
        "operationId": "deprecated__v1_declarations",
        "summary": "Superseded: moved to /v1/obp/org/declarations",
        "description": "Answers 308 with the new location. POST, 308 keeps the method",
        "tags": [
          "deprecated"
        ],
        "deprecated": true,
        "x-state": "D",
        "x-deprecated": {
          "since": "2026-11-22T00:00:00Z",
          "sunset": "2027-11-22T00:00:00Z",
          "successor": "/v1/obp/org/declarations"
        },
        "x-public": true,
        "parameters": [],
        "responses": {
          "308": {
            "description": "Permanent redirect to the successor route; headers Deprecation, Sunset and Link rel=successor-version",
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "Deprecation": {
                "schema": {
                  "type": "string"
                }
              },
              "Sunset": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Provenance": {
        "type": "object",
        "required": [
          "repository",
          "commit",
          "path",
          "sha256",
          "licence",
          "snapshotAt"
        ],
        "properties": {
          "repository": {
            "type": "string"
          },
          "commit": {
            "type": "string",
            "pattern": "^[0-9a-f]{40}$"
          },
          "path": {
            "type": "string"
          },
          "sha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}$"
          },
          "licence": {
            "type": "string"
          },
          "snapshotAt": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Page": {
        "type": "object",
        "required": [
          "limit",
          "offset",
          "total",
          "next"
        ],
        "properties": {
          "limit": {
            "type": "integer"
          },
          "offset": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          },
          "next": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      },
      "Meta": {
        "type": "object",
        "required": [
          "service",
          "version"
        ],
        "properties": {
          "authority": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "service": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "provenance": {
            "$ref": "#/components/schemas/Provenance"
          },
          "coverage": {
            "$ref": "#/components/schemas/Coverage"
          },
          "review": {
            "type": "string"
          },
          "method": {
            "type": "object",
            "required": [],
            "properties": {
              "id": {
                "type": "string"
              },
              "href": {
                "type": "string"
              },
              "version": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "replication": {
            "type": "object",
            "required": [],
            "properties": {
              "digest": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          },
          "page": {
            "$ref": "#/components/schemas/Page"
          },
          "note": {
            "type": "string"
          },
          "snapshotAt": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "Problem": {
        "type": "object",
        "required": [
          "type",
          "title",
          "status",
          "code"
        ],
        "properties": {
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "detail": {
            "type": "string"
          },
          "instance": {
            "type": "string"
          },
          "code": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "Versioning": {
        "type": "object",
        "required": [
          "specification",
          "protocolVersion",
          "schemaRevision",
          "note"
        ],
        "properties": {
          "specification": {
            "type": "string"
          },
          "protocolVersion": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "schemaRevision": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "SchemaVersioning": {
        "type": "object",
        "required": [
          "idRevision",
          "apiVersion",
          "protocolVersion"
        ],
        "properties": {
          "idRevision": {
            "type": [
              "string",
              "null"
            ]
          },
          "apiVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "protocolVersion": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      },
      "StatusData": {
        "type": "object",
        "required": [
          "protocol",
          "versioning",
          "counts",
          "services",
          "writesEnabled",
          "backendConnected",
          "conformanceClaimsPublished",
          "capabilities"
        ],
        "properties": {
          "protocol": {
            "type": "object",
            "required": [
              "name",
              "version",
              "status",
              "steward"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "version": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "steward": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "versioning": {
            "$ref": "#/components/schemas/Versioning"
          },
          "counts": {
            "type": "object",
            "additionalProperties": {
              "type": [
                "integer",
                "boolean"
              ]
            }
          },
          "services": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "writesEnabled": {
            "type": "boolean"
          },
          "backendConnected": {
            "type": "boolean"
          },
          "conformanceClaimsPublished": {
            "type": "integer"
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "method",
                "path",
                "state"
              ],
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "POST",
                    "PATCH",
                    "DELETE"
                  ]
                },
                "path": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "E",
                    "D"
                  ]
                }
              },
              "additionalProperties": false
            }
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "ChangeEvent": {
        "type": "object",
        "required": [
          "specversion",
          "id",
          "source",
          "type",
          "subject",
          "time",
          "datacontenttype",
          "data"
        ],
        "properties": {
          "specversion": {
            "const": "1.0"
          },
          "id": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "pattern": "^obp\\.[a-z-]+\\.(created|updated|corrected|withdrawn)$"
          },
          "subject": {
            "type": "string"
          },
          "time": {
            "type": "string"
          },
          "datacontenttype": {
            "const": "application/json"
          },
          "data": {
            "type": "object",
            "required": [
              "id",
              "type",
              "digest",
              "release",
              "provenance"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "digest": {
                "type": "string"
              },
              "previousDigest": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "href": {
                "type": "string"
              },
              "release": {
                "type": "string"
              },
              "previousRelease": {
                "type": "string"
              },
              "provenance": {
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": false
      },
      "ChangesData": {
        "type": "object",
        "required": [
          "snapshotAt",
          "sources"
        ],
        "properties": {
          "snapshotAt": {
            "type": "string"
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "key",
                "repository",
                "commit",
                "path",
                "sha256",
                "licence"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "repository": {
                  "type": "string"
                },
                "commit": {
                  "type": "string"
                },
                "path": {
                  "type": "string"
                },
                "sha256": {
                  "type": "string"
                },
                "licence": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      },
      "SpecIndex": {
        "type": "object",
        "required": [
          "name",
          "version",
          "status",
          "steward",
          "sections",
          "versioning"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "short": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "steward": {
            "type": "string"
          },
          "licences": {
            "type": "object",
            "required": [],
            "properties": {
              "specification": {
                "type": "string"
              },
              "code": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "specRef": {
            "type": "string"
          },
          "pin": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "versioning": {
            "$ref": "#/components/schemas/Versioning"
          },
          "sections": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "number",
                "slug",
                "source",
                "digest",
                "href"
              ],
              "properties": {
                "number": {
                  "type": "integer"
                },
                "slug": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                },
                "digest": {
                  "type": "string"
                },
                "href": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": true
      },
      "SpecClause": {
        "type": "object",
        "required": [],
        "properties": {},
        "additionalProperties": true
      },
      "FunctionRecord": {
        "type": "object",
        "required": [
          "id",
          "name",
          "clause",
          "maturity",
          "gap",
          "source",
          "digest",
          "localId",
          "links"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "clause": {
            "type": "string"
          },
          "maturity": {
            "enum": [
              "CONTRACTED",
              "OPEN_GAP"
            ]
          },
          "gap": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "digest": {
            "type": [
              "string",
              "null"
            ]
          },
          "localId": {
            "type": "string"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        },
        "additionalProperties": false
      },
      "ProfileRecord": {
        "type": "object",
        "required": [
          "id",
          "code",
          "kind",
          "state",
          "source",
          "digest",
          "localId",
          "links"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "profile",
              "overlay",
              "proposed-profile"
            ]
          },
          "state": {
            "enum": [
              "DRAFT",
              "PROPOSED"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "digest": {
            "type": [
              "string",
              "null"
            ]
          },
          "localId": {
            "type": "string"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        },
        "additionalProperties": false
      },
      "CaseRecord": {
        "type": "object",
        "required": [
          "id",
          "path",
          "source",
          "digest",
          "profile",
          "localId",
          "links"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "digest": {
            "type": "string"
          },
          "profile": {
            "type": [
              "string",
              "null"
            ]
          },
          "localId": {
            "type": "string"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        },
        "additionalProperties": false
      },
      "SchemaSummary": {
        "type": "object",
        "required": [
          "name",
          "file",
          "id",
          "title",
          "versioning"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "file": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "fixtures": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {
                "file": {
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            }
          },
          "upstream": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "versioning": {
            "$ref": "#/components/schemas/SchemaVersioning"
          }
        },
        "additionalProperties": true
      },
      "JsonSchemaDocument": {
        "type": "object",
        "required": [
          "$schema",
          "$id"
        ],
        "properties": {
          "$schema": {
            "type": "string"
          },
          "$id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "SchemaExport": {
        "description": "One of: the JSON Schema document (json-schema); an OpenAPI 3.1 object whose components.schemas holds it (openapi-components); an MCP tool definition with name, description and inputSchema (mcp-input-schema).",
        "oneOf": [
          {
            "$ref": "#/components/schemas/JsonSchemaDocument"
          },
          {
            "type": "object",
            "required": [
              "openapi",
              "components"
            ],
            "properties": {
              "openapi": {
                "const": "3.1.0"
              },
              "components": {
                "type": "object",
                "required": [
                  "schemas"
                ],
                "properties": {
                  "schemas": {
                    "type": "object",
                    "required": [],
                    "properties": {},
                    "additionalProperties": true
                  }
                },
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          {
            "type": "object",
            "required": [
              "name",
              "inputSchema"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "inputSchema": {
                "$ref": "#/components/schemas/JsonSchemaDocument"
              }
            },
            "additionalProperties": true
          }
        ]
      },
      "ValidateResult": {
        "type": "object",
        "required": [
          "schema",
          "valid",
          "errors"
        ],
        "properties": {
          "schema": {
            "type": "string"
          },
          "valid": {
            "type": "boolean"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "RegisterRow": {
        "type": "object",
        "required": [
          "id",
          "title",
          "kind"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "public-list",
              "spec-register"
            ]
          },
          "admission": {
            "type": [
              "string",
              "null"
            ]
          },
          "entryCount": {
            "type": [
              "integer",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "digest": {
            "type": "string"
          },
          "href": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      },
      "RegisterEntry": {
        "type": "object",
        "required": [],
        "properties": {},
        "additionalProperties": true
      },
      "Webhook": {
        "type": "object",
        "required": [
          "id",
          "url",
          "types",
          "active"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "types": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "active": {
            "type": "boolean"
          },
          "validated_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      },
      "WebhookCreated": {
        "type": "object",
        "required": [
          "id",
          "url",
          "types",
          "secret"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "types": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "active": {
            "type": "boolean"
          },
          "validated_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "secret": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "WebhookDeleted": {
        "type": "object",
        "required": [
          "id",
          "deleted"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WebhookTest": {
        "type": "object",
        "required": [
          "delivered",
          "event_id",
          "type"
        ],
        "properties": {
          "delivered": {
            "type": "boolean"
          },
          "status": {
            "type": [
              "integer",
              "null"
            ]
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "event_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "WebhookReplay": {
        "type": "object",
        "required": [
          "requeued"
        ],
        "properties": {
          "requeued": {
            "type": "integer"
          }
        },
        "additionalProperties": false
      },
      "WebhookDelivery": {
        "type": "object",
        "required": [
          "event_id",
          "type",
          "state",
          "attempts"
        ],
        "properties": {
          "event_id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "subject": {
            "type": [
              "string",
              "null"
            ]
          },
          "time": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "enum": [
              "pending",
              "delivered",
              "dead"
            ]
          },
          "attempts": {
            "type": "integer"
          },
          "next_attempt_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_status": {
            "type": [
              "integer",
              "null"
            ]
          },
          "last_error": {
            "type": [
              "string",
              "null"
            ]
          },
          "delivered_at": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      },
      "BulkCollection": {
        "type": "object",
        "required": [
          "id",
          "summary",
          "route",
          "formats",
          "stream",
          "manifest"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "route": {
            "type": "string"
          },
          "formats": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "stream": {
            "type": "string"
          },
          "manifest": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "BulkManifest": {
        "type": "object",
        "required": [
          "collection",
          "route",
          "snapshot",
          "formats"
        ],
        "properties": {
          "collection": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "route": {
            "type": "string"
          },
          "formats": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "snapshot": {
            "type": "string"
          },
          "pageSize": {
            "type": "integer"
          },
          "maxRecords": {
            "type": "integer"
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "records": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "additionalProperties": true
      },
      "BulkRecord": {
        "type": "object",
        "required": [],
        "properties": {},
        "additionalProperties": true
      },
      "RegisterList": {
        "type": "object",
        "required": [
          "id",
          "name",
          "count",
          "default",
          "href"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "rows",
              "values"
            ]
          },
          "count": {
            "type": "integer"
          },
          "withheld": {
            "type": "integer"
          },
          "default": {
            "type": "boolean"
          },
          "href": {
            "type": "string"
          },
          "source": {
            "oneOf": [
              {
                "type": "object",
                "required": [],
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "sha256": {
                    "type": "string"
                  }
                },
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ]
          },
          "localId": {
            "type": "string"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        },
        "additionalProperties": true
      },
      "OipRecord": {
        "type": "object",
        "required": [
          "id",
          "path",
          "source",
          "digest",
          "status",
          "title",
          "localId",
          "links"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "digest": {
            "type": "string"
          },
          "status": {
            "const": "DRAFT"
          },
          "title": {
            "type": "string"
          },
          "localId": {
            "type": "string"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        },
        "additionalProperties": false
      },
      "AlignmentRow": {
        "type": "object",
        "required": [
          "id",
          "concept",
          "schemas",
          "target",
          "predicate",
          "status",
          "targetRecord"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "concept": {
            "type": "string"
          },
          "schemas": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "target": {
            "type": "string"
          },
          "predicate": {
            "const": "related"
          },
          "note": {
            "type": "string"
          },
          "status": {
            "const": "PROPOSED_MAPPING"
          },
          "targetRecord": {
            "type": "object",
            "required": [
              "id",
              "name",
              "publisher",
              "identifier",
              "date",
              "url"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "publisher": {
                "type": "string"
              },
              "identifier": {
                "type": "string"
              },
              "date": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": true
      },
      "Issue": {
        "type": "object",
        "required": [
          "path",
          "code",
          "severity",
          "message",
          "basis"
        ],
        "properties": {
          "path": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "severity": {
            "enum": [
              "error",
              "warning"
            ]
          },
          "message": {
            "type": "string"
          },
          "basis": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Coverage": {
        "type": "object",
        "required": [
          "industry",
          "jurisdiction",
          "data"
        ],
        "properties": {
          "industry": {
            "type": "object",
            "required": [
              "requested"
            ],
            "properties": {
              "requested": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "jurisdiction": {
            "type": "object",
            "required": [
              "requested"
            ],
            "properties": {
              "requested": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "data": {
            "enum": [
              "cited",
              "computed",
              "none"
            ]
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "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"
            ]
          },
          "target": {
            "type": "string"
          },
          "targetNet": {
            "type": "string"
          },
          "state": {
            "enum": [
              "E",
              "D"
            ]
          },
          "label": {
            "type": "string"
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "ObsProfileSummary": {
        "type": "object",
        "required": [
          "id",
          "title",
          "isic",
          "properties",
          "niche",
          "mcp",
          "routes"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "workingName": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "isic": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "nhs1Families": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "nis1Domains": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "properties": {
            "type": "integer"
          },
          "niche": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "mcp": {
            "type": "string"
          },
          "routes": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "ObsProfile": {
        "type": "object",
        "required": [
          "id",
          "title",
          "isic",
          "properties",
          "rules",
          "sources",
          "links"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "isic": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "iri",
                "iriKind",
                "ucum",
                "unitsAllowed"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "iri": {
                  "type": "string"
                },
                "iriKind": {
                  "enum": [
                    "cf-standard-name",
                    "profile-local"
                  ]
                },
                "ucum": {
                  "type": "string"
                },
                "unitsAllowed": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": true
            }
          },
          "rules": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "regulatoryContext": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          },
          "state": {
            "type": "string"
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "PropertyRow": {
        "type": "object",
        "required": [
          "profile",
          "id",
          "iri",
          "iriKind",
          "ucum"
        ],
        "properties": {
          "profile": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "iri": {
            "type": "string"
          },
          "iriKind": {
            "type": "string"
          },
          "ucum": {
            "type": "string"
          },
          "unitsAllowed": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true
      },
      "UnitCheck": {
        "type": "object",
        "required": [
          "code",
          "status",
          "ucumVersion"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "status": {
            "enum": [
              "VALID",
              "UNKNOWN_ATOM",
              "SYNTAX_ERROR"
            ]
          },
          "dimension": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "type": "array",
                "items": {
                  "type": "number"
                }
              }
            ]
          },
          "siFactor": {
            "type": [
              "number",
              "null"
            ]
          },
          "ucumVersion": {
            "type": "string"
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "ObsValidateBody": {
        "type": "object",
        "required": [],
        "properties": {},
        "additionalProperties": true
      },
      "ValidateReport": {
        "type": "object",
        "required": [
          "profile",
          "note"
        ],
        "properties": {
          "profile": {
            "type": "string"
          },
          "valid": {
            "type": "boolean"
          },
          "complete": {
            "type": "boolean"
          },
          "issues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Issue"
            }
          },
          "counts": {
            "type": "object",
            "required": [],
            "properties": {
              "errors": {
                "type": "integer"
              },
              "warnings": {
                "type": "integer"
              }
            },
            "additionalProperties": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "QualityBody": {
        "type": "object",
        "required": [
          "observations"
        ],
        "properties": {
          "observations": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "options": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "QualityReport": {
        "type": "object",
        "required": [
          "testVersion",
          "observations",
          "counts",
          "series",
          "flags",
          "note"
        ],
        "properties": {
          "testVersion": {
            "type": "string"
          },
          "observations": {
            "type": "integer"
          },
          "counts": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "series": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "flags": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "index",
                "flag",
                "tests"
              ],
              "properties": {
                "index": {
                  "type": "integer"
                },
                "flag": {
                  "enum": [
                    "GOOD",
                    "SUSPECT",
                    "BAD",
                    "MISSING",
                    "ESTIMATED",
                    "NOT_CHECKED"
                  ]
                },
                "tests": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [],
                    "properties": {},
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": true
            }
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "AttestBody": {
        "type": "object",
        "required": [],
        "properties": {
          "digest": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "observation": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "evidence": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "signature": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "attestationResult": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "at": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "AttestReport": {
        "type": "object",
        "required": [
          "checks",
          "summary",
          "trust",
          "note"
        ],
        "properties": {
          "checks": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "check",
                "status",
                "detail"
              ],
              "properties": {
                "check": {
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "PASS",
                    "FAIL",
                    "NOT_PROVIDED",
                    "UNSUPPORTED"
                  ]
                },
                "detail": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            }
          },
          "summary": {
            "type": "object",
            "required": [],
            "properties": {
              "pass": {
                "type": "integer"
              },
              "fail": {
                "type": "integer"
              },
              "notProvided": {
                "type": "integer"
              },
              "unsupported": {
                "type": "integer"
              }
            },
            "additionalProperties": true
          },
          "trust": {
            "const": "NOT_ASSESSED"
          },
          "carry": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "IndustryRow": {
        "type": "object",
        "required": [
          "id",
          "isic",
          "coverage",
          "profiles",
          "gaps"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "isic": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "summary": {
            "type": "string"
          },
          "coverage": {
            "type": "object",
            "required": [
              "status"
            ],
            "properties": {
              "status": {
                "enum": [
                  "complete",
                  "partial",
                  "none"
                ]
              },
              "dimensions": {
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "profiles": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "engines": {
            "type": "integer"
          },
          "subApis": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "gaps": {
            "type": "integer"
          },
          "href": {
            "type": "string"
          },
          "localId": {
            "type": "string"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        },
        "additionalProperties": true
      },
      "Industry": {
        "type": "object",
        "required": [
          "id",
          "isic",
          "observation",
          "coverage",
          "gaps"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "isic": {
            "type": "object",
            "required": [
              "code",
              "level",
              "title"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "level": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "revision": {
                "type": "string"
              },
              "section": {
                "type": "string"
              },
              "ancestors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [],
                  "properties": {},
                  "additionalProperties": true
                }
              },
              "source": {
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "summary": {
            "type": "string"
          },
          "observation": {
            "type": "object",
            "required": [
              "profiles"
            ],
            "properties": {
              "profiles": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [],
                  "properties": {},
                  "additionalProperties": true
                }
              },
              "generic": {
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "subApis": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "applies": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "coverage": {
            "type": "object",
            "required": [
              "status",
              "dimensions"
            ],
            "properties": {
              "status": {
                "enum": [
                  "complete",
                  "partial",
                  "none"
                ]
              },
              "dimensions": {
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": true
              },
              "note": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "designed": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "gaps": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "dimension",
                "need"
              ],
              "properties": {
                "dimension": {
                  "type": "string"
                },
                "need": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            }
          },
          "crosswalks": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "localId": {
            "type": "string"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        },
        "additionalProperties": true
      },
      "JurisdictionRow": {
        "type": "object",
        "required": [
          "id",
          "jurisdiction",
          "coverage",
          "gaps"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "jurisdiction": {
            "type": "object",
            "required": [
              "code",
              "kind"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "kind": {
                "enum": [
                  "country",
                  "region",
                  "regime"
                ]
              },
              "title": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "summary": {
            "type": "string"
          },
          "coverage": {
            "type": "object",
            "required": [
              "status"
            ],
            "properties": {
              "status": {
                "enum": [
                  "complete",
                  "partial",
                  "none"
                ]
              },
              "jurisdictionSpecific": {
                "type": "string"
              },
              "dimensions": {
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "profiles": {
            "type": "integer"
          },
          "regimePointers": {
            "type": "integer"
          },
          "gaps": {
            "type": "integer"
          },
          "href": {
            "type": "string"
          },
          "localId": {
            "type": "string"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        },
        "additionalProperties": true
      },
      "Jurisdiction": {
        "type": "object",
        "required": [
          "id",
          "jurisdiction",
          "observation",
          "coverage",
          "gaps"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jurisdiction": {
            "type": "object",
            "required": [
              "code",
              "kind",
              "title"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "kind": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "hierarchy": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [],
                  "properties": {},
                  "additionalProperties": true
                }
              },
              "source": {
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "summary": {
            "type": "string"
          },
          "observation": {
            "type": "object",
            "required": [
              "profiles"
            ],
            "properties": {
              "profiles": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [],
                  "properties": {},
                  "additionalProperties": true
                }
              },
              "rules": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [],
                  "properties": {},
                  "additionalProperties": true
                }
              },
              "generic": {
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "applies": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "coverage": {
            "type": "object",
            "required": [
              "status",
              "dimensions"
            ],
            "properties": {
              "status": {
                "enum": [
                  "complete",
                  "partial",
                  "none"
                ]
              },
              "dimensions": {
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": true
              },
              "note": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "gaps": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "dimension",
                "need"
              ],
              "properties": {
                "dimension": {
                  "type": "string"
                },
                "need": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            }
          },
          "localId": {
            "type": "string"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        },
        "additionalProperties": true
      },
      "NicheRow": {
        "type": "object",
        "required": [
          "id",
          "routes",
          "mcp",
          "niche"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "workingName": {
            "type": "string"
          },
          "routes": {
            "type": "string"
          },
          "mcp": {
            "type": "string"
          },
          "niche": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "state": {
            "type": "string"
          },
          "isic": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "NicheManifest": {
        "type": "object",
        "required": [
          "schema",
          "network",
          "id",
          "scope",
          "tools",
          "niche",
          "sources",
          "licences"
        ],
        "properties": {
          "schema": {
            "type": "string"
          },
          "network": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "workingName": {
            "type": "string"
          },
          "scope": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "resources": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tools": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "niche": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [],
                  "properties": {},
                  "additionalProperties": true
                }
              }
            ]
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "licences": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "state": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "CalcBody": {
        "type": "object",
        "required": [],
        "properties": {},
        "additionalProperties": true
      },
      "Contribution": {
        "type": "object",
        "required": [
          "id",
          "feature",
          "recordType",
          "licence",
          "review",
          "provenance",
          "selfReported"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "localId": {
            "type": "string"
          },
          "feature": {
            "type": "string"
          },
          "recordType": {
            "enum": [
              "property",
              "oip",
              "register-entry",
              "case"
            ]
          },
          "profile": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "licence": {
            "type": "string"
          },
          "selfReported": {
            "type": "boolean"
          },
          "deidentified": {
            "const": true
          },
          "review": {
            "type": "object",
            "required": [
              "role",
              "decision",
              "date",
              "activity"
            ],
            "properties": {
              "role": {
                "type": "string"
              },
              "decision": {
                "const": "accepted"
              },
              "date": {
                "type": "string"
              },
              "activity": {
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "provenance": {
            "type": "object",
            "required": [
              "source",
              "feature",
              "reviewRole"
            ],
            "properties": {
              "source": {
                "const": "intake"
              },
              "feature": {
                "type": "string"
              },
              "reviewRole": {
                "type": "string"
              },
              "decisionId": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        },
        "additionalProperties": true
      },
      "ResolveAnswer": {
        "type": "object",
        "required": [
          "id",
          "type",
          "authority",
          "versions",
          "href",
          "record",
          "links"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "authority": {
            "const": "obp"
          },
          "version": {
            "type": [
              "string",
              "null"
            ]
          },
          "versions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "href": {
            "type": "string"
          },
          "record": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        },
        "additionalProperties": true
      },
      "SearchHit": {
        "type": "object",
        "required": [
          "id",
          "type",
          "title",
          "score",
          "why",
          "href",
          "authority"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "score": {
            "type": "integer"
          },
          "why": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "term",
                "field"
              ],
              "properties": {
                "term": {
                  "type": "string"
                },
                "field": {
                  "enum": [
                    "strong",
                    "medium",
                    "weak"
                  ]
                }
              },
              "additionalProperties": false
            }
          },
          "href": {
            "type": "string"
          },
          "authority": {
            "const": "obp"
          }
        },
        "additionalProperties": false
      },
      "FederationDescriptor": {
        "type": "object",
        "required": [
          "schema",
          "network",
          "recordTypes",
          "idPattern",
          "resolve",
          "search",
          "neighbours",
          "changes",
          "mcp",
          "snapshot"
        ],
        "properties": {
          "schema": {
            "const": "nexus.federation-descriptor/v1"
          },
          "network": {
            "const": "obp"
          },
          "service": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "openapi": {
            "type": "string"
          },
          "recordTypes": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "type",
                "count",
                "idPattern",
                "resolve"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "count": {
                  "type": "integer"
                },
                "idPattern": {
                  "type": "string"
                },
                "resolve": {
                  "type": "string"
                },
                "versioned": {
                  "type": "boolean"
                },
                "changeTypes": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": true
            }
          },
          "idPattern": {
            "type": "string"
          },
          "resolve": {
            "type": "object",
            "required": [
              "template"
            ],
            "properties": {
              "template": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "search": {
            "type": "object",
            "required": [
              "route"
            ],
            "properties": {
              "route": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "neighbours": {
            "type": "object",
            "required": [
              "source"
            ],
            "properties": {
              "source": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "changes": {
            "type": "object",
            "required": [
              "route"
            ],
            "properties": {
              "route": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "mcp": {
            "type": "object",
            "required": [
              "endpoint",
              "tools",
              "subApis",
              "catalogue"
            ],
            "properties": {
              "endpoint": {
                "type": "string"
              },
              "tools": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "subApis": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "endpoint",
                    "tools"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "endpoint": {
                      "type": "string"
                    },
                    "tools": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": true
                }
              },
              "catalogue": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": true
          },
          "subApis": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "representations": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "dimensions": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "snapshot": {
            "type": "object",
            "required": [
              "digest",
              "snapshotAt"
            ],
            "properties": {
              "digest": {
                "type": "string"
              },
              "snapshotAt": {
                "type": "string"
              },
              "sources": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [],
                  "properties": {},
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "JsonLdContext": {
        "type": "object",
        "required": [
          "@context"
        ],
        "properties": {
          "@context": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "ObservationJsonLd": {
        "type": "object",
        "required": [
          "observation",
          "note"
        ],
        "properties": {
          "observation": {
            "type": "object",
            "required": [
              "@context",
              "@id",
              "@type"
            ],
            "properties": {
              "@context": {
                "type": "string"
              },
              "@id": {
                "type": "string"
              },
              "@type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "MethodSummary": {
        "type": "object",
        "required": [
          "id",
          "title",
          "purpose",
          "version",
          "state",
          "review",
          "uncertainty"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "review": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "uncertainty": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true
      },
      "MethodCard": {
        "type": "object",
        "required": [
          "id",
          "title",
          "version",
          "purpose",
          "inputs",
          "outputs",
          "equations",
          "assumptions",
          "limits",
          "uncertainty",
          "validation",
          "review"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "inputs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "outputs": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "equations": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "name",
                "text"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            }
          },
          "assumptions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "limits": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "uncertainty": {
            "type": "object",
            "required": [
              "kind",
              "text"
            ],
            "properties": {
              "kind": {
                "type": "string"
              },
              "text": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "validation": {
            "type": "object",
            "required": [
              "golden",
              "tests"
            ],
            "properties": {
              "golden": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "case",
                    "basis"
                  ],
                  "properties": {
                    "case": {
                      "type": "string"
                    },
                    "expected": {},
                    "basis": {
                      "enum": [
                        "published",
                        "hand derivation"
                      ]
                    }
                  },
                  "additionalProperties": true
                }
              },
              "tests": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": true
          },
          "review": {
            "type": "object",
            "required": [
              "state"
            ],
            "properties": {
              "state": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "boundaries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true
      },
      "SourceRow": {
        "type": "object",
        "required": [
          "id",
          "title",
          "publisher",
          "identifier",
          "verified"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "publisher": {
            "type": "string"
          },
          "identifier": {
            "type": "string"
          },
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "verified": {
            "type": "boolean"
          },
          "licence": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "SolBody": {
        "type": "object",
        "required": [],
        "properties": {
          "industry": {
            "type": "string"
          },
          "profile": {
            "type": "string"
          },
          "jurisdiction": {
            "type": "string"
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "property": {
            "type": "string"
          },
          "observations": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "evidence": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "signature": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "attestationResult": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "digest": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "at": {
            "type": "string"
          },
          "options": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "SolResult": {
        "type": "object",
        "required": [
          "note"
        ],
        "properties": {
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "SolutionManifest": {
        "type": "object",
        "required": [
          "schema",
          "id",
          "name",
          "lead",
          "decision",
          "deliverables",
          "steps",
          "examples",
          "state"
        ],
        "properties": {
          "schema": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "lead": {
            "type": "string"
          },
          "contributing": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "contributions": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "decision": {
            "type": "string"
          },
          "deliverables": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "steps": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "examples": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "state": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "CalcResult": {
        "type": "object",
        "required": [
          "method"
        ],
        "properties": {
          "method": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "Refusal": {
        "type": "object",
        "required": [],
        "properties": {},
        "additionalProperties": true
      },
      "SelfTestResult": {
        "type": "object",
        "required": [
          "result",
          "profile",
          "counts",
          "report",
          "maxLevel"
        ],
        "properties": {
          "result": {
            "type": [
              "string",
              "null"
            ]
          },
          "profile": {
            "type": "string"
          },
          "counts": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "report": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "maxLevel": {
            "const": "SELF_TESTED"
          }
        },
        "additionalProperties": true
      },
      "DeclareResult": {
        "type": "object",
        "required": [
          "record",
          "receipt"
        ],
        "properties": {
          "record": {},
          "receipt": {},
          "receiptVerified": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "additionalProperties": true
      },
      "EvidenceBody": {
        "type": "object",
        "required": [],
        "properties": {},
        "additionalProperties": true
      },
      "EvidenceCheck": {
        "type": "object",
        "required": [
          "id",
          "requirement",
          "source",
          "status",
          "detail"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "requirement": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "status": {
            "enum": [
              "PASS",
              "FAIL",
              "INCONCLUSIVE",
              "NOT_RUN"
            ]
          },
          "detail": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "subject": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "EvidenceResult": {
        "type": "object",
        "required": [
          "verdict",
          "checks",
          "counts",
          "assessment",
          "verifier"
        ],
        "properties": {
          "verdict": {
            "enum": [
              "PASS",
              "FAIL",
              "INCONCLUSIVE"
            ]
          },
          "checks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EvidenceCheck"
            }
          },
          "counts": {
            "type": "object",
            "required": [
              "PASS",
              "FAIL",
              "INCONCLUSIVE",
              "NOT_RUN"
            ],
            "properties": {
              "PASS": {
                "type": "integer"
              },
              "FAIL": {
                "type": "integer"
              },
              "INCONCLUSIVE": {
                "type": "integer"
              },
              "NOT_RUN": {
                "type": "integer"
              }
            },
            "additionalProperties": true
          },
          "normalised": {},
          "assessment": {
            "type": "string"
          },
          "verifier": {
            "type": "object",
            "required": [
              "name",
              "commit"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "version": {
                "type": "string"
              },
              "commit": {
                "type": "string"
              },
              "repository": {
                "type": "string"
              },
              "licence": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "VerifyIndex": {
        "type": "object",
        "required": [
          "verifier",
          "vendor",
          "routes",
          "vectors",
          "assessment"
        ],
        "properties": {
          "verifier": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "vendor": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "routes": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "vectors": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "assessment": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "ProvenanceObject": {
        "type": "object",
        "required": [
          "schema",
          "uni",
          "digest",
          "evidence",
          "receipt"
        ],
        "properties": {
          "schema": {
            "type": "string"
          },
          "uni": {
            "type": [
              "string",
              "null"
            ]
          },
          "digest": {
            "type": "string"
          },
          "evidence": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "receipt": {
            "type": [
              "object",
              "null"
            ]
          }
        },
        "additionalProperties": true
      },
      "BundleCreated": {
        "type": "object",
        "required": [
          "bundle",
          "digest"
        ],
        "properties": {
          "bundle": {
            "type": "object",
            "required": [
              "bundleType",
              "documents",
              "manifest"
            ],
            "properties": {
              "bundleType": {
                "type": "string"
              },
              "documents": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [],
                  "properties": {},
                  "additionalProperties": true
                }
              },
              "manifest": {
                "type": "object",
                "required": [],
                "properties": {},
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "digest": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "ScittEntry": {
        "type": "object",
        "required": [],
        "properties": {
          "entryId": {
            "type": "string"
          },
          "receipt": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "CorrectionsFeed": {
        "type": "object",
        "required": [
          "events",
          "nextCursor",
          "total"
        ],
        "properties": {
          "events": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "nextCursor": {
            "type": "integer"
          },
          "total": {
            "type": "integer"
          }
        },
        "additionalProperties": true
      },
      "AsyncApiDocument": {
        "type": "object",
        "required": [
          "asyncapi",
          "info",
          "channels"
        ],
        "properties": {
          "asyncapi": {
            "const": "3.0.0"
          },
          "info": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "channels": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "CorrectionAdmitted": {
        "type": "object",
        "required": [
          "event"
        ],
        "properties": {
          "event": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "verdict": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "Subscription": {
        "type": "object",
        "required": [
          "id",
          "secret",
          "url"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "secret": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "PackRow": {
        "type": "object",
        "required": [
          "id",
          "title",
          "regime",
          "retention",
          "uncertaintyConvention",
          "claimsNeverMade",
          "state"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "regime": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "applies": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "retention": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "uncertaintyConvention": {
            "type": "string"
          },
          "claimsNeverMade": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "state": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "PackDetail": {
        "type": "object",
        "required": [
          "pack",
          "fieldMap",
          "samples"
        ],
        "properties": {
          "pack": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "fieldMap": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "article",
                "requirement",
                "source",
                "checks",
                "status"
              ],
              "properties": {
                "field": {
                  "type": "string"
                },
                "article": {
                  "type": "string"
                },
                "requirement": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                },
                "checks": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "status": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            }
          },
          "samples": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": true
      },
      "ExportResult": {
        "type": "object",
        "required": [
          "target",
          "assessment"
        ],
        "properties": {
          "target": {
            "type": "object",
            "required": [
              "name",
              "sourceVerified"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "sourceVerified": {
                "type": "boolean"
              }
            },
            "additionalProperties": true
          },
          "assessment": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "ScittConfiguration": {
        "type": "object",
        "required": [
          "architecture",
          "api",
          "operations"
        ],
        "properties": {
          "architecture": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "api": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "operations": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [],
              "properties": {},
              "additionalProperties": true
            }
          },
          "receipts": {
            "type": "string"
          },
          "note": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "UpstreamsData": {
        "type": "object",
        "required": [
          "services"
        ],
        "properties": {
          "services": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "service",
                "configured",
                "allowed",
                "env",
                "state"
              ],
              "properties": {
                "service": {
                  "type": "string"
                },
                "configured": {
                  "type": "boolean"
                },
                "allowed": {
                  "type": "boolean"
                },
                "env": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "E",
                    "D"
                  ]
                }
              },
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": true
      },
      "UpstreamRecord": {
        "type": "object",
        "required": [
          "record",
          "upstream"
        ],
        "properties": {
          "record": {},
          "verification": {
            "type": [
              "object",
              "null"
            ]
          },
          "upstream": {
            "type": "object",
            "required": [
              "service",
              "url",
              "sha256"
            ],
            "properties": {
              "service": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "sha256": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "ServiceKey": {
        "type": "object",
        "required": [
          "jwk",
          "kid",
          "alg"
        ],
        "properties": {
          "jwk": {
            "type": "object",
            "required": [],
            "properties": {},
            "additionalProperties": true
          },
          "kid": {
            "type": "string"
          },
          "alg": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "EvidenceFlow": {
        "type": "object",
        "required": [
          "solution",
          "steps"
        ],
        "properties": {
          "solution": {
            "type": "string"
          },
          "steps": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "title",
                "route",
                "tool"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "route": {
                  "type": "string"
                },
                "tool": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": true
      },
      "EvidenceFlowRun": {
        "type": "object",
        "required": [
          "solution",
          "steps",
          "assessment"
        ],
        "properties": {
          "solution": {
            "type": "string"
          },
          "steps": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "status"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "PASS",
                    "FAIL",
                    "INCONCLUSIVE",
                    "NOT_RUN"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "assessment": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "securitySchemes": {
      "passport": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "NXS Passport access token (RFC 9068), verified against the issuer's OpenID discovery."
      }
    }
  }
}
