{
  "openapi": "3.1.0",
  "info": {
    "title": "Penumbra API",
    "version": "v1",
    "description": "HTTP reference for Files, search, extraction, reviews, Graph, Shapes and sharing."
  },
  "servers": [
    {
      "url": "https://api.pnbr.io",
      "description": "Penumbra API"
    }
  ],
  "paths": {
    "/v1/me": {
      "get": {
        "operationId": "http.me.get",
        "summary": "Get caller",
        "parameters": [],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_me_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read who the caller is: a person's profile, or an assistant connection's approved projects.\n\nProduct guidance: [Credential](/concepts/credential), [Approval](/concepts/approval).",
        "tags": [
          "Projects and access"
        ]
      }
    },
    "/v1/me/project-scopes": {
      "get": {
        "operationId": "http.me.project_scopes",
        "summary": "List accessible projects",
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size, 1 to 100. Defaults to 50.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_me_project_scopes_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the organizations and projects the caller can reach.\n\nProduct guidance: [Credential](/concepts/credential), [Approval](/concepts/approval).",
        "tags": [
          "Projects and access"
        ]
      }
    },
    "/v1/orgs/{org}/projects": {
      "get": {
        "operationId": "http.projects.list",
        "summary": "List projects",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size, 1 to 100. Defaults to 50.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_projects_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List an organization's projects.\n\nProduct guidance: [Credential](/concepts/credential), [Approval](/concepts/approval).",
        "tags": [
          "Projects and access"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/connections": {
      "get": {
        "operationId": "http.projects.connections.list",
        "summary": "Get project connections",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_projects_connections_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read the endpoints and ways a project can be connected to.\n\nProduct guidance: [Credential](/concepts/credential), [Approval](/concepts/approval).",
        "tags": [
          "Projects and access"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/access/me": {
      "get": {
        "operationId": "http.access.me",
        "summary": "Get caller access",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_access_me_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read the View, if any, that limits the caller's own access.\n\nProduct guidance: [Credential](/concepts/credential), [Approval](/concepts/approval).",
        "tags": [
          "Projects and access"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/mcp/approvals": {
      "get": {
        "operationId": "http.approvals.list",
        "summary": "List approvals",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_approvals_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the Kit and agent requests held for approval.\n\nProduct guidance: [Credential](/concepts/credential), [Approval](/concepts/approval).",
        "tags": [
          "Projects and access"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/mcp/approvals/{id}": {
      "get": {
        "operationId": "http.approvals.get",
        "summary": "Get approval",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_approvals_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one request held for approval.\n\nProduct guidance: [Credential](/concepts/credential), [Approval](/concepts/approval).",
        "tags": [
          "Projects and access"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/uploads": {
      "post": {
        "operationId": "http.uploads.create",
        "summary": "Create upload session",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_uploads_create_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_uploads_create_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Open an upload session for File bytes.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/uploads/{upload}": {
      "get": {
        "operationId": "http.uploads.get",
        "summary": "Get upload session",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "upload",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_uploads_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read the state of an upload session.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files": {
      "post": {
        "operationId": "http.files.admit",
        "summary": "Add file",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_files_admit_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_admit_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Admit an uploaded File into the project.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      },
      "get": {
        "operationId": "http.files.list",
        "summary": "List files",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Only Files with this status.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tag",
            "in": "query",
            "required": false,
            "description": "Only Files with every tag given. Repeatable.",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            }
          },
          {
            "name": "media_type",
            "in": "query",
            "required": false,
            "description": "Only Files with one of these media types. Repeatable.",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            }
          },
          {
            "name": "collection_id",
            "in": "query",
            "required": false,
            "description": "Only Files in this collection.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "name_prefix",
            "in": "query",
            "required": false,
            "description": "Only Files whose name starts with this.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "external_key",
            "in": "query",
            "required": false,
            "description": "Only the File with this external key.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "created_after",
            "in": "query",
            "required": false,
            "description": "Only Files created after this RFC 3339 timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "created_before",
            "in": "query",
            "required": false,
            "description": "Only Files created before this RFC 3339 timestamp.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_deleted",
            "in": "query",
            "required": false,
            "description": "true to include deleted Files. Defaults to false.",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "description": "What to include with each File: current_version, collections. Repeatable, or a comma list.",
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size, 1 to 100. Defaults to 50.",
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the project's Files, or read the library view.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/resolve": {
      "post": {
        "operationId": "http.files.resolve",
        "summary": "Resolve files",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_files_resolve_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_resolve_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Resolve a batch of File references to their current readable versions.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/{file}/versions": {
      "post": {
        "operationId": "http.files.replace",
        "summary": "Replace file",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_files_replace_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_replace_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Replace a File with a new version.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      },
      "get": {
        "operationId": "http.versions.list",
        "summary": "List file versions",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_deleted",
            "in": "query",
            "required": false,
            "description": "true to include deleted versions. Anything else is false.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "description": "Only versions numbered after this one.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many versions to list. Defaults to 20.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_versions_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the versions of a File.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/{file}/versions/{version}": {
      "get": {
        "operationId": "http.versions.get",
        "summary": "Get file version",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_deleted",
            "in": "query",
            "required": false,
            "description": "true to read a deleted version. Anything else is false.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_versions_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one version of a File.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/{file}/versions/{version}/processing": {
      "get": {
        "operationId": "http.files.processing",
        "summary": "Get file processing status",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "include_deleted",
            "in": "query",
            "required": false,
            "description": "true to read a deleted version. Defaults to false.",
            "schema": {
              "type": "string",
              "enum": [
                "true",
                "false"
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_processing_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read the processing state of one File version.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/{file}/versions/{version}/download": {
      "get": {
        "operationId": "http.files.download",
        "summary": "Download file",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kind",
            "in": "query",
            "required": false,
            "description": "Which rendition: original, text, screenshot or cover. Defaults to original.",
            "schema": {
              "type": "string",
              "enum": [
                "original",
                "text",
                "screenshot",
                "cover"
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_download_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Get a download target for one File version.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/{file}/versions/{version}/text": {
      "get": {
        "operationId": "http.files.text",
        "summary": "Get file text",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start_byte",
            "in": "query",
            "required": false,
            "description": "The first UTF-8 byte to read. Defaults to 0. Not allowed with page.",
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "A page number, from 1. The window starts at that page and never reaches past its end. Not allowed with start_byte.",
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "limit_bytes",
            "in": "query",
            "required": false,
            "description": "How many bytes to read, 1 to 65,536. Defaults to 16,384.",
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_text_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read the extracted text of one File version.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/{file}/versions/{version}/pages": {
      "get": {
        "operationId": "http.files.pages",
        "summary": "Get file pages",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "description": "Continue after this page number. Defaults to 0.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many pages, 1 to 100. Defaults to 50.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_pages_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read the pages of a document File version.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/{file}/versions/{version}/citations": {
      "get": {
        "operationId": "http.files.citations",
        "summary": "List file citations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_citations_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the graph citations that point into one File version.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/title": {
      "post": {
        "operationId": "http.files.title",
        "summary": "Set file title",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_files_title_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_title_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Set or clear the title of a File. Its name and path never change.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/describe": {
      "post": {
        "operationId": "http.files.describe",
        "summary": "Set file description",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_files_describe_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_describe_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Set the description of a File.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/tags": {
      "post": {
        "operationId": "http.files.tags",
        "summary": "Set file tags",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_files_tags_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_tags_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Set the tags of a File.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/source-date": {
      "post": {
        "operationId": "http.files.source_date",
        "summary": "Set file source date",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_files_source_date_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_source_date_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Set the source date of a File.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/trash": {
      "post": {
        "operationId": "http.files.trash",
        "summary": "Trash files",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_files_trash_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_trash_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Move Files to the trash.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/restore": {
      "post": {
        "operationId": "http.files.restore",
        "summary": "Restore files",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_files_restore_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_restore_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Restore Files from the trash.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/operations/{operation}": {
      "get": {
        "operationId": "http.operations.get",
        "summary": "Get file operation",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "operation",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_operations_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read the settlement state of an asynchronous Files operation.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/requests/{request}": {
      "get": {
        "operationId": "http.requests.get",
        "summary": "Recover file request",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "request",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_requests_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Recover the receipt of a Files command from its idempotency request ID.\n\nProduct guidance: [File](/concepts/file), [Synced folder](/concepts/source).",
        "tags": [
          "Files"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/search": {
      "post": {
        "operationId": "http.files.search",
        "summary": "Search files",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_files_search_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_search_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Search the project's File knowledge and return ranked, cited results.\n\nProduct guidance: [Search](/concepts/search), [Passage and citation](/concepts/passage), [Context](/concepts/context).",
        "tags": [
          "Search and citations"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/chunks/resolve": {
      "post": {
        "operationId": "http.files.chunks",
        "summary": "Resolve citations",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_files_chunks_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_files_chunks_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Resolve chunk references to the exact text they cite.\n\nProduct guidance: [Search](/concepts/search), [Passage and citation](/concepts/passage), [Context](/concepts/context).",
        "tags": [
          "Search and citations"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/search": {
      "post": {
        "operationId": "http.graph.search",
        "summary": "Search graph",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_search_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_search_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Search the project graph for nodes and edges.\n\nProduct guidance: [Search](/concepts/search), [Passage and citation](/concepts/passage), [Context](/concepts/context).",
        "tags": [
          "Search and citations"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/context/entities/{id}": {
      "get": {
        "operationId": "http.context.entity",
        "summary": "Get entity context",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "relationship_limit",
            "in": "query",
            "required": false,
            "description": "How many relationships to return, 1 to 100. Defaults to 20.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "relationship_cursor",
            "in": "query",
            "required": false,
            "description": "Continue the relationship list.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file_surface",
            "in": "query",
            "required": false,
            "description": "The Files surface to read file references from.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_context_entity_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one context entity with its evidence.\n\nProduct guidance: [Search](/concepts/search), [Passage and citation](/concepts/passage), [Context](/concepts/context).",
        "tags": [
          "Search and citations"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/context/explore": {
      "post": {
        "operationId": "http.context.explore",
        "summary": "Explore context",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_context_explore_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_context_explore_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Explore the project context around a question or entity.\n\nProduct guidance: [Search](/concepts/search), [Passage and citation](/concepts/passage), [Context](/concepts/context).",
        "tags": [
          "Search and citations"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/collections": {
      "get": {
        "operationId": "http.collections.list",
        "summary": "List collections",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many collections to list, 1 to 200. Defaults to 50.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_collections_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the project's File collections.\n\nProduct guidance: [Collection](/concepts/collection).",
        "tags": [
          "Collections"
        ]
      },
      "post": {
        "operationId": "http.collections.create",
        "summary": "Create collection",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_collections_create_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_collections_create_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Create a File collection.\n\nProduct guidance: [Collection](/concepts/collection).",
        "tags": [
          "Collections"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/collections/{collection}": {
      "get": {
        "operationId": "http.collections.get",
        "summary": "Get collection",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many files to list, 1 to 100. Defaults to 50.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_collections_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one File collection.\n\nProduct guidance: [Collection](/concepts/collection).",
        "tags": [
          "Collections"
        ]
      },
      "patch": {
        "operationId": "http.collections.update",
        "summary": "Update collection",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_collections_update_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_collections_update_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Rename or edit a File collection.\n\nProduct guidance: [Collection](/concepts/collection).",
        "tags": [
          "Collections"
        ]
      },
      "delete": {
        "operationId": "http.collections.delete",
        "summary": "Delete collection",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_collections_delete_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Delete a File collection.\n\nProduct guidance: [Collection](/concepts/collection).",
        "tags": [
          "Collections"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/collections/{collection}/files/{file}": {
      "put": {
        "operationId": "http.collections.add",
        "summary": "Add file to collection",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_collections_add_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Add a File to a collection.\n\nProduct guidance: [Collection](/concepts/collection).",
        "tags": [
          "Collections"
        ]
      },
      "delete": {
        "operationId": "http.collections.remove",
        "summary": "Remove file from collection",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_collections_remove_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Remove a File from a collection.\n\nProduct guidance: [Collection](/concepts/collection).",
        "tags": [
          "Collections"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/collections/{collection}/readiness": {
      "get": {
        "operationId": "http.collections.readiness",
        "summary": "Get collection readiness",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_collections_readiness_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read whether a collection's Files are ready to use.\n\nProduct guidance: [Collection](/concepts/collection).",
        "tags": [
          "Collections"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/documents": {
      "post": {
        "operationId": "http.documents.create",
        "summary": "Create document",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_documents_create_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_documents_create_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Create a Markdown document.\n\nProduct guidance: [Document](/concepts/document).",
        "tags": [
          "Documents"
        ]
      },
      "get": {
        "operationId": "http.documents.read",
        "summary": "Read document",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "view",
            "in": "query",
            "required": true,
            "description": "content for the Markdown, outline for its headings.",
            "schema": {
              "type": "string",
              "enum": [
                "content",
                "outline"
              ]
            }
          },
          {
            "name": "path",
            "in": "query",
            "required": true,
            "description": "The document's path in the project.",
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_documents_read_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read a Markdown document, or its outline with ?view=outline.\n\nProduct guidance: [Document](/concepts/document).",
        "tags": [
          "Documents"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/document-edits": {
      "post": {
        "operationId": "http.documents.edit",
        "summary": "Replace document text",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_documents_edit_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_documents_edit_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Edit a document by replacing exact text.\n\nProduct guidance: [Document](/concepts/document).",
        "tags": [
          "Documents"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/files/document-insertions": {
      "post": {
        "operationId": "http.documents.insert",
        "summary": "Insert document blocks",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_documents_insert_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_documents_insert_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Insert blocks into a document.\n\nProduct guidance: [Document](/concepts/document).",
        "tags": [
          "Documents"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/semantic-tasks/file-extractions/capabilities": {
      "post": {
        "operationId": "http.semantic_tasks.file_extractions.capabilities",
        "summary": "Get extraction capabilities",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_semantic_tasks_file_extractions_capabilities_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_semantic_tasks_file_extractions_capabilities_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Ask what an extraction over given Files can do.\n\nProduct guidance: [Extraction](/concepts/extraction).",
        "tags": [
          "Extraction"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/semantic-tasks/file-extractions/plan": {
      "post": {
        "operationId": "http.semantic_tasks.file_extractions.plan",
        "summary": "Plan file extraction",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_semantic_tasks_file_extractions_plan_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_semantic_tasks_file_extractions_plan_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Plan an extraction run and its cost before starting it.\n\nProduct guidance: [Extraction](/concepts/extraction).",
        "tags": [
          "Extraction"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/extractions": {
      "post": {
        "operationId": "http.graph.extractions.start",
        "summary": "Start extraction",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_extractions_start_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_extractions_start_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Start an extraction run over Files. It opens its own review workspace and returns it.\n\nProduct guidance: [Extraction](/concepts/extraction).",
        "tags": [
          "Extraction"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/semantic-tasks/file-extractions": {
      "get": {
        "operationId": "http.semantic_tasks.file_extractions.list",
        "summary": "List extractions",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "file_id",
            "in": "query",
            "required": true,
            "description": "The File whose runs to list.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size, 1 to 100. Defaults to 50.",
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_semantic_tasks_file_extractions_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the project's extraction runs.\n\nProduct guidance: [Extraction](/concepts/extraction).",
        "tags": [
          "Extraction"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/semantic-tasks/file-extractions/runs/{run}": {
      "get": {
        "operationId": "http.semantic_tasks.file_extractions.get",
        "summary": "Get extraction",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "run",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_semantic_tasks_file_extractions_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one extraction run.\n\nProduct guidance: [Extraction](/concepts/extraction).",
        "tags": [
          "Extraction"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/semantic-tasks/file-extractions/runs/{run}/results": {
      "get": {
        "operationId": "http.semantic_tasks.file_extractions.results",
        "summary": "Get extraction results",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "run",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size, 1 to 100. Defaults to 50.",
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_semantic_tasks_file_extractions_results_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read an extraction run's results.\n\nProduct guidance: [Extraction](/concepts/extraction).",
        "tags": [
          "Extraction"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/semantic-tasks/file-extractions/runs/{run}/stop": {
      "post": {
        "operationId": "http.semantic_tasks.file_extractions.stop",
        "summary": "Stop extraction",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "run",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_semantic_tasks_file_extractions_stop_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_semantic_tasks_file_extractions_stop_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Stop an extraction run.\n\nProduct guidance: [Extraction](/concepts/extraction).",
        "tags": [
          "Extraction"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/semantic-tasks/file-extractions/runs/{run}/try-again": {
      "post": {
        "operationId": "http.semantic_tasks.file_extractions.try_again",
        "summary": "Retry extraction",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "run",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_semantic_tasks_file_extractions_try_again_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_semantic_tasks_file_extractions_try_again_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Try an extraction run again.\n\nProduct guidance: [Extraction](/concepts/extraction).",
        "tags": [
          "Extraction"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/workspaces": {
      "get": {
        "operationId": "http.graph.workspaces.list",
        "summary": "List review workspaces",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "open, submitted, applied, closed or all. Defaults to all.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many workspaces, 1 to 200.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the project's graph workspaces.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      },
      "post": {
        "operationId": "http.graph.workspaces.open",
        "summary": "Open review workspace",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_workspaces_open_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_open_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Open or resume a graph workspace by name.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/workspaces/{ws}": {
      "get": {
        "operationId": "http.graph.workspaces.get",
        "summary": "Get review workspace",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many items, 1 to 400. Defaults to 100.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Skip this many items. Defaults to 0.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read the items staged in a graph workspace.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/workspaces/{ws}/capture": {
      "post": {
        "operationId": "http.graph.workspaces.capture",
        "summary": "Stage records",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_workspaces_capture_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_capture_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Stage entities and relationships in a workspace.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/workspaces/{ws}/hydrate": {
      "post": {
        "operationId": "http.graph.workspaces.hydrate",
        "summary": "Stage existing records",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_workspaces_hydrate_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_hydrate_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Check existing nodes or edges out of the graph into a workspace for update or delete.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/workspaces/{ws}/modify": {
      "post": {
        "operationId": "http.graph.workspaces.modify",
        "summary": "Edit staged records",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_workspaces_modify_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_modify_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Edit or remove staged workspace items.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/workspaces/{ws}/validate": {
      "post": {
        "operationId": "http.graph.workspaces.validate",
        "summary": "Validate review workspace",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_workspaces_validate_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_validate_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Compile a workspace without applying it and return diagnostics.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/workspaces/{ws}/submit": {
      "post": {
        "operationId": "http.graph.workspaces.submit",
        "summary": "Submit review workspace",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome. Required when an agent's request is held for approval.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_workspaces_submit_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_submit_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Apply a workspace's staged changes to the project graph.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/workspaces/{ws}/close": {
      "post": {
        "operationId": "http.graph.workspaces.close",
        "summary": "Close review workspace",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_workspaces_close_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_close_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Pause a graph workspace.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/workspaces/{ws}/restore": {
      "post": {
        "operationId": "http.graph.workspaces.restore",
        "summary": "Restore review workspace",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_workspaces_restore_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_restore_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Restore a discarded graph workspace: matching runs again and moved items are flagged.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/workspaces/{ws}/extractions": {
      "get": {
        "operationId": "http.graph.workspaces.extractions",
        "summary": "List workspace extractions",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "view",
            "in": "query",
            "required": false,
            "description": "review or findings to read one run; omit for the status of the runs.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "run_id",
            "in": "query",
            "required": false,
            "description": "The extraction run.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "description": "For findings: continue after this position.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "For findings: how many, 1 to 500.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_extractions_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read a workspace's extraction runs and their findings.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/workspaces/{ws}/stop-extraction": {
      "post": {
        "operationId": "http.graph.workspaces.stop_extraction",
        "summary": "Stop workspace extraction",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_workspaces_stop_extraction_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_workspaces_stop_extraction_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Stop a workspace extraction run.\n\nProduct guidance: [Workspace](/concepts/workspace).",
        "tags": [
          "Review workspaces"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/nodes": {
      "get": {
        "operationId": "http.graph.nodes.list",
        "summary": "List graph nodes",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many to list. Defaults to 50.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Only this type.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_nodes_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the project's live graph nodes.\n\nProduct guidance: [Entity](/concepts/entity), [Relationship](/concepts/relationship).",
        "tags": [
          "Graph"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/nodes/{id}": {
      "get": {
        "operationId": "http.graph.nodes.get",
        "summary": "Get graph node",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_nodes_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one graph node.\n\nProduct guidance: [Entity](/concepts/entity), [Relationship](/concepts/relationship).",
        "tags": [
          "Graph"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/nodes/{id}/history": {
      "get": {
        "operationId": "http.graph.nodes.history",
        "summary": "Get node history",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many to list. Defaults to 50.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_nodes_history_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Page the commit history of one graph node.\n\nProduct guidance: [Entity](/concepts/entity), [Relationship](/concepts/relationship).",
        "tags": [
          "Graph"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/edges": {
      "get": {
        "operationId": "http.graph.edges.list",
        "summary": "List graph edges",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many to list. Defaults to 50.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "description": "Only this type.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "node_id",
            "in": "query",
            "required": false,
            "description": "Only edges at this node.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "direction",
            "in": "query",
            "required": false,
            "description": "incoming, outgoing or both; needs node_id.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_edges_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the project's live graph edges.\n\nProduct guidance: [Entity](/concepts/entity), [Relationship](/concepts/relationship).",
        "tags": [
          "Graph"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/edges/{id}": {
      "get": {
        "operationId": "http.graph.edges.get",
        "summary": "Get graph edge",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_edges_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one graph edge.\n\nProduct guidance: [Entity](/concepts/entity), [Relationship](/concepts/relationship).",
        "tags": [
          "Graph"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/edges/{id}/history": {
      "get": {
        "operationId": "http.graph.edges.history",
        "summary": "Get edge history",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many to list. Defaults to 50.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_edges_history_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Page the commit history of one graph edge.\n\nProduct guidance: [Entity](/concepts/entity), [Relationship](/concepts/relationship).",
        "tags": [
          "Graph"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/counts": {
      "get": {
        "operationId": "http.graph.counts",
        "summary": "Count graph records",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_counts_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Count the project's graph nodes and edges by type.\n\nProduct guidance: [Entity](/concepts/entity), [Relationship](/concepts/relationship).",
        "tags": [
          "Graph"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/traverse": {
      "post": {
        "operationId": "http.graph.traverse",
        "summary": "Traverse graph",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_graph_traverse_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_traverse_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Walk the project graph from given nodes along typed edges.\n\nProduct guidance: [Entity](/concepts/entity), [Relationship](/concepts/relationship).",
        "tags": [
          "Graph"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/commits": {
      "get": {
        "operationId": "http.graph.commits.list",
        "summary": "List graph commits",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many to list. Defaults to 50.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_commits_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the graph's commits.\n\nProduct guidance: [Entity](/concepts/entity), [Relationship](/concepts/relationship).",
        "tags": [
          "Graph"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/graph/commits/{position}": {
      "get": {
        "operationId": "http.graph.commits.get",
        "summary": "Get graph commit",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "position",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_graph_commits_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one graph commit by position.\n\nProduct guidance: [Entity](/concepts/entity), [Relationship](/concepts/relationship).",
        "tags": [
          "Graph"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/shapes": {
      "get": {
        "operationId": "http.shapes.list",
        "summary": "List shapes",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 4096
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size, 1 to 100. Defaults to 50.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the project's published Shapes.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/shapes/{id}": {
      "get": {
        "operationId": "http.shapes.get",
        "summary": "Get shape",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read a published Shape's current version.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/shapes/{id}/definition": {
      "get": {
        "operationId": "http.shapes.definition",
        "summary": "Get shape definition",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "artifact_digest",
            "in": "query",
            "required": false,
            "description": "The artifact digest, sha256:<64 hex>. Defaults to the head.",
            "schema": {
              "type": "string",
              "pattern": "^sha256:[0-9a-f]{64}$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_definition_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read a published Shape's definition file.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/shapes/search": {
      "get": {
        "operationId": "http.shapes.search",
        "summary": "Search shape types",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "The words to search for.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many results, 1 to 20. Defaults to 20.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]{1,2}$"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string",
              "minLength": 1
            }
          },
          {
            "name": "scope",
            "in": "query",
            "required": false,
            "description": "all, project or library. Defaults to all.",
            "schema": {
              "type": "string",
              "enum": [
                "all",
                "project",
                "library"
              ]
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_search_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Search Shape types.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/shapes/{id}/history": {
      "get": {
        "operationId": "http.shapes.history",
        "summary": "List shape versions",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many versions, 1 to 100. Defaults to 20.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]{1,3}$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_history_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read a Shape's version history.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/shapes/library": {
      "get": {
        "operationId": "http.shapes.library.list",
        "summary": "List library shapes",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "The words to search for.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many results, 1 to 20. Defaults to 20.",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]{1,2}$"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "description": "The cursor the previous page returned.",
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_library_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the public Shape library.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/shapes/library/{publisher}/{shape}": {
      "get": {
        "operationId": "http.shapes.library.get",
        "summary": "Get library shape",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "publisher",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shape",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "artifact_digest",
            "in": "query",
            "required": false,
            "description": "The artifact digest, sha256:<64 hex>. Defaults to the listed one.",
            "schema": {
              "type": "string",
              "pattern": "^sha256:[0-9a-f]{64}$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_library_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one Shape in the public library.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/shapes/library/{publisher}/{shape}/review": {
      "get": {
        "operationId": "http.shapes.library.review",
        "summary": "Review library shape",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "publisher",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shape",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "artifact_digest",
            "in": "query",
            "required": true,
            "description": "The listed artifact digest to review, sha256:<64 hex>.",
            "schema": {
              "type": "string",
              "pattern": "^sha256:[0-9a-f]{64}$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_library_review_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Review a library Shape before linking it.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/shapes/links": {
      "get": {
        "operationId": "http.shapes.links.list",
        "summary": "List linked shapes",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_links_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the project's linked Shapes.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      },
      "post": {
        "operationId": "http.shapes.links.create",
        "summary": "Link library shape",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_shapes_links_create_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_links_create_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Link a public library Shape into the project.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/shapes/links/{shape}/update": {
      "post": {
        "operationId": "http.shapes.links.update",
        "summary": "Update linked shape",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shape",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_shapes_links_update_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_links_update_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Accept a newer library version of a linked Shape.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/shapes/links/{shape}": {
      "delete": {
        "operationId": "http.shapes.links.remove",
        "summary": "Unlink shape",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shape",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_shapes_links_remove_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Unlink a library Shape from the project.\n\nProduct guidance: [Shape](/concepts/shape).",
        "tags": [
          "Shapes"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/context/slices": {
      "get": {
        "operationId": "http.views.slices.list",
        "summary": "List views",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many to list, 1 to 100. Defaults to 50.",
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_views_slices_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the project's Views.\n\nProduct guidance: [View](/concepts/view), [Context](/concepts/context).",
        "tags": [
          "Views"
        ]
      },
      "post": {
        "operationId": "http.views.slices.create",
        "summary": "Create view",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_views_slices_create_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_views_slices_create_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Create a View.\n\nProduct guidance: [View](/concepts/view), [Context](/concepts/context).",
        "tags": [
          "Views"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/context/slices/{id}": {
      "get": {
        "operationId": "http.views.slices.get",
        "summary": "Get view",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_views_slices_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one View.\n\nProduct guidance: [View](/concepts/view), [Context](/concepts/context).",
        "tags": [
          "Views"
        ]
      },
      "patch": {
        "operationId": "http.views.slices.update",
        "summary": "Update view draft",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_views_slices_update_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_views_slices_update_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Edit a View's draft.\n\nProduct guidance: [View](/concepts/view), [Context](/concepts/context).",
        "tags": [
          "Views"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/context/slices/{id}/versions": {
      "get": {
        "operationId": "http.views.versions.list",
        "summary": "List view versions",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many to list, 1 to 100. Defaults to 50.",
            "schema": {
              "type": "string",
              "pattern": "^\\d+$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_views_versions_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List a View's published versions.\n\nProduct guidance: [View](/concepts/view), [Context](/concepts/context).",
        "tags": [
          "Views"
        ]
      },
      "post": {
        "operationId": "http.views.versions.publish",
        "summary": "Publish view version",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_views_versions_publish_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_views_versions_publish_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Publish a View's draft as a new version.\n\nProduct guidance: [View](/concepts/view), [Context](/concepts/context).",
        "tags": [
          "Views"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/context/slices/{id}/versions/{version}": {
      "get": {
        "operationId": "http.views.versions.get",
        "summary": "Get view version",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_views_versions_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one published View version.\n\nProduct guidance: [View](/concepts/view), [Context](/concepts/context).",
        "tags": [
          "Views"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/context/slices/{id}/versions/{version}/materialize": {
      "post": {
        "operationId": "http.views.versions.materialize",
        "summary": "Read view context",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_views_versions_materialize_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_views_versions_materialize_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Materialize a published View version into a cited packet.\n\nProduct guidance: [View](/concepts/view), [Context](/concepts/context).",
        "tags": [
          "Views"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/context/receipts/{id}": {
      "get": {
        "operationId": "http.views.receipts.get",
        "summary": "Get context receipt",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_views_receipts_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one context receipt.\n\nProduct guidance: [View](/concepts/view), [Context](/concepts/context).",
        "tags": [
          "Views"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/context/receipts/{id}/packet": {
      "get": {
        "operationId": "http.views.receipts.packet",
        "summary": "Get context packet",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_views_receipts_packet_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read the packet a context receipt recorded.\n\nProduct guidance: [View](/concepts/view), [Context](/concepts/context).",
        "tags": [
          "Views"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/context/slices/{view}/retire": {
      "post": {
        "operationId": "http.views.retire",
        "summary": "Retire view",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "view",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_views_retire_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_views_retire_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Retire a View.\n\nProduct guidance: [View](/concepts/view), [Context](/concepts/context).",
        "tags": [
          "Views"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/brains": {
      "get": {
        "operationId": "http.brains.list",
        "summary": "List brains",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_brains_list_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List a project's brains.\n\nProduct guidance: [Brain](/concepts/brain).",
        "tags": [
          "Brains"
        ]
      },
      "post": {
        "operationId": "http.brains.create",
        "summary": "Create brain",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_brains_create_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_brains_create_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Create a brain.\n\nProduct guidance: [Brain](/concepts/brain).",
        "tags": [
          "Brains"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/brains/{id}": {
      "get": {
        "operationId": "http.brains.get",
        "summary": "Get brain",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_brains_get_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Read one brain.\n\nProduct guidance: [Brain](/concepts/brain).",
        "tags": [
          "Brains"
        ]
      },
      "patch": {
        "operationId": "http.brains.update",
        "summary": "Update brain",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_brains_update_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_brains_update_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Edit a brain.\n\nProduct guidance: [Brain](/concepts/brain).",
        "tags": [
          "Brains"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/brains/{id}/doors": {
      "put": {
        "operationId": "http.brains.doors.attach",
        "summary": "Attach brain connection",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_brains_doors_attach_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_brains_doors_attach_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Attach a door to a brain.\n\nProduct guidance: [Brain](/concepts/brain).",
        "tags": [
          "Brains"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/brains/{id}/doors/{door}/remove": {
      "post": {
        "operationId": "http.brains.doors.remove",
        "summary": "Remove brain connection",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "door",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_brains_doors_remove_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_brains_doors_remove_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Remove a door from a brain.\n\nProduct guidance: [Brain](/concepts/brain).",
        "tags": [
          "Brains"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/brains/{id}/receipts": {
      "get": {
        "operationId": "http.brains.receipts",
        "summary": "List brain receipts",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "before",
            "in": "query",
            "required": false,
            "description": "Only receipts before this timestamp: the next_before a page returned.",
            "schema": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size, 1 to 200. Defaults to 50.",
            "schema": {
              "type": "string",
              "pattern": "^[1-9]\\d{0,2}$"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_brains_receipts_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "List the receipts of a brain's reads and writes.\n\nProduct guidance: [Brain](/concepts/brain).",
        "tags": [
          "Brains"
        ]
      }
    },
    "/v1/orgs/{org}/projects/{project}/brains/{id}/retire": {
      "post": {
        "operationId": "http.brains.retire",
        "summary": "Retire brain",
        "parameters": [
          {
            "name": "org",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "project",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "description": "1–200 printable ASCII characters, no surrounding spaces; '.' and '..' are reserved. Reuse this key with the same request when retrying an uncertain outcome.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "^(?!\\.{1,2}$)[!-~](?:[ -~]*[!-~])?$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/http_brains_retire_request"
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/http_brains_retire_response"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "description": "Retire a brain.\n\nProduct guidance: [Brain](/concepts/brain).",
        "tags": [
          "Brains"
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "http_me_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "subject_id": {
                    "type": "string"
                  },
                  "kind": {
                    "type": "string",
                    "const": "human"
                  },
                  "display_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "subject_id",
                  "kind",
                  "display_name"
                ],
                "additionalProperties": {}
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "connection"
                  },
                  "subject_id": {
                    "type": "string"
                  },
                  "connection_id": {
                    "type": "string"
                  },
                  "projects": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "organization_id": {
                          "type": "string"
                        },
                        "project_id": {
                          "type": "string"
                        },
                        "project_name": {
                          "type": "string"
                        },
                        "project_role": {
                          "type": "string",
                          "enum": [
                            "owner",
                            "admin",
                            "editor",
                            "viewer"
                          ]
                        },
                        "authority_kind": {
                          "type": "string",
                          "enum": [
                            "human",
                            "service"
                          ]
                        },
                        "scopes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "organization_id",
                        "project_id",
                        "project_name",
                        "project_role",
                        "authority_kind",
                        "scopes"
                      ],
                      "additionalProperties": {}
                    }
                  }
                },
                "required": [
                  "kind",
                  "subject_id",
                  "connection_id",
                  "projects"
                ],
                "additionalProperties": {}
              }
            ]
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_me_project_scopes_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.project-scope-page"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "organization": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "slug": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "role": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "slug",
                        "name",
                        "role"
                      ],
                      "additionalProperties": {}
                    },
                    "project": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "slug": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "name": {
                          "type": "string"
                        },
                        "role": {
                          "type": "string",
                          "enum": [
                            "owner",
                            "admin",
                            "editor",
                            "viewer"
                          ]
                        },
                        "execution_mode": {
                          "type": "string",
                          "const": "managed_atomic"
                        }
                      },
                      "required": [
                        "id",
                        "slug",
                        "name",
                        "role",
                        "execution_mode"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "organization",
                    "project"
                  ],
                  "additionalProperties": {}
                }
              },
              "next_cursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "schema",
              "version",
              "items",
              "next_cursor"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_projects_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "role": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "organization_id": {
                  "type": "string"
                },
                "execution_mode": {
                  "type": "string",
                  "const": "managed_atomic"
                }
              },
              "required": [
                "id",
                "slug",
                "name",
                "role",
                "status",
                "organization_id",
                "execution_mode"
              ],
              "additionalProperties": {}
            }
          },
          "page": {
            "type": "object",
            "properties": {
              "next_cursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "next_cursor"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data",
          "page"
        ],
        "additionalProperties": {}
      },
      "http_projects_connections_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "project_id": {
                "type": "string"
              },
              "api_url": {
                "type": "string"
              },
              "mcp_connections": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "surface_id": {
                      "type": "string"
                    },
                    "surface": {
                      "type": "string"
                    },
                    "purpose": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "surface_id",
                    "surface",
                    "purpose",
                    "url"
                  ],
                  "additionalProperties": {}
                }
              },
              "default_files_surface": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "project_id",
              "api_url",
              "mcp_connections",
              "default_files_surface"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_access_me_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "view": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "boundary_id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "view_id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "view_name": {
                        "type": "string"
                      },
                      "version_id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "version_number": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "graph_mode": {
                        "type": "string",
                        "enum": [
                          "backed",
                          "types"
                        ]
                      }
                    },
                    "required": [
                      "boundary_id",
                      "view_id",
                      "view_name",
                      "version_id",
                      "version_number",
                      "graph_mode"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "view"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_approvals_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "operation": {
                  "type": "string"
                },
                "source": {
                  "type": "string",
                  "enum": [
                    "kit",
                    "agent"
                  ]
                },
                "created_at": {
                  "type": "string"
                },
                "effects": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "id",
                "operation",
                "source"
              ],
              "additionalProperties": {}
            }
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_approvals_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "operation": {
                "type": "string"
              },
              "source": {
                "type": "string",
                "enum": [
                  "kit",
                  "agent"
                ]
              },
              "created_at": {
                "type": "string"
              },
              "effects": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "id",
              "operation",
              "source"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_uploads_create_request": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string"
          },
          "media_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "number"
          },
          "sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "client_origin": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "upload_batch_id": {
            "type": "string"
          }
        },
        "required": [
          "filename",
          "size_bytes"
        ]
      },
      "http_uploads_create_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "upload_id": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "created",
                  "consumed",
                  "expired",
                  "aborted"
                ]
              },
              "provider": {
                "type": "string",
                "enum": [
                  "supabase",
                  "gcs"
                ]
              },
              "protocol": {
                "type": "string",
                "enum": [
                  "tus",
                  "gcs_resumable"
                ]
              },
              "filename": {
                "type": "string"
              },
              "media_type": {
                "type": "string"
              },
              "size_bytes": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "grant": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "grant_expires_at": {
                "type": "string"
              },
              "admission_expires_at": {
                "type": "string"
              }
            },
            "required": [
              "upload_id",
              "status",
              "provider",
              "protocol",
              "filename",
              "media_type",
              "size_bytes",
              "grant",
              "grant_expires_at",
              "admission_expires_at"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_uploads_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "upload_id": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "created",
                  "consumed",
                  "expired",
                  "aborted"
                ]
              },
              "protocol": {
                "type": "string"
              },
              "filename": {
                "type": "string"
              },
              "media_type": {
                "type": "string"
              },
              "size_bytes": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "client_sha256": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "object_present": {
                "type": "boolean"
              },
              "grant_expires_at": {
                "type": "string"
              },
              "admission_expires_at": {
                "type": "string"
              },
              "consumed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "upload_id",
              "status",
              "protocol",
              "filename",
              "media_type",
              "size_bytes",
              "client_sha256",
              "object_present",
              "grant_expires_at",
              "admission_expires_at",
              "consumed_at"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_files_admit_request": {
        "type": "object",
        "properties": {
          "upload_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "description": "Text of at most 4096 bytes, or null."
          },
          "tags": {
            "description": "At most 64 strings of 1 to 128 characters."
          },
          "metadata": {
            "description": "A JSON object of at most 16 KiB."
          },
          "external_key": {
            "description": "1 to 512 characters, or null."
          },
          "upload_batch_id": {
            "description": "The upload batch (one drop of files) this File belongs to, from POST …/files/upload-batches. The batch holds the drop's note."
          },
          "source_date": {
            "description": "YYYY, YYYY-MM, YYYY-MM-DD or an RFC 3339 date-time with an offset."
          }
        },
        "required": [
          "upload_id",
          "name"
        ],
        "additionalProperties": false
      },
      "http_files_admit_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "queued"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "file_ingest"
              },
              "mode": {
                "type": "string",
                "const": "managed_admission"
              },
              "outcome": {
                "type": "string",
                "const": "queued"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "upload_id": {
                "type": "string"
              },
              "file_operation_id": {
                "type": "string"
              },
              "filename": {
                "type": "string"
              },
              "media_type": {
                "type": "string"
              },
              "operation": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "ingest_file"
                  },
                  "status": {
                    "type": "string",
                    "const": "queued"
                  },
                  "stage": {
                    "type": "string",
                    "const": "validate_input"
                  }
                },
                "required": [
                  "kind",
                  "status",
                  "stage"
                ],
                "additionalProperties": {}
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "replayed",
              "request_id",
              "upload_id",
              "file_operation_id",
              "filename",
              "media_type",
              "operation",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_files_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                },
                "name": {
                  "type": "string"
                },
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "processing",
                    "updating",
                    "ready",
                    "failed",
                    "deleted",
                    "purged"
                  ]
                },
                "media_type": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "size_bytes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "current_version_id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "synopsis": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "not_requested",
                        "queued",
                        "processing",
                        "ready",
                        "partial",
                        "failed",
                        "unsupported"
                      ]
                    },
                    "id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "version_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "text": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "detail_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "moments_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "operation_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updated_at": {
                      "anyOf": [
                        {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                            }
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "status",
                    "id",
                    "version_id",
                    "text",
                    "detail_url",
                    "moments_url",
                    "operation_url",
                    "updated_at"
                  ],
                  "additionalProperties": false
                },
                "created_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                    }
                  ]
                },
                "updated_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                    }
                  ]
                },
                "current_version": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                    },
                    "number": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "media_type": {
                      "type": "string"
                    },
                    "size_bytes": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "sha256": {
                      "type": "string",
                      "pattern": "^[0-9a-f]{64}$"
                    },
                    "input_kind": {
                      "type": "string",
                      "enum": [
                        "upload",
                        "text",
                        "url",
                        "version",
                        "content_handle"
                      ]
                    },
                    "source_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "lexical_status": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "ready",
                        "not_applicable",
                        "failed"
                      ]
                    },
                    "semantic_status": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "ready",
                        "failed",
                        "not_requested",
                        "not_applicable"
                      ]
                    },
                    "created_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                        }
                      ]
                    },
                    "ready_at": {
                      "anyOf": [
                        {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
                            }
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "number",
                    "media_type",
                    "size_bytes",
                    "sha256",
                    "input_kind",
                    "source_url",
                    "lexical_status",
                    "semantic_status",
                    "created_at",
                    "ready_at"
                  ],
                  "additionalProperties": false
                },
                "collection_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  }
                }
              },
              "required": [
                "id",
                "name",
                "title",
                "tags",
                "status",
                "media_type",
                "size_bytes",
                "current_version_id",
                "synopsis",
                "created_at",
                "updated_at"
              ],
              "additionalProperties": false
            }
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "has_more": {
            "type": "boolean"
          },
          "snapshot_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
              }
            ]
          }
        },
        "required": [
          "data",
          "next_cursor",
          "has_more",
          "snapshot_at"
        ],
        "additionalProperties": false
      },
      "http_files_resolve_request": {
        "type": "object",
        "properties": {
          "file_ids": {
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          }
        },
        "required": [
          "file_ids"
        ],
        "additionalProperties": false
      },
      "http_files_resolve_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "requested_file_id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "const": "resolved"
                    },
                    "file": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "status": {
                          "type": "string"
                        },
                        "media_type": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "current_version_id": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "updated_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "tags",
                        "status",
                        "media_type",
                        "current_version_id",
                        "created_at",
                        "updated_at"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "requested_file_id",
                    "status",
                    "file"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "requested_file_id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "const": "not_found"
                    },
                    "file": {
                      "type": "null"
                    }
                  },
                  "required": [
                    "requested_file_id",
                    "status",
                    "file"
                  ],
                  "additionalProperties": {}
                }
              ]
            }
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_files_replace_request": {
        "type": "object",
        "properties": {
          "upload_id": {
            "type": "string"
          },
          "expected_current_version_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "source_date": {
            "type": "string"
          },
          "expected_latest_version_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "upload_id"
        ],
        "additionalProperties": false
      },
      "http_files_replace_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "queued"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "file_replace"
              },
              "mode": {
                "type": "string",
                "const": "managed_admission"
              },
              "outcome": {
                "type": "string",
                "const": "queued"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "upload_id": {
                "type": "string"
              },
              "file_operation_id": {
                "type": "string"
              },
              "file_id": {
                "type": "string"
              },
              "expected_current_version_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "expected_latest_version_id": {
                "type": "string"
              },
              "filename": {
                "type": "string"
              },
              "media_type": {
                "type": "string"
              },
              "operation": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "create_version"
                  },
                  "status": {
                    "type": "string",
                    "const": "queued"
                  },
                  "stage": {
                    "type": "string",
                    "const": "validate_input"
                  }
                },
                "required": [
                  "kind",
                  "status",
                  "stage"
                ],
                "additionalProperties": {}
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "replayed",
              "request_id",
              "upload_id",
              "file_operation_id",
              "file_id",
              "expected_current_version_id",
              "filename",
              "media_type",
              "operation",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_versions_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "file": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "current_version_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "lifecycle_generation": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "metadata_revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "deleted_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "purged_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "name",
                  "current_version_id",
                  "lifecycle_generation",
                  "metadata_revision",
                  "deleted_at",
                  "purged_at"
                ],
                "additionalProperties": {}
              },
              "versions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "file_id": {
                      "type": "string"
                    },
                    "number": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "processing",
                        "ready",
                        "failed"
                      ]
                    },
                    "lexical_status": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "ready",
                        "not_applicable",
                        "failed"
                      ]
                    },
                    "semantic_status": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "ready",
                        "failed",
                        "not_requested",
                        "not_applicable"
                      ]
                    },
                    "is_current": {
                      "type": "boolean"
                    },
                    "input_kind": {
                      "type": "string",
                      "enum": [
                        "upload",
                        "text",
                        "url",
                        "version"
                      ]
                    },
                    "source_url": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source_version_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "version_purpose": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "rollback",
                            "reprocess"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source_date": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "document_date_metadata": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "schema": {
                              "type": "string",
                              "const": "document-date-metadata-v1"
                            },
                            "dates": {
                              "maxItems": 2,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "created",
                                      "modified"
                                    ]
                                  },
                                  "value": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 128
                                  },
                                  "source": {
                                    "type": "string",
                                    "enum": [
                                      "ooxml_core_properties",
                                      "pdf_info",
                                      "web_page_metadata"
                                    ]
                                  },
                                  "property": {
                                    "type": "string",
                                    "enum": [
                                      "dcterms:created",
                                      "dcterms:modified",
                                      "CreationDate",
                                      "ModDate",
                                      "article:published_time",
                                      "article:modified_time"
                                    ]
                                  }
                                },
                                "required": [
                                  "kind",
                                  "value",
                                  "source",
                                  "property"
                                ],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": [
                            "schema",
                            "dates"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "original": {
                      "type": "object",
                      "properties": {
                        "media_type": {
                          "type": "string"
                        },
                        "size_bytes": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "sha256": {
                          "type": "string"
                        },
                        "provider": {
                          "type": "string"
                        },
                        "provider_version": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "media_type",
                        "size_bytes",
                        "sha256",
                        "provider",
                        "provider_version"
                      ],
                      "additionalProperties": {}
                    },
                    "processing": {
                      "type": "object",
                      "properties": {
                        "parser_name": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "parser_version": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "chunk_count": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "parser_name",
                        "parser_version",
                        "chunk_count"
                      ],
                      "additionalProperties": {}
                    },
                    "error": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "message": {
                              "type": "string"
                            },
                            "stage": {
                              "type": "string"
                            },
                            "retryable": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "code",
                            "message",
                            "stage",
                            "retryable"
                          ],
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "ready_at": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updated_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "file_id",
                    "number",
                    "status",
                    "lexical_status",
                    "semantic_status",
                    "is_current",
                    "input_kind",
                    "source_url",
                    "source_version_id",
                    "version_purpose",
                    "source_date",
                    "original",
                    "processing",
                    "error",
                    "created_at",
                    "ready_at",
                    "updated_at"
                  ],
                  "additionalProperties": {}
                }
              },
              "next_after_number": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "file",
              "versions",
              "next_after_number"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_versions_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "file_id": {
                "type": "string"
              },
              "number": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "status": {
                "type": "string",
                "enum": [
                  "processing",
                  "ready",
                  "failed"
                ]
              },
              "lexical_status": {
                "type": "string",
                "enum": [
                  "pending",
                  "ready",
                  "not_applicable",
                  "failed"
                ]
              },
              "semantic_status": {
                "type": "string",
                "enum": [
                  "pending",
                  "ready",
                  "failed",
                  "not_requested",
                  "not_applicable"
                ]
              },
              "is_current": {
                "type": "boolean"
              },
              "input_kind": {
                "type": "string",
                "enum": [
                  "upload",
                  "text",
                  "url",
                  "version"
                ]
              },
              "source_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "source_version_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "version_purpose": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "rollback",
                      "reprocess"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "source_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "document_date_metadata": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "schema": {
                        "type": "string",
                        "const": "document-date-metadata-v1"
                      },
                      "dates": {
                        "maxItems": 2,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "created",
                                "modified"
                              ]
                            },
                            "value": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 128
                            },
                            "source": {
                              "type": "string",
                              "enum": [
                                "ooxml_core_properties",
                                "pdf_info",
                                "web_page_metadata"
                              ]
                            },
                            "property": {
                              "type": "string",
                              "enum": [
                                "dcterms:created",
                                "dcterms:modified",
                                "CreationDate",
                                "ModDate",
                                "article:published_time",
                                "article:modified_time"
                              ]
                            }
                          },
                          "required": [
                            "kind",
                            "value",
                            "source",
                            "property"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "schema",
                      "dates"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "original": {
                "type": "object",
                "properties": {
                  "media_type": {
                    "type": "string"
                  },
                  "size_bytes": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "sha256": {
                    "type": "string"
                  },
                  "provider": {
                    "type": "string"
                  },
                  "provider_version": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "media_type",
                  "size_bytes",
                  "sha256",
                  "provider",
                  "provider_version"
                ],
                "additionalProperties": {}
              },
              "processing": {
                "type": "object",
                "properties": {
                  "parser_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "parser_version": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "chunk_count": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "parser_name",
                  "parser_version",
                  "chunk_count"
                ],
                "additionalProperties": {}
              },
              "error": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      },
                      "stage": {
                        "type": "string"
                      },
                      "retryable": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "code",
                      "message",
                      "stage",
                      "retryable"
                    ],
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string"
              },
              "ready_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "updated_at": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "file_id",
              "number",
              "status",
              "lexical_status",
              "semantic_status",
              "is_current",
              "input_kind",
              "source_url",
              "source_version_id",
              "version_purpose",
              "source_date",
              "original",
              "processing",
              "error",
              "created_at",
              "ready_at",
              "updated_at"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_files_processing_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "file_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "version_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
              },
              "version_number": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "current_version_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_current": {
                "type": "boolean"
              },
              "lifecycle_generation": {
                "type": "string",
                "pattern": "^\\d+$"
              },
              "status": {
                "type": "string",
                "enum": [
                  "processing",
                  "ready",
                  "failed"
                ]
              },
              "lexical_status": {
                "type": "string",
                "enum": [
                  "pending",
                  "ready",
                  "not_applicable",
                  "failed"
                ]
              },
              "semantic_status": {
                "type": "string",
                "enum": [
                  "pending",
                  "ready",
                  "failed",
                  "not_requested",
                  "not_applicable"
                ]
              },
              "chunk_count": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content_operation": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "seal_upload",
                          "ingest_file",
                          "create_version",
                          "reprocess_version",
                          "embed_version",
                          "generate_synopsis",
                          "purge_file"
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "queued",
                          "running",
                          "succeeded",
                          "succeeded_with_warnings",
                          "failed",
                          "cancelled"
                        ]
                      },
                      "stage": {
                        "type": "string"
                      },
                      "attempt_count": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "error_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "error_retryable": {
                        "anyOf": [
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "warnings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "detail": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "code",
                            "detail"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "id",
                      "kind",
                      "status",
                      "stage",
                      "attempt_count",
                      "error_code",
                      "error_retryable",
                      "warnings"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "embedding_operation": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "seal_upload",
                          "ingest_file",
                          "create_version",
                          "reprocess_version",
                          "embed_version",
                          "generate_synopsis",
                          "purge_file"
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "queued",
                          "running",
                          "succeeded",
                          "succeeded_with_warnings",
                          "failed",
                          "cancelled"
                        ]
                      },
                      "stage": {
                        "type": "string"
                      },
                      "attempt_count": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "error_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "error_retryable": {
                        "anyOf": [
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "warnings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "detail": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "code",
                            "detail"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "id",
                      "kind",
                      "status",
                      "stage",
                      "attempt_count",
                      "error_code",
                      "error_retryable",
                      "warnings"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "schema": {
                "type": "string",
                "const": "files-version-processing-state-v1"
              },
              "file_lifecycle": {
                "type": "string",
                "enum": [
                  "live",
                  "deleted",
                  "purged"
                ]
              },
              "embedding_profile": {
                "type": "object",
                "properties": {
                  "embedding_revision": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "embedding_provider": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "embedding_model": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "embedding_dimensions": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "embedding_input_revision": {
                    "type": "string"
                  },
                  "tokenizer_revision": {
                    "type": "string"
                  }
                },
                "required": [
                  "embedding_revision",
                  "embedding_provider",
                  "embedding_model",
                  "embedding_dimensions",
                  "embedding_input_revision",
                  "tokenizer_revision"
                ],
                "additionalProperties": false
              },
              "search_eligible": {
                "type": "boolean"
              }
            },
            "required": [
              "file_id",
              "version_id",
              "version_number",
              "current_version_id",
              "is_current",
              "lifecycle_generation",
              "status",
              "lexical_status",
              "semantic_status",
              "chunk_count",
              "content_operation",
              "embedding_operation",
              "schema",
              "file_lifecycle",
              "embedding_profile",
              "search_eligible"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_files_download_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "target": {
                "type": "object",
                "properties": {
                  "file_id": {
                    "type": "string"
                  },
                  "version_id": {
                    "type": "string"
                  },
                  "number": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "original",
                      "text",
                      "screenshot",
                      "cover"
                    ]
                  },
                  "media_type": {
                    "type": "string"
                  },
                  "size_bytes": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "sha256": {
                    "type": "string"
                  },
                  "provider": {
                    "type": "string"
                  },
                  "bucket": {
                    "type": "string"
                  },
                  "object_key": {
                    "type": "string"
                  },
                  "provider_version": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "parser_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "parser_version": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "cover_source": {
                    "type": "string",
                    "enum": [
                      "screenshot",
                      "page",
                      "original"
                    ]
                  },
                  "page_number": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "cover_rendition": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "file_id",
                  "version_id",
                  "number",
                  "kind",
                  "media_type",
                  "size_bytes",
                  "sha256",
                  "provider",
                  "bucket",
                  "object_key",
                  "provider_version",
                  "parser_name",
                  "parser_version"
                ],
                "additionalProperties": {}
              },
              "download": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "string"
                      },
                      "expires_at": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "url",
                      "expires_at"
                    ],
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "target",
              "download"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_files_text_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "file_id": {
                "type": "string"
              },
              "version_id": {
                "type": "string"
              },
              "version_number": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "media_type": {
                "type": "string"
              },
              "sha256": {
                "type": "string"
              },
              "parser_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "parser_version": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "offset_unit": {
                "type": "string"
              },
              "start_byte": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "end_byte_exclusive": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "total_bytes": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "eof": {
                "type": "boolean"
              },
              "text": {
                "type": "string"
              }
            },
            "required": [
              "file_id",
              "version_id",
              "version_number",
              "media_type",
              "sha256",
              "parser_name",
              "parser_version",
              "offset_unit",
              "start_byte",
              "end_byte_exclusive",
              "total_bytes",
              "eof",
              "text"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_files_pages_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "file_id": {
                "type": "string"
              },
              "version_id": {
                "type": "string"
              },
              "total_pages": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "available_pages": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "next_after_page": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pages": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "page_number": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "media_type": {
                      "type": "string"
                    },
                    "download": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "expires_at": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "url",
                            "expires_at"
                          ],
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "page_number",
                    "media_type",
                    "download"
                  ],
                  "additionalProperties": {}
                }
              }
            },
            "required": [
              "file_id",
              "version_id",
              "total_pages",
              "available_pages",
              "next_after_page",
              "pages"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_files_citations_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.file-version-citations"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "file_id": {
                "type": "string"
              },
              "version_id": {
                "type": "string"
              },
              "truncated": {
                "type": "boolean"
              },
              "citations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "citation_id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "in_graph",
                        "in_review"
                      ]
                    },
                    "resource_kind": {
                      "type": "string",
                      "enum": [
                        "node",
                        "edge"
                      ]
                    },
                    "resource_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "item_handle": {
                      "type": "string"
                    },
                    "type_name": {
                      "type": "string"
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "name": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "type_name": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "type_name"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "target": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "name": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "type_name": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "type_name"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "review_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "review_name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "quote": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "start_byte": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "end_byte_exclusive": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "quote_digest": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "chunk_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "note": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "page": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "highlight": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "match": {
                              "type": "string",
                              "enum": [
                                "exact",
                                "normalized",
                                "fuzzy"
                              ]
                            },
                            "boxes": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "page": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 9007199254740991
                                  },
                                  "x": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  },
                                  "y": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  },
                                  "w": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  },
                                  "h": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  }
                                },
                                "required": [
                                  "page",
                                  "x",
                                  "y",
                                  "w",
                                  "h"
                                ],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": [
                            "match",
                            "boxes"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "citation_id",
                    "status",
                    "resource_kind",
                    "resource_id",
                    "item_handle",
                    "type_name",
                    "name",
                    "source",
                    "target",
                    "review_id",
                    "review_name",
                    "quote",
                    "start_byte",
                    "end_byte_exclusive",
                    "quote_digest",
                    "chunk_id",
                    "note",
                    "page",
                    "highlight"
                  ],
                  "additionalProperties": {}
                }
              }
            },
            "required": [
              "schema",
              "version",
              "file_id",
              "version_id",
              "truncated",
              "citations"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_files_title_request": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "title": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "file_id",
          "title"
        ],
        "additionalProperties": false
      },
      "http_files_title_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "file_organize"
              },
              "mode": {
                "type": "string",
                "const": "managed_atomic"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "operation": {
                "type": "string",
                "enum": [
                  "describe",
                  "title",
                  "tags",
                  "source_date",
                  "connect",
                  "collection_create",
                  "collection_update",
                  "collection_delete",
                  "collection_membership"
                ]
              },
              "node_id": {
                "type": "string"
              },
              "node_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "canonical_path": {
                "type": "string"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "delta_id": {
                "type": "string"
              },
              "subject_id": {
                "type": "string"
              },
              "file_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "present": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "base_revision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "committed_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "effect_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "effect_receipt_ref": {
                "type": "string"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "version_id": {
                "type": "string"
              },
              "source_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "changed": {
                "type": "boolean"
              },
              "sealed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "operation",
              "replayed",
              "request_id",
              "delta_id",
              "subject_id",
              "file_id",
              "name",
              "description",
              "present",
              "base_revision",
              "committed_revision",
              "effect_id",
              "sealed_at",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_files_describe_request": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "file_id",
          "description"
        ],
        "additionalProperties": false
      },
      "http_files_describe_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "file_organize"
              },
              "mode": {
                "type": "string",
                "const": "managed_atomic"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "operation": {
                "type": "string",
                "enum": [
                  "describe",
                  "title",
                  "tags",
                  "source_date",
                  "connect",
                  "collection_create",
                  "collection_update",
                  "collection_delete",
                  "collection_membership"
                ]
              },
              "node_id": {
                "type": "string"
              },
              "node_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "canonical_path": {
                "type": "string"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "delta_id": {
                "type": "string"
              },
              "subject_id": {
                "type": "string"
              },
              "file_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "present": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "base_revision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "committed_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "effect_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "effect_receipt_ref": {
                "type": "string"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "version_id": {
                "type": "string"
              },
              "source_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "changed": {
                "type": "boolean"
              },
              "sealed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "operation",
              "replayed",
              "request_id",
              "delta_id",
              "subject_id",
              "file_id",
              "name",
              "description",
              "present",
              "base_revision",
              "committed_revision",
              "effect_id",
              "sealed_at",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_files_tags_request": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "file_id",
          "tags"
        ],
        "additionalProperties": false
      },
      "http_files_tags_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "file_organize"
              },
              "mode": {
                "type": "string",
                "const": "managed_atomic"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "operation": {
                "type": "string",
                "enum": [
                  "describe",
                  "title",
                  "tags",
                  "source_date",
                  "connect",
                  "collection_create",
                  "collection_update",
                  "collection_delete",
                  "collection_membership"
                ]
              },
              "node_id": {
                "type": "string"
              },
              "node_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "canonical_path": {
                "type": "string"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "delta_id": {
                "type": "string"
              },
              "subject_id": {
                "type": "string"
              },
              "file_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "present": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "base_revision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "committed_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "effect_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "effect_receipt_ref": {
                "type": "string"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "version_id": {
                "type": "string"
              },
              "source_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "changed": {
                "type": "boolean"
              },
              "sealed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "operation",
              "replayed",
              "request_id",
              "delta_id",
              "subject_id",
              "file_id",
              "name",
              "description",
              "present",
              "base_revision",
              "committed_revision",
              "effect_id",
              "sealed_at",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_files_source_date_request": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "version_id": {
            "type": "string"
          },
          "source_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "file_id",
          "version_id",
          "source_date"
        ],
        "additionalProperties": false
      },
      "http_files_source_date_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "file_organize"
              },
              "mode": {
                "type": "string",
                "const": "managed_atomic"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "operation": {
                "type": "string",
                "enum": [
                  "describe",
                  "title",
                  "tags",
                  "source_date",
                  "connect",
                  "collection_create",
                  "collection_update",
                  "collection_delete",
                  "collection_membership"
                ]
              },
              "node_id": {
                "type": "string"
              },
              "node_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "canonical_path": {
                "type": "string"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "delta_id": {
                "type": "string"
              },
              "subject_id": {
                "type": "string"
              },
              "file_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "present": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "base_revision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "committed_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "effect_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "effect_receipt_ref": {
                "type": "string"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "version_id": {
                "type": "string"
              },
              "source_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "changed": {
                "type": "boolean"
              },
              "sealed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "operation",
              "replayed",
              "request_id",
              "delta_id",
              "subject_id",
              "file_id",
              "name",
              "description",
              "present",
              "base_revision",
              "committed_revision",
              "effect_id",
              "sealed_at",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_files_trash_request": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "file_id": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "http_files_trash_response": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "replayed": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "file_lifecycle"
                  },
                  "mode": {
                    "type": "string",
                    "const": "managed_atomic"
                  },
                  "outcome": {
                    "type": "string",
                    "const": "applied"
                  },
                  "lifecycle": {
                    "type": "string",
                    "enum": [
                      "trash",
                      "restore"
                    ]
                  },
                  "placement": {
                    "type": "string",
                    "enum": [
                      "workspace",
                      "unplaced"
                    ]
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "delta_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "lifecycle_id": {
                    "type": "string"
                  },
                  "node_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "file_id": {
                    "type": "string"
                  },
                  "base_node_revision": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "committed_node_revision": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "base_generation": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "committed_generation": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "source_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "destination_path": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "purge_operation_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "embed_operation_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sealed_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "timings_ms": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "kind",
                  "mode",
                  "outcome",
                  "lifecycle",
                  "placement",
                  "replayed",
                  "request_id",
                  "delta_id",
                  "lifecycle_id",
                  "node_id",
                  "file_id",
                  "base_node_revision",
                  "committed_node_revision",
                  "base_generation",
                  "committed_generation",
                  "source_path",
                  "destination_path",
                  "purge_operation_id",
                  "embed_operation_id",
                  "sealed_at",
                  "timings_ms"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "request_id",
              "outcome",
              "replayed",
              "data"
            ],
            "additionalProperties": {}
          },
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "const": "pending"
              },
              "reason": {
                "type": "string"
              },
              "operation": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "status_url": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "request_id",
                  "status_url"
                ],
                "additionalProperties": false
              },
              "approval": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "expires_at": {
                    "type": "string"
                  },
                  "effects": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "status",
                  "expires_at",
                  "effects",
                  "next"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "request_id",
              "outcome",
              "reason",
              "operation",
              "approval"
            ],
            "additionalProperties": false
          }
        ]
      },
      "http_files_restore_request": {
        "type": "object",
        "properties": {
          "file_id": {
            "type": "string"
          },
          "destination": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "file_id"
        ],
        "additionalProperties": false
      },
      "http_files_restore_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "file_lifecycle"
              },
              "mode": {
                "type": "string",
                "const": "managed_atomic"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "lifecycle": {
                "type": "string",
                "enum": [
                  "trash",
                  "restore"
                ]
              },
              "placement": {
                "type": "string",
                "enum": [
                  "workspace",
                  "unplaced"
                ]
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "delta_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "lifecycle_id": {
                "type": "string"
              },
              "node_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "file_id": {
                "type": "string"
              },
              "base_node_revision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "committed_node_revision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "base_generation": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "committed_generation": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "source_path": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "destination_path": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "purge_operation_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "embed_operation_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sealed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "lifecycle",
              "placement",
              "replayed",
              "request_id",
              "delta_id",
              "lifecycle_id",
              "node_id",
              "file_id",
              "base_node_revision",
              "committed_node_revision",
              "base_generation",
              "committed_generation",
              "source_path",
              "destination_path",
              "purge_operation_id",
              "embed_operation_id",
              "sealed_at",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_operations_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "request_id": {
                    "type": "string"
                  },
                  "outcome": {
                    "type": "string",
                    "enum": [
                      "applied",
                      "queued",
                      "unknown"
                    ]
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "data": {},
                  "operation": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "request_id": {
                        "type": "string"
                      },
                      "status_url": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "request_id",
                      "status_url"
                    ],
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "request_id",
                  "outcome"
                ],
                "additionalProperties": {}
              },
              {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              }
            ]
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_requests_get_response": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "enum": [
                  "applied",
                  "queued",
                  "unknown"
                ]
              },
              "replayed": {
                "type": "boolean"
              },
              "reason": {
                "type": "string"
              },
              "data": {},
              "operation": {
                "type": "object",
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "status_url": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "request_id",
                  "status_url"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "request_id",
              "outcome"
            ],
            "additionalProperties": {}
          },
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "request_id": {
                    "type": "string"
                  },
                  "outcome": {
                    "type": "string",
                    "enum": [
                      "applied",
                      "queued",
                      "unknown"
                    ]
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "data": {},
                  "operation": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "request_id": {
                        "type": "string"
                      },
                      "status_url": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "request_id",
                      "status_url"
                    ],
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "request_id",
                  "outcome"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "data"
            ],
            "additionalProperties": false
          }
        ]
      },
      "http_files_search_request": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "maxLength": 8192
          },
          "mode": {
            "default": "hybrid",
            "type": "string",
            "enum": [
              "hybrid",
              "semantic",
              "lexical"
            ]
          },
          "sources": {
            "default": [
              "chunks"
            ],
            "minItems": 1,
            "maxItems": 2,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "chunks",
                "moments"
              ]
            }
          },
          "group_by": {
            "default": "match",
            "type": "string",
            "enum": [
              "match",
              "file"
            ]
          },
          "filters": {
            "default": {},
            "type": "object",
            "properties": {
              "file_ids": {
                "default": [],
                "maxItems": 500,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                }
              },
              "collection_ids": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
                }
              },
              "tags": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                }
              },
              "media_types": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 255,
                  "pattern": "^[!#$%&'*+.^_`|~0-9A-Za-z-]+\\/[!#$%&'*+.^_`|~0-9A-Za-z-]+(?:\\s*;.*)?$"
                }
              }
            },
            "additionalProperties": false
          },
          "limit": {
            "default": 10,
            "type": "integer",
            "minimum": 1,
            "maximum": 50
          },
          "neighbors": {
            "default": 0,
            "type": "integer",
            "minimum": 0,
            "maximum": 2
          },
          "rerank": {
            "default": "auto",
            "type": "string",
            "enum": [
              "auto",
              "off",
              "required"
            ]
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "http_files_search_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "query": {
                "type": "string"
              },
              "mode_requested": {
                "type": "string",
                "enum": [
                  "hybrid",
                  "semantic",
                  "lexical"
                ]
              },
              "mode_used": {
                "type": "string",
                "enum": [
                  "hybrid",
                  "semantic",
                  "lexical"
                ]
              },
              "sources": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "chunks",
                    "moments"
                  ]
                }
              },
              "group_by": {
                "type": "string",
                "enum": [
                  "match",
                  "file"
                ]
              },
              "ranking": {
                "type": "object",
                "properties": {
                  "profile": {
                    "type": "string"
                  },
                  "base_order": {
                    "type": "string"
                  }
                },
                "required": [
                  "profile",
                  "base_order"
                ],
                "additionalProperties": {}
              },
              "results": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "rank": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "file": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": {}
                    },
                    "version": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "number": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "id",
                        "number"
                      ],
                      "additionalProperties": {}
                    },
                    "match": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string"
                        },
                        "text": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "text"
                      ],
                      "additionalProperties": {}
                    },
                    "scores": {
                      "type": "object",
                      "properties": {
                        "base_rank": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "base_rank"
                      ],
                      "additionalProperties": {}
                    },
                    "neighbors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "chunk_id": {
                            "type": "string"
                          },
                          "chunk_index": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "text": {
                            "type": "string"
                          },
                          "location": {
                            "type": "object",
                            "properties": {
                              "page": {
                                "anyOf": [
                                  {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "section": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "start_offset": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "end_offset": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "offset_unit": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "page",
                              "section",
                              "start_offset",
                              "end_offset",
                              "offset_unit"
                            ],
                            "additionalProperties": {}
                          }
                        },
                        "required": [
                          "chunk_id",
                          "chunk_index",
                          "text",
                          "location"
                        ],
                        "additionalProperties": {}
                      }
                    }
                  },
                  "required": [
                    "rank",
                    "file",
                    "version",
                    "match",
                    "scores",
                    "neighbors"
                  ],
                  "additionalProperties": {}
                }
              },
              "groups": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "file": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": {}
                    },
                    "best_rank": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "matches": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "rank": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "file": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": {}
                          },
                          "version": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "number": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "id",
                              "number"
                            ],
                            "additionalProperties": {}
                          },
                          "match": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string"
                              },
                              "text": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "kind",
                              "text"
                            ],
                            "additionalProperties": {}
                          },
                          "scores": {
                            "type": "object",
                            "properties": {
                              "base_rank": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "base_rank"
                            ],
                            "additionalProperties": {}
                          },
                          "neighbors": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "chunk_id": {
                                  "type": "string"
                                },
                                "chunk_index": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "text": {
                                  "type": "string"
                                },
                                "location": {
                                  "type": "object",
                                  "properties": {
                                    "page": {
                                      "anyOf": [
                                        {
                                          "type": "integer",
                                          "minimum": -9007199254740991,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "section": {
                                      "anyOf": [
                                        {
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "start_offset": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "end_offset": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "offset_unit": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "page",
                                    "section",
                                    "start_offset",
                                    "end_offset",
                                    "offset_unit"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "required": [
                                "chunk_id",
                                "chunk_index",
                                "text",
                                "location"
                              ],
                              "additionalProperties": {}
                            }
                          }
                        },
                        "required": [
                          "rank",
                          "file",
                          "version",
                          "match",
                          "scores",
                          "neighbors"
                        ],
                        "additionalProperties": {}
                      }
                    }
                  },
                  "required": [
                    "file",
                    "best_rank",
                    "matches"
                  ],
                  "additionalProperties": {}
                }
              },
              "candidate_count": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "timing_ms": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  }
                },
                "required": [
                  "total"
                ],
                "additionalProperties": {}
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "detail": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "detail"
                  ],
                  "additionalProperties": {}
                }
              }
            },
            "required": [
              "query",
              "mode_requested",
              "mode_used",
              "sources",
              "group_by",
              "ranking",
              "results",
              "groups",
              "candidate_count",
              "timing_ms",
              "warnings"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_files_chunks_request": {
        "type": "object",
        "properties": {
          "chunk_ids": {
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
            }
          },
          "include_inactive": {
            "default": false,
            "type": "boolean"
          }
        },
        "required": [
          "chunk_ids"
        ],
        "additionalProperties": false
      },
      "http_files_chunks_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "requested_chunk_id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "const": "resolved"
                    },
                    "chunk": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "file_id": {
                          "type": "string"
                        },
                        "version_id": {
                          "type": "string"
                        },
                        "chunk_index": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "text": {
                          "type": "string"
                        },
                        "token_count": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "location": {
                          "type": "object",
                          "properties": {
                            "page": {
                              "anyOf": [
                                {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "section": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "start_offset": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "end_offset": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "offset_unit": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "page",
                            "section",
                            "start_offset",
                            "end_offset",
                            "offset_unit"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "required": [
                        "id",
                        "file_id",
                        "version_id",
                        "chunk_index",
                        "text",
                        "token_count",
                        "location"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "requested_chunk_id",
                    "status",
                    "chunk"
                  ],
                  "additionalProperties": {}
                },
                {
                  "type": "object",
                  "properties": {
                    "requested_chunk_id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "const": "not_found"
                    },
                    "chunk": {
                      "type": "null"
                    }
                  },
                  "required": [
                    "requested_chunk_id",
                    "status",
                    "chunk"
                  ],
                  "additionalProperties": {}
                }
              ]
            }
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_search_request": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512
          },
          "mode": {
            "default": "lexical",
            "type": "string",
            "enum": [
              "lexical",
              "semantic",
              "hybrid"
            ]
          },
          "resource_kinds": {
            "default": [
              "node",
              "edge"
            ],
            "minItems": 1,
            "maxItems": 2,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "node",
                "edge"
              ]
            }
          },
          "types": {
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          },
          "resource_ids": {
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            }
          },
          "property_filters": {
            "default": [],
            "maxItems": 8,
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "eq"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "in"
                    },
                    "values": {
                      "minItems": 1,
                      "maxItems": 50,
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "values"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "exists"
                    },
                    "value": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "contains"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "enum": [
                        "gt",
                        "gte",
                        "lt",
                        "lte"
                      ]
                    },
                    "value": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "limit": {
            "default": 20,
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "rerank": {
            "default": "auto",
            "type": "string",
            "enum": [
              "auto",
              "off",
              "required"
            ]
          }
        },
        "required": [
          "query"
        ],
        "additionalProperties": false
      },
      "http_graph_search_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "lexical",
                  "semantic",
                  "hybrid"
                ]
              },
              "effective_mode": {
                "type": "string",
                "enum": [
                  "lexical",
                  "semantic",
                  "hybrid"
                ]
              },
              "lexical": {
                "type": "object",
                "properties": {
                  "readiness": {
                    "type": "string",
                    "enum": [
                      "ready",
                      "partial",
                      "unavailable"
                    ]
                  },
                  "coverage": {
                    "type": "string",
                    "enum": [
                      "full",
                      "partial",
                      "none"
                    ]
                  },
                  "eligible_resources": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "ready_resources": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "excluded_resources": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "degradation": {
                    "type": "string",
                    "enum": [
                      "none",
                      "lexical_coverage_partial",
                      "lexical_coverage_none"
                    ]
                  }
                },
                "required": [
                  "readiness",
                  "coverage",
                  "eligible_resources",
                  "ready_resources",
                  "excluded_resources",
                  "degradation"
                ],
                "additionalProperties": false
              },
              "semantic": {
                "type": "object",
                "properties": {
                  "profile": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "key": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 128
                          },
                          "digest": {
                            "type": "string",
                            "pattern": "^[0-9a-f]{64}$"
                          },
                          "provider": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 128
                          },
                          "model": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "dimensions": {
                            "type": "number",
                            "const": 1536
                          }
                        },
                        "required": [
                          "key",
                          "digest",
                          "provider",
                          "model",
                          "dimensions"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "readiness": {
                    "type": "string",
                    "enum": [
                      "ready",
                      "partial",
                      "unavailable"
                    ]
                  },
                  "coverage": {
                    "type": "string",
                    "enum": [
                      "full",
                      "partial",
                      "none"
                    ]
                  },
                  "eligible_resources": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "ready_resources": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "excluded_resources": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "query_embedding": {
                    "type": "string",
                    "enum": [
                      "not_requested",
                      "available",
                      "unavailable"
                    ]
                  },
                  "degradation": {
                    "type": "string",
                    "enum": [
                      "none",
                      "semantic_unavailable",
                      "semantic_coverage_partial",
                      "semantic_coverage_none"
                    ]
                  }
                },
                "required": [
                  "profile",
                  "readiness",
                  "coverage",
                  "eligible_resources",
                  "ready_resources",
                  "excluded_resources",
                  "query_embedding",
                  "degradation"
                ],
                "additionalProperties": false
              },
              "warnings": {
                "maxItems": 10,
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "lexical_coverage_partial",
                    "lexical_coverage_none",
                    "semantic_unavailable",
                    "semantic_coverage_partial",
                    "semantic_coverage_none",
                    "reranker_disabled",
                    "reranker_bypassed",
                    "reranker_unavailable",
                    "reranker_invalid_response",
                    "reranker_partial_response"
                  ]
                }
              },
              "reranker": {
                "type": "object",
                "properties": {
                  "requested": {
                    "type": "string",
                    "enum": [
                      "auto",
                      "off",
                      "required"
                    ]
                  },
                  "profile_revision": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "applied": {
                    "type": "boolean"
                  },
                  "partial": {
                    "type": "boolean"
                  },
                  "provider": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "model": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "submitted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "returned_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "fallback_reason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "reranker_disabled",
                          "reranker_bypassed",
                          "reranker_unavailable",
                          "reranker_invalid_response",
                          "reranker_partial_response"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fallback_cause": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "rate_limited",
                          "timeout",
                          "auth",
                          "invalid_request",
                          "server",
                          "transport",
                          "invalid_response",
                          "circuit_open",
                          "unknown"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "requested",
                  "profile_revision",
                  "applied",
                  "partial",
                  "provider",
                  "model",
                  "submitted_count",
                  "returned_count",
                  "fallback_reason",
                  "fallback_cause"
                ],
                "additionalProperties": false
              },
              "hits": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "resource_kind": {
                      "type": "string",
                      "enum": [
                        "node",
                        "edge"
                      ]
                    },
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "type": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "display": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 1024
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "snippet": {
                      "type": "string",
                      "maxLength": 8192
                    },
                    "rank": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "lexical_rank": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "lexical_score": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "semantic_rank": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "semantic_score": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "rrf_score": {
                      "anyOf": [
                        {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "fallback_provenance": {
                      "type": "string",
                      "const": "deterministic_source_text"
                    },
                    "resource_url": {
                      "type": "string",
                      "pattern": "^\\/v1\\/(nodes|edges)\\/[0-9a-f-]{36}$"
                    },
                    "base_rank": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "rerank_score": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "resource_kind",
                    "id",
                    "revision",
                    "type",
                    "display",
                    "snippet",
                    "rank",
                    "lexical_rank",
                    "lexical_score",
                    "semantic_rank",
                    "semantic_score",
                    "rrf_score",
                    "fallback_provenance",
                    "resource_url",
                    "base_rank",
                    "rerank_score"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "mode",
              "effective_mode",
              "lexical",
              "semantic",
              "warnings",
              "reranker",
              "hits"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_context_entity_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.project-context-entity"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "entity": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "type": {
                    "type": "string",
                    "minLength": 1
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "revision": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "created_at": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                  },
                  "updated_at": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                  },
                  "shape": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "artifact_digest": {
                            "type": "string",
                            "pattern": "^sha256:[0-9a-f]{64}$"
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 1024
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "description": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 16384
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "type_description": {
                            "anyOf": [
                              {
                                "type": "string",
                                "maxLength": 16384
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "properties": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "files": {
                    "maxItems": 32,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "file_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "version_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "content_digest": {
                          "type": "string",
                          "pattern": "^sha256:[0-9a-f]{64}$"
                        },
                        "chunk_id": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 1024
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "path": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 4096
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "file_id",
                        "version_id",
                        "content_digest",
                        "chunk_id"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "time": {
                    "type": "object",
                    "properties": {
                      "revision": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "valid_time": {
                        "type": "object",
                        "properties": {
                          "property": {
                            "type": "string"
                          },
                          "valid_from": {
                            "type": "string"
                          },
                          "valid_to": {
                            "type": "string"
                          },
                          "how": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "property",
                          "valid_from",
                          "valid_to",
                          "how"
                        ],
                        "additionalProperties": false
                      },
                      "due_time": {
                        "type": "object",
                        "properties": {
                          "property": {
                            "type": "string"
                          },
                          "due_on": {
                            "type": "string"
                          },
                          "how": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "property",
                          "due_on",
                          "how"
                        ],
                        "additionalProperties": false
                      },
                      "source_time": {
                        "type": "object",
                        "properties": {
                          "file_id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "version_id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "source_date": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "file_id",
                          "version_id",
                          "source_date"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "revision"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "id",
                  "type",
                  "name",
                  "description",
                  "revision",
                  "created_at",
                  "updated_at",
                  "shape",
                  "properties",
                  "files"
                ],
                "additionalProperties": false
              },
              "relationships": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "source_node_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "target_node_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "type": {
                      "type": "string",
                      "minLength": 1
                    },
                    "properties": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "updated_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "direction": {
                      "type": "string",
                      "enum": [
                        "inbound",
                        "outbound"
                      ]
                    },
                    "shape": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_digest": {
                              "type": "string",
                              "pattern": "^sha256:[0-9a-f]{64}$"
                            },
                            "name": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 1024
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "description": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 16384
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "type_description": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 16384
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "neighbor": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "type": {
                          "type": "string",
                          "minLength": 1
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "created_at": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        "updated_at": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        "shape": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "shape_id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "artifact_digest": {
                                  "type": "string",
                                  "pattern": "^sha256:[0-9a-f]{64}$"
                                },
                                "name": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 1024
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "description": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 16384
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "type_description": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 16384
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "shape_id",
                                "artifact_digest"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "id",
                        "type",
                        "name",
                        "description",
                        "revision",
                        "created_at",
                        "updated_at",
                        "shape"
                      ],
                      "additionalProperties": false
                    },
                    "time": {
                      "type": "object",
                      "properties": {
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "valid_time": {
                          "type": "object",
                          "properties": {
                            "property": {
                              "type": "string"
                            },
                            "valid_from": {
                              "type": "string"
                            },
                            "valid_to": {
                              "type": "string"
                            },
                            "how": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "property",
                            "valid_from",
                            "valid_to",
                            "how"
                          ],
                          "additionalProperties": false
                        },
                        "due_time": {
                          "type": "object",
                          "properties": {
                            "property": {
                              "type": "string"
                            },
                            "due_on": {
                              "type": "string"
                            },
                            "how": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "property",
                            "due_on",
                            "how"
                          ],
                          "additionalProperties": false
                        },
                        "source_time": {
                          "type": "object",
                          "properties": {
                            "file_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "version_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_date": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "file_id",
                            "version_id",
                            "source_date"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "revision"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "id",
                    "source_node_id",
                    "target_node_id",
                    "type",
                    "properties",
                    "revision",
                    "created_at",
                    "updated_at",
                    "direction",
                    "shape",
                    "neighbor"
                  ],
                  "additionalProperties": false
                }
              },
              "relationship_page": {
                "type": "object",
                "properties": {
                  "has_more": {
                    "type": "boolean"
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "has_more",
                  "next_cursor"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "schema",
              "version",
              "entity",
              "relationships",
              "relationship_page"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_context_explore_request": {
        "type": "object",
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "overview",
              "query"
            ]
          },
          "query": {
            "type": "string",
            "maxLength": 2048
          },
          "filters": {
            "default": {
              "shape_ids": [],
              "entity_types": [],
              "relationship_types": [],
              "file_ids": [],
              "file_shapes": []
            },
            "type": "object",
            "properties": {
              "shape_ids": {
                "default": [],
                "maxItems": 32,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "entity_types": {
                "default": [],
                "maxItems": 64,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "relationship_types": {
                "default": [],
                "maxItems": 64,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "file_ids": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "file_shapes": {
                "default": [],
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "file_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "shape_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "required": [
                    "file_id",
                    "shape_id"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "sort": {
            "default": "newest",
            "type": "string",
            "enum": [
              "newest",
              "oldest",
              "created",
              "modified"
            ]
          },
          "date": {
            "default": {},
            "type": "object",
            "properties": {
              "after": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "before": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              }
            },
            "additionalProperties": false
          },
          "limit": {
            "default": 50,
            "type": "integer",
            "minimum": 1,
            "maximum": 200
          },
          "relationship_limit": {
            "default": 200,
            "type": "integer",
            "minimum": 0,
            "maximum": 400
          },
          "cursor": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2048
          },
          "file_surface": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$"
          }
        },
        "additionalProperties": false
      },
      "http_context_explore_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.project-context-explorer-page"
              },
              "version": {
                "anyOf": [
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  }
                ]
              },
              "entities": {
                "maxItems": 200,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "type": {
                      "type": "string"
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "updated_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "shape": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_digest": {
                              "type": "string",
                              "pattern": "^sha256:[0-9a-f]{64}$"
                            },
                            "name": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 1024
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "description": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 16384
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "type_description": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 16384
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "files": {
                      "maxItems": 32,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "file_id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "version_id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "content_digest": {
                            "type": "string",
                            "pattern": "^sha256:[0-9a-f]{64}$"
                          },
                          "chunk_id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 1024
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "path": {
                            "anyOf": [
                              {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 4096
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "file_id",
                          "version_id",
                          "content_digest",
                          "chunk_id"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "time": {
                      "type": "object",
                      "properties": {
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "valid_time": {
                          "type": "object",
                          "properties": {
                            "property": {
                              "type": "string"
                            },
                            "valid_from": {
                              "type": "string"
                            },
                            "valid_to": {
                              "type": "string"
                            },
                            "how": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "property",
                            "valid_from",
                            "valid_to",
                            "how"
                          ],
                          "additionalProperties": false
                        },
                        "due_time": {
                          "type": "object",
                          "properties": {
                            "property": {
                              "type": "string"
                            },
                            "due_on": {
                              "type": "string"
                            },
                            "how": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "property",
                            "due_on",
                            "how"
                          ],
                          "additionalProperties": false
                        },
                        "source_time": {
                          "type": "object",
                          "properties": {
                            "file_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "version_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_date": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "file_id",
                            "version_id",
                            "source_date"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "revision"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "id",
                    "type",
                    "name",
                    "description",
                    "revision",
                    "created_at",
                    "updated_at",
                    "shape",
                    "files"
                  ],
                  "additionalProperties": false
                }
              },
              "relationships": {
                "maxItems": 400,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "source_node_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "target_node_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "type": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "shape": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_digest": {
                              "type": "string",
                              "pattern": "^sha256:[0-9a-f]{64}$"
                            },
                            "name": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 1024
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "description": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 16384
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "type_description": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 16384
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "source_node_id",
                    "target_node_id",
                    "type",
                    "revision",
                    "shape"
                  ],
                  "additionalProperties": false
                }
              },
              "page": {
                "type": "object",
                "properties": {
                  "has_more": {
                    "type": "boolean"
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "relationships_truncated": {
                    "type": "boolean"
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "overview",
                      "query"
                    ]
                  },
                  "loaded_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 200
                  },
                  "bounded": {
                    "type": "boolean",
                    "const": true
                  }
                },
                "required": [
                  "has_more",
                  "next_cursor",
                  "relationships_truncated"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "schema",
              "version",
              "entities",
              "relationships",
              "page"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_collections_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "metadata": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                "file_count": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "revision": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "created_at": {
                  "type": "string"
                },
                "updated_at": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "description",
                "metadata",
                "file_count",
                "revision",
                "created_at",
                "updated_at"
              ],
              "additionalProperties": {}
            }
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "data",
          "next_cursor"
        ],
        "additionalProperties": false
      },
      "http_collections_create_request": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "http_collections_create_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "file_organize"
              },
              "mode": {
                "type": "string",
                "const": "managed_atomic"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "operation": {
                "type": "string",
                "enum": [
                  "describe",
                  "title",
                  "tags",
                  "source_date",
                  "connect",
                  "collection_create",
                  "collection_update",
                  "collection_delete",
                  "collection_membership"
                ]
              },
              "node_id": {
                "type": "string"
              },
              "node_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "canonical_path": {
                "type": "string"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "delta_id": {
                "type": "string"
              },
              "subject_id": {
                "type": "string"
              },
              "file_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "present": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "base_revision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "committed_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "effect_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "effect_receipt_ref": {
                "type": "string"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "version_id": {
                "type": "string"
              },
              "source_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "changed": {
                "type": "boolean"
              },
              "sealed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "operation",
              "replayed",
              "request_id",
              "delta_id",
              "subject_id",
              "file_id",
              "name",
              "description",
              "present",
              "base_revision",
              "committed_revision",
              "effect_id",
              "sealed_at",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_collections_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "metadata": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              "file_count": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "created_at": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "file_id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "added_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "file_id",
                    "name",
                    "added_at"
                  ],
                  "additionalProperties": {}
                }
              },
              "next_cursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "name",
              "description",
              "metadata",
              "file_count",
              "revision",
              "created_at",
              "updated_at",
              "files",
              "next_cursor"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_collections_update_request": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "http_collections_update_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "file_organize"
              },
              "mode": {
                "type": "string",
                "const": "managed_atomic"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "operation": {
                "type": "string",
                "enum": [
                  "describe",
                  "title",
                  "tags",
                  "source_date",
                  "connect",
                  "collection_create",
                  "collection_update",
                  "collection_delete",
                  "collection_membership"
                ]
              },
              "node_id": {
                "type": "string"
              },
              "node_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "canonical_path": {
                "type": "string"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "delta_id": {
                "type": "string"
              },
              "subject_id": {
                "type": "string"
              },
              "file_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "present": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "base_revision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "committed_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "effect_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "effect_receipt_ref": {
                "type": "string"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "version_id": {
                "type": "string"
              },
              "source_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "changed": {
                "type": "boolean"
              },
              "sealed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "operation",
              "replayed",
              "request_id",
              "delta_id",
              "subject_id",
              "file_id",
              "name",
              "description",
              "present",
              "base_revision",
              "committed_revision",
              "effect_id",
              "sealed_at",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_collections_delete_response": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "replayed": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "file_organize"
                  },
                  "mode": {
                    "type": "string",
                    "const": "managed_atomic"
                  },
                  "outcome": {
                    "type": "string",
                    "const": "applied"
                  },
                  "operation": {
                    "type": "string",
                    "enum": [
                      "describe",
                      "title",
                      "tags",
                      "source_date",
                      "connect",
                      "collection_create",
                      "collection_update",
                      "collection_delete",
                      "collection_membership"
                    ]
                  },
                  "node_id": {
                    "type": "string"
                  },
                  "node_revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "canonical_path": {
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "delta_id": {
                    "type": "string"
                  },
                  "subject_id": {
                    "type": "string"
                  },
                  "file_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "present": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "base_revision": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "committed_revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "effect_id": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "effect_receipt_ref": {
                    "type": "string"
                  },
                  "title": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "version_id": {
                    "type": "string"
                  },
                  "source_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "changed": {
                    "type": "boolean"
                  },
                  "sealed_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "timings_ms": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "kind",
                  "mode",
                  "outcome",
                  "operation",
                  "replayed",
                  "request_id",
                  "delta_id",
                  "subject_id",
                  "file_id",
                  "name",
                  "description",
                  "present",
                  "base_revision",
                  "committed_revision",
                  "effect_id",
                  "sealed_at",
                  "timings_ms"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "request_id",
              "outcome",
              "replayed",
              "data"
            ],
            "additionalProperties": {}
          },
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "const": "pending"
              },
              "reason": {
                "type": "string"
              },
              "operation": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "status_url": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "request_id",
                  "status_url"
                ],
                "additionalProperties": false
              },
              "approval": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "expires_at": {
                    "type": "string"
                  },
                  "effects": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "status",
                  "expires_at",
                  "effects",
                  "next"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "request_id",
              "outcome",
              "reason",
              "operation",
              "approval"
            ],
            "additionalProperties": false
          }
        ]
      },
      "http_collections_add_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "file_organize"
              },
              "mode": {
                "type": "string",
                "const": "managed_atomic"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "operation": {
                "type": "string",
                "enum": [
                  "describe",
                  "title",
                  "tags",
                  "source_date",
                  "connect",
                  "collection_create",
                  "collection_update",
                  "collection_delete",
                  "collection_membership"
                ]
              },
              "node_id": {
                "type": "string"
              },
              "node_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "canonical_path": {
                "type": "string"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "delta_id": {
                "type": "string"
              },
              "subject_id": {
                "type": "string"
              },
              "file_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "present": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "base_revision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "committed_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "effect_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "effect_receipt_ref": {
                "type": "string"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "version_id": {
                "type": "string"
              },
              "source_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "changed": {
                "type": "boolean"
              },
              "sealed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "operation",
              "replayed",
              "request_id",
              "delta_id",
              "subject_id",
              "file_id",
              "name",
              "description",
              "present",
              "base_revision",
              "committed_revision",
              "effect_id",
              "sealed_at",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_collections_remove_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "file_organize"
              },
              "mode": {
                "type": "string",
                "const": "managed_atomic"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "operation": {
                "type": "string",
                "enum": [
                  "describe",
                  "title",
                  "tags",
                  "source_date",
                  "connect",
                  "collection_create",
                  "collection_update",
                  "collection_delete",
                  "collection_membership"
                ]
              },
              "node_id": {
                "type": "string"
              },
              "node_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "canonical_path": {
                "type": "string"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "delta_id": {
                "type": "string"
              },
              "subject_id": {
                "type": "string"
              },
              "file_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "present": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "base_revision": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "committed_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "effect_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "effect_receipt_ref": {
                "type": "string"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "version_id": {
                "type": "string"
              },
              "source_date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "changed": {
                "type": "boolean"
              },
              "sealed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "operation",
              "replayed",
              "request_id",
              "delta_id",
              "subject_id",
              "file_id",
              "name",
              "description",
              "present",
              "base_revision",
              "committed_revision",
              "effect_id",
              "sealed_at",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_collections_readiness_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "collection_id": {
                "type": "string"
              },
              "file_count": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "total_bytes": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "searchable": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "processing": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "unreadable": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "no_text": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "meaning_pending": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "meaning_failed": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "failures": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "error_code": {
                      "type": "string"
                    },
                    "error_retryable": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "count": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "examples": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "file_id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "bytes": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "file_id",
                          "name",
                          "bytes"
                        ],
                        "additionalProperties": {}
                      }
                    }
                  },
                  "required": [
                    "error_code",
                    "error_retryable",
                    "count",
                    "examples"
                  ],
                  "additionalProperties": {}
                }
              },
              "meaning_failures": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "error_code": {
                      "type": "string"
                    },
                    "error_retryable": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "count": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "examples": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "file_id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "bytes": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "file_id",
                          "name",
                          "bytes"
                        ],
                        "additionalProperties": {}
                      }
                    }
                  },
                  "required": [
                    "error_code",
                    "error_retryable",
                    "count",
                    "examples"
                  ],
                  "additionalProperties": {}
                }
              }
            },
            "required": [
              "collection_id",
              "file_count",
              "total_bytes",
              "searchable",
              "processing",
              "unreadable",
              "no_text",
              "meaning_pending",
              "meaning_failed",
              "failures",
              "meaning_failures"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_documents_create_request": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "markdown": {
            "type": "string"
          },
          "source_date": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "markdown"
        ],
        "additionalProperties": false
      },
      "http_documents_create_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "document_create"
              },
              "mode": {
                "type": "string",
                "const": "managed_atomic"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "delta_id": {
                "type": "string"
              },
              "create_id": {
                "type": "string"
              },
              "file_operation_id": {
                "type": "string"
              },
              "node_id": {
                "type": "string"
              },
              "file_id": {
                "type": "string"
              },
              "committed_version_id": {
                "type": "string"
              },
              "canonical_path": {
                "type": "string"
              },
              "semantic_status": {
                "type": "string",
                "enum": [
                  "pending",
                  "not_requested",
                  "not_applicable"
                ]
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              },
              "source_date": {
                "type": "string"
              }
            },
            "required": [
              "kind",
              "mode",
              "outcome",
              "replayed",
              "request_id",
              "delta_id",
              "create_id",
              "file_operation_id",
              "node_id",
              "file_id",
              "committed_version_id",
              "canonical_path",
              "semantic_status",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_documents_read_response": {
        "type": "object",
        "properties": {
          "data": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "view": {
                    "type": "string",
                    "const": "content"
                  },
                  "path": {
                    "type": "string"
                  },
                  "file_id": {
                    "type": "string"
                  },
                  "version_id": {
                    "type": "string"
                  },
                  "markdown": {
                    "type": "string"
                  },
                  "semantic_status": {
                    "type": "string",
                    "enum": [
                      "pending",
                      "ready",
                      "failed",
                      "not_requested",
                      "not_applicable"
                    ]
                  }
                },
                "required": [
                  "view",
                  "path",
                  "file_id",
                  "version_id",
                  "markdown",
                  "semantic_status"
                ],
                "additionalProperties": {}
              },
              {
                "type": "object",
                "properties": {
                  "node": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "revision": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "parentId": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "path": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "folder",
                          "file"
                        ]
                      },
                      "fileId": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "createdAt": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "revision",
                      "parentId",
                      "path",
                      "name",
                      "kind",
                      "fileId",
                      "createdAt",
                      "updatedAt"
                    ],
                    "additionalProperties": {}
                  },
                  "versionId": {
                    "type": "string"
                  },
                  "headings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "blockId": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "depth": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "order": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "parentBlockId": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "blockId",
                        "title",
                        "depth",
                        "order",
                        "parentBlockId"
                      ],
                      "additionalProperties": {}
                    }
                  }
                },
                "required": [
                  "node",
                  "versionId",
                  "headings"
                ],
                "additionalProperties": {}
              }
            ]
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_documents_edit_request": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "path": {
                "type": "string"
              },
              "expected_version_id": {
                "type": "string",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "edits": {
                "minItems": 1,
                "maxItems": 50,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "old_text": {
                      "type": "string"
                    },
                    "new_text": {
                      "type": "string"
                    },
                    "replace_all": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "old_text",
                    "new_text"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "path",
              "expected_version_id",
              "edits"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "path": {
                "type": "string"
              },
              "expected_version_id": {
                "type": "string",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "markdown": {
                "type": "string"
              }
            },
            "required": [
              "path",
              "expected_version_id",
              "markdown"
            ],
            "additionalProperties": false
          }
        ]
      },
      "http_documents_edit_response": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "replayed": {
                "type": "boolean"
              },
              "data": {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "const": "managed_atomic"
                  },
                  "outcome": {
                    "type": "string",
                    "const": "applied"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "delta_id": {
                    "type": "string"
                  },
                  "save_id": {
                    "type": "string"
                  },
                  "file_operation_id": {
                    "type": "string"
                  },
                  "file_id": {
                    "type": "string"
                  },
                  "node_id": {
                    "type": "string"
                  },
                  "canonical_path": {
                    "type": "string"
                  },
                  "base_version_id": {
                    "type": "string"
                  },
                  "committed_version_id": {
                    "type": "string"
                  },
                  "semantic_status": {
                    "type": "string",
                    "enum": [
                      "pending",
                      "not_requested",
                      "not_applicable"
                    ]
                  },
                  "lineage": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "created",
                            "edited",
                            "moved",
                            "split",
                            "merged",
                            "duplicated",
                            "deleted",
                            "restored"
                          ]
                        },
                        "from": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "to": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "type",
                        "from",
                        "to"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "changed_blocks": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "block_id": {
                          "type": "string"
                        },
                        "content_fingerprint": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "block_id",
                        "content_fingerprint"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "timings_ms": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "mode",
                  "outcome",
                  "replayed",
                  "request_id",
                  "delta_id",
                  "save_id",
                  "file_operation_id",
                  "file_id",
                  "node_id",
                  "canonical_path",
                  "base_version_id",
                  "committed_version_id",
                  "semantic_status",
                  "lineage",
                  "changed_blocks",
                  "timings_ms"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "request_id",
              "outcome",
              "replayed",
              "data"
            ],
            "additionalProperties": {}
          },
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "const": "unchanged"
              },
              "replayed": {
                "type": "boolean",
                "const": false
              },
              "data": {
                "type": "object",
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "version_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "path",
                  "version_id"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "request_id",
              "outcome",
              "replayed",
              "data"
            ],
            "additionalProperties": {}
          }
        ]
      },
      "http_documents_insert_request": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "path": {
                "type": "string"
              },
              "expected_version_id": {
                "type": "string",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "markdown": {
                "type": "string",
                "minLength": 1
              },
              "after_block_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 255
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "path",
              "expected_version_id",
              "markdown",
              "after_block_id"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "path": {
                "type": "string"
              },
              "expected_version_id": {
                "type": "string",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "markdown": {
                "type": "string",
                "minLength": 1
              },
              "at": {
                "type": "string",
                "enum": [
                  "start",
                  "end"
                ]
              }
            },
            "required": [
              "path",
              "expected_version_id",
              "markdown",
              "at"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "path": {
                "type": "string"
              },
              "expected_version_id": {
                "type": "string",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
              },
              "markdown": {
                "type": "string",
                "minLength": 1
              },
              "after": {
                "type": "string",
                "minLength": 1,
                "maxLength": 255
              }
            },
            "required": [
              "path",
              "expected_version_id",
              "markdown",
              "after"
            ],
            "additionalProperties": false
          }
        ]
      },
      "http_documents_insert_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "mode": {
                "type": "string",
                "const": "managed_atomic"
              },
              "outcome": {
                "type": "string",
                "const": "applied"
              },
              "replayed": {
                "type": "boolean"
              },
              "request_id": {
                "type": "string"
              },
              "delta_id": {
                "type": "string"
              },
              "save_id": {
                "type": "string"
              },
              "file_operation_id": {
                "type": "string"
              },
              "file_id": {
                "type": "string"
              },
              "node_id": {
                "type": "string"
              },
              "canonical_path": {
                "type": "string"
              },
              "base_version_id": {
                "type": "string"
              },
              "committed_version_id": {
                "type": "string"
              },
              "semantic_status": {
                "type": "string",
                "enum": [
                  "pending",
                  "not_requested",
                  "not_applicable"
                ]
              },
              "lineage": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "created",
                        "edited",
                        "moved",
                        "split",
                        "merged",
                        "duplicated",
                        "deleted",
                        "restored"
                      ]
                    },
                    "from": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "to": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "type",
                    "from",
                    "to"
                  ],
                  "additionalProperties": {}
                }
              },
              "changed_blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "block_id": {
                      "type": "string"
                    },
                    "content_fingerprint": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "block_id",
                    "content_fingerprint"
                  ],
                  "additionalProperties": {}
                }
              },
              "timings_ms": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "number"
                }
              }
            },
            "required": [
              "mode",
              "outcome",
              "replayed",
              "request_id",
              "delta_id",
              "save_id",
              "file_operation_id",
              "file_id",
              "node_id",
              "canonical_path",
              "base_version_id",
              "committed_version_id",
              "semantic_status",
              "lineage",
              "changed_blocks",
              "timings_ms"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_semantic_tasks_file_extractions_capabilities_request": {
        "type": "object",
        "properties": {
          "scope": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "files"
                  },
                  "file_ids": {
                    "minItems": 1,
                    "maxItems": 256,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  }
                },
                "required": [
                  "kind",
                  "file_ids"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "collection"
                  },
                  "collection_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "collection_id"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "scope"
        ],
        "additionalProperties": false
      },
      "http_semantic_tasks_file_extractions_capabilities_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.file-extraction-capabilities"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "scope": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "files"
                      },
                      "file_ids": {
                        "minItems": 1,
                        "maxItems": 256,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "required": [
                      "kind",
                      "file_ids"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "collection"
                      },
                      "collection_id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      }
                    },
                    "required": [
                      "kind",
                      "collection_id"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "actions": {
                "type": "object",
                "properties": {
                  "view_results": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "available",
                          "hidden",
                          "blocked"
                        ]
                      },
                      "reason_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "message": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "reason_code",
                      "message"
                    ],
                    "additionalProperties": {}
                  },
                  "view_history": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "available",
                          "hidden",
                          "blocked"
                        ]
                      },
                      "reason_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "message": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "reason_code",
                      "message"
                    ],
                    "additionalProperties": {}
                  },
                  "start_single": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "available",
                          "hidden",
                          "blocked"
                        ]
                      },
                      "reason_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "message": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "reason_code",
                      "message"
                    ],
                    "additionalProperties": {}
                  },
                  "start_bulk": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "available",
                          "hidden",
                          "blocked"
                        ]
                      },
                      "reason_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "message": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "reason_code",
                      "message"
                    ],
                    "additionalProperties": {}
                  },
                  "start_collection": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "available",
                          "hidden",
                          "blocked"
                        ]
                      },
                      "reason_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "message": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "reason_code",
                      "message"
                    ],
                    "additionalProperties": {}
                  },
                  "reextract": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "available",
                          "hidden",
                          "blocked"
                        ]
                      },
                      "reason_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "message": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "reason_code",
                      "message"
                    ],
                    "additionalProperties": {}
                  },
                  "retry": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "available",
                          "hidden",
                          "blocked"
                        ]
                      },
                      "reason_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "message": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "reason_code",
                      "message"
                    ],
                    "additionalProperties": {}
                  },
                  "review_results": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "available",
                          "hidden",
                          "blocked"
                        ]
                      },
                      "reason_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "message": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "reason_code",
                      "message"
                    ],
                    "additionalProperties": {}
                  },
                  "cancel": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "available",
                          "hidden",
                          "blocked"
                        ]
                      },
                      "reason_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "message": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "reason_code",
                      "message"
                    ],
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "view_results",
                  "view_history",
                  "start_single",
                  "start_bulk",
                  "start_collection",
                  "reextract",
                  "retry",
                  "review_results",
                  "cancel"
                ],
                "additionalProperties": {}
              },
              "levels": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "level": {
                      "type": "string"
                    },
                    "default": {
                      "type": "boolean"
                    },
                    "estimate": {}
                  },
                  "required": [
                    "level",
                    "default",
                    "estimate"
                  ],
                  "additionalProperties": {}
                }
              }
            },
            "required": [
              "schema",
              "version",
              "scope",
              "actions",
              "levels"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_semantic_tasks_file_extractions_plan_request": {
        "type": "object",
        "properties": {
          "scope": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "files"
                  },
                  "file_ids": {
                    "minItems": 1,
                    "maxItems": 256,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  }
                },
                "required": [
                  "kind",
                  "file_ids"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "collection"
                  },
                  "collection_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "kind",
                  "collection_id"
                ],
                "additionalProperties": false
              }
            ]
          },
          "preset": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "shape"
                  },
                  "shape": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  }
                },
                "required": [
                  "kind",
                  "shape"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "lens"
                  },
                  "lens": {}
                },
                "required": [
                  "kind",
                  "lens"
                ],
                "additionalProperties": false
              }
            ]
          },
          "level": {
            "description": "How thorough the extraction is: standard (items are double-checked before review) or fast (one read, no double-check). Omit for the project's default.",
            "type": "string",
            "enum": [
              "standard",
              "fast",
              "deep"
            ]
          }
        },
        "required": [
          "scope",
          "preset"
        ],
        "additionalProperties": false
      },
      "http_semantic_tasks_file_extractions_plan_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.file-extraction-plan"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "scope": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "files"
                      },
                      "file_ids": {
                        "minItems": 1,
                        "maxItems": 256,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "required": [
                      "kind",
                      "file_ids"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "collection"
                      },
                      "collection_id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      }
                    },
                    "required": [
                      "kind",
                      "collection_id"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "collection": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "revision": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "revision"
                    ],
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "files": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "file_id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "version_id": {
                      "type": "string"
                    },
                    "version_number": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "text_bytes": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "file_id",
                    "name",
                    "version_id",
                    "version_number",
                    "text_bytes"
                  ],
                  "additionalProperties": {}
                }
              },
              "total_text_bytes": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "max_source_bytes": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "shape": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ],
                "additionalProperties": {}
              },
              "types": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type_id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "route": {
                      "type": "string",
                      "enum": [
                        "record",
                        "synthesis"
                      ]
                    }
                  },
                  "required": [
                    "type_id",
                    "name",
                    "route"
                  ],
                  "additionalProperties": {}
                }
              },
              "level": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "estimate": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "expected_credits": {
                        "type": "number"
                      },
                      "high_credits": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "expected_credits",
                      "high_credits"
                    ],
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "max_credits": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "partial_policy": {
                "type": "string",
                "const": "deliver_completed"
              },
              "unattended": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "allowed": {
                        "type": "boolean"
                      },
                      "per_run_cap_credits": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "allowed",
                      "per_run_cap_credits"
                    ],
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "plan_digest": {
                "type": "string"
              }
            },
            "required": [
              "schema",
              "version",
              "scope",
              "collection",
              "files",
              "total_text_bytes",
              "max_source_bytes",
              "shape",
              "types",
              "level",
              "estimate",
              "max_credits",
              "partial_policy",
              "unattended",
              "plan_digest"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_extractions_start_request": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "file_ids": {
                "description": "Native File UUIDs from list_files or search_files. Each File's current version and extracted text are pinned at admission; never a Workspace path. Give exactly one of file_ids or collection_id.",
                "minItems": 1,
                "maxItems": 256,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "collection_id": {
                "description": "A Files collection to extract from, in place of file_ids. The collection's Files and their current versions are read once when the extraction starts; Files added or changed later are not part of this run. Give exactly one of file_ids or collection_id.",
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "idempotency_key": {
                "description": "Caller-chosen key for this extraction. Repeating the same key replays the same admitted run instead of paying for a second one.",
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "level": {
                "description": "How thorough: standard (items are double-checked before you review them) or fast (one read, no double-check). Omit for the project's default.",
                "type": "string",
                "enum": [
                  "standard",
                  "fast",
                  "deep"
                ]
              },
              "mode": {
                "type": "string",
                "const": "shape"
              },
              "shape": {
                "description": "The one published Shape name or id whose complete analytical perspective governs this operation.",
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              }
            },
            "required": [
              "idempotency_key",
              "mode",
              "shape"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "file_ids": {
                "description": "Native File UUIDs from list_files or search_files. Each File's current version and extracted text are pinned at admission; never a Workspace path. Give exactly one of file_ids or collection_id.",
                "minItems": 1,
                "maxItems": 256,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "collection_id": {
                "description": "A Files collection to extract from, in place of file_ids. The collection's Files and their current versions are read once when the extraction starts; Files added or changed later are not part of this run. Give exactly one of file_ids or collection_id.",
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "idempotency_key": {
                "description": "Caller-chosen key for this extraction. Repeating the same key replays the same admitted run instead of paying for a second one.",
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "level": {
                "description": "How thorough: standard (items are double-checked before you review them) or fast (one read, no double-check). Omit for the project's default.",
                "type": "string",
                "enum": [
                  "standard",
                  "fast",
                  "deep"
                ]
              },
              "mode": {
                "type": "string",
                "const": "typeset"
              },
              "typeset": {
                "description": "A perspective-neutral extraction aperture assembled from exact stable types. It does not import the broader analytical perspective of any containing Shape.",
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "description": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2048
                  },
                  "types": {
                    "minItems": 1,
                    "maxItems": 512,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "type_id": {
                          "description": "Stable project TypeId.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "alias": {
                          "description": "Request-local label for the model; it does not change semantic identity.",
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 128
                        }
                      },
                      "required": [
                        "type_id"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "relationship_ids": {
                    "description": "Exact stable RelationshipIds. Omit for every relationship whose endpoints are both selected; use [] for no relationships.",
                    "maxItems": 512,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  }
                },
                "required": [
                  "name",
                  "types"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "idempotency_key",
              "mode",
              "typeset"
            ],
            "additionalProperties": false
          }
        ]
      },
      "http_graph_extractions_start_response": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "workspace": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "creation_origin": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "open",
                          "submitted",
                          "applied",
                          "closed"
                        ]
                      },
                      "revision": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "item_count": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "shape": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "shape_id": {
                                "type": "string"
                              },
                              "artifact_digest": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "shape_id",
                              "artifact_digest"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "bindings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string"
                            },
                            "artifact_digest": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "bridge_set": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "digest": {
                                "type": "string"
                              },
                              "declaration_count": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "digest",
                              "declaration_count"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "created_at": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string"
                      },
                      "applied_at": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "replaced_by": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "creation_origin",
                      "name",
                      "description",
                      "status",
                      "revision",
                      "item_count",
                      "shape",
                      "bindings",
                      "bridge_set",
                      "created_at",
                      "updated_at",
                      "applied_at"
                    ],
                    "additionalProperties": {}
                  },
                  "run_id": {
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  },
                  "expected_revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "execution_state": {
                    "type": "string"
                  },
                  "shape": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string"
                          },
                          "artifact_digest": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "lens": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string"
                      },
                      "lens_digest": {
                        "type": "string"
                      },
                      "source_ontology_revision": {
                        "type": "string"
                      },
                      "artifact_bindings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string"
                            },
                            "artifact_digest": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "bridge_set_digest": {
                        "type": "string"
                      },
                      "project_bridge_set_digest": {
                        "type": "string"
                      },
                      "type_count": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "relationship_count": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "kind",
                      "lens_digest",
                      "source_ontology_revision",
                      "artifact_bindings",
                      "bridge_set_digest",
                      "project_bridge_set_digest",
                      "type_count",
                      "relationship_count"
                    ],
                    "additionalProperties": {}
                  },
                  "source_count": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "collection": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "revision": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "id",
                          "revision"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "level": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "fast",
                          "standard",
                          "deep"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "estimate": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "schema": {
                            "type": "string",
                            "const": "penumbra.extraction-estimate"
                          },
                          "version": {
                            "type": "number",
                            "const": 1
                          },
                          "expected_credit_micros": {
                            "type": "number"
                          },
                          "high_credit_micros": {
                            "type": "number"
                          },
                          "source_bytes": {
                            "type": "number"
                          },
                          "calls": {
                            "type": "number"
                          },
                          "billing": {
                            "type": "string",
                            "const": "elsewhere"
                          }
                        },
                        "required": [
                          "schema",
                          "version",
                          "expected_credit_micros",
                          "high_credit_micros",
                          "source_bytes",
                          "calls"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "workspace",
                  "run_id",
                  "replayed",
                  "expected_revision",
                  "execution_state",
                  "shape",
                  "source_count",
                  "level",
                  "estimate"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "data"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "const": "pending"
              },
              "reason": {
                "type": "string"
              },
              "operation": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "status_url": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "request_id",
                  "status_url"
                ],
                "additionalProperties": false
              },
              "approval": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "expires_at": {
                    "type": "string"
                  },
                  "effects": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "status",
                  "expires_at",
                  "effects",
                  "next"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "request_id",
              "outcome",
              "reason",
              "operation",
              "approval"
            ],
            "additionalProperties": false
          }
        ]
      },
      "http_semantic_tasks_file_extractions_list_response": {
        "type": "object",
        "properties": {
          "schema": {
            "type": "string",
            "const": "penumbra.file-extraction-run-page"
          },
          "version": {
            "type": "number",
            "const": 1
          },
          "file_id": {
            "type": "string"
          },
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "schema": {
                  "type": "string",
                  "const": "penumbra.file-extraction-run"
                },
                "version": {
                  "type": "number",
                  "const": 1
                },
                "run_id": {
                  "type": "string"
                },
                "request_id": {
                  "type": "string"
                },
                "scope": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "files"
                        },
                        "file_ids": {
                          "minItems": 1,
                          "maxItems": 256,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          }
                        }
                      },
                      "required": [
                        "kind",
                        "file_ids"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "collection"
                        },
                        "collection_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "required": [
                        "kind",
                        "collection_id"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "source_file_ids": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "collection": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "revision": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "id",
                        "revision"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "queued",
                    "running",
                    "completed",
                    "stale",
                    "failed"
                  ]
                },
                "preset": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "shape",
                        "lens"
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "shapes": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "name"
                        ],
                        "additionalProperties": {}
                      }
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "name",
                    "description",
                    "shapes"
                  ],
                  "additionalProperties": {}
                },
                "level": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "continues_run_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "continued_by_run_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "actions": {
                  "type": "object",
                  "properties": {
                    "retry": {
                      "type": "object",
                      "properties": {
                        "state": {
                          "type": "string",
                          "enum": [
                            "available",
                            "hidden",
                            "blocked"
                          ]
                        },
                        "reason_code": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "message": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "state",
                        "reason_code",
                        "message"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "retry"
                  ],
                  "additionalProperties": {}
                },
                "destination": {
                  "type": "object",
                  "properties": {
                    "workspace_id": {
                      "type": "string"
                    },
                    "workspace_name": {
                      "type": "string"
                    },
                    "context_id": {
                      "type": "null"
                    }
                  },
                  "required": [
                    "workspace_id",
                    "workspace_name",
                    "context_id"
                  ],
                  "additionalProperties": {}
                },
                "result_counts": {
                  "type": "object",
                  "properties": {
                    "accepted": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "needs_evidence": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "rejected": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "repair": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "accepted",
                    "needs_evidence",
                    "rejected",
                    "repair"
                  ],
                  "additionalProperties": {}
                },
                "error_code": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "failure_code": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "progress": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "cursor": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "step": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "draft",
                                "review",
                                "record",
                                "synthesis",
                                "reconcile",
                                "support",
                                "resuming",
                                "stopping"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "parts": {
                          "type": "object",
                          "properties": {
                            "done": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "total": {
                              "anyOf": [
                                {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "done",
                            "total"
                          ],
                          "additionalProperties": false
                        },
                        "live": {
                          "type": "object",
                          "properties": {
                            "entities": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "relationships": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "entities",
                            "relationships"
                          ],
                          "additionalProperties": false
                        },
                        "by_type": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "entity",
                                  "relationship"
                                ]
                              },
                              "type_id": {
                                "type": "string"
                              },
                              "type_name": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 256
                              },
                              "live": {
                                "type": "integer",
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "kind",
                              "type_id",
                              "type_name",
                              "live"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "not_accepted": {
                          "type": "object",
                          "properties": {
                            "needs_evidence": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "rejected": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "needs_evidence",
                            "rejected"
                          ],
                          "additionalProperties": false
                        },
                        "stop_requested": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "cursor",
                        "step",
                        "parts",
                        "live",
                        "by_type",
                        "not_accepted",
                        "stop_requested"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "stopped_early": {
                  "type": "boolean"
                },
                "review_not_run": {
                  "type": "boolean"
                },
                "incomplete": {
                  "default": null,
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "parts_delivered": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "parts_total": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "reconciled": {
                          "type": "boolean"
                        },
                        "failure_code": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "files_not_fully_read": {
                          "anyOf": [
                            {
                              "maxItems": 256,
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "file_id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "partly_read": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "file_id",
                                  "partly_read"
                                ],
                                "additionalProperties": false
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "parts_delivered",
                        "parts_total",
                        "reconciled",
                        "failure_code",
                        "files_not_fully_read"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "over_limit_count": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "created_at": {
                  "type": "string"
                },
                "updated_at": {
                  "type": "string"
                },
                "completed_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "schema",
                "version",
                "run_id",
                "request_id",
                "scope",
                "source_file_ids",
                "collection",
                "status",
                "preset",
                "level",
                "continues_run_id",
                "continued_by_run_id",
                "actions",
                "destination",
                "result_counts",
                "error_code",
                "failure_code",
                "progress",
                "stopped_early",
                "review_not_run",
                "incomplete",
                "over_limit_count",
                "created_at",
                "updated_at",
                "completed_at"
              ],
              "additionalProperties": {}
            }
          },
          "page": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "has_more": {
                "type": "boolean"
              },
              "next_cursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "limit",
              "has_more",
              "next_cursor"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "schema",
          "version",
          "file_id",
          "data",
          "page"
        ],
        "additionalProperties": {}
      },
      "http_semantic_tasks_file_extractions_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.file-extraction-run"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "run_id": {
                "type": "string"
              },
              "request_id": {
                "type": "string"
              },
              "scope": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "files"
                      },
                      "file_ids": {
                        "minItems": 1,
                        "maxItems": 256,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "required": [
                      "kind",
                      "file_ids"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "collection"
                      },
                      "collection_id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      }
                    },
                    "required": [
                      "kind",
                      "collection_id"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "source_file_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "collection": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "revision": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "id",
                      "revision"
                    ],
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "type": "string",
                "enum": [
                  "queued",
                  "running",
                  "completed",
                  "stale",
                  "failed"
                ]
              },
              "preset": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "shape",
                      "lens"
                    ]
                  },
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "shapes": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": {}
                    }
                  }
                },
                "required": [
                  "kind",
                  "id",
                  "name",
                  "description",
                  "shapes"
                ],
                "additionalProperties": {}
              },
              "level": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "continues_run_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "continued_by_run_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "actions": {
                "type": "object",
                "properties": {
                  "retry": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "available",
                          "hidden",
                          "blocked"
                        ]
                      },
                      "reason_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "message": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "reason_code",
                      "message"
                    ],
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "retry"
                ],
                "additionalProperties": {}
              },
              "destination": {
                "type": "object",
                "properties": {
                  "workspace_id": {
                    "type": "string"
                  },
                  "workspace_name": {
                    "type": "string"
                  },
                  "context_id": {
                    "type": "null"
                  }
                },
                "required": [
                  "workspace_id",
                  "workspace_name",
                  "context_id"
                ],
                "additionalProperties": {}
              },
              "result_counts": {
                "type": "object",
                "properties": {
                  "accepted": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "needs_evidence": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "rejected": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "repair": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "accepted",
                  "needs_evidence",
                  "rejected",
                  "repair"
                ],
                "additionalProperties": {}
              },
              "error_code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "failure_code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "progress": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "cursor": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "step": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "draft",
                              "review",
                              "record",
                              "synthesis",
                              "reconcile",
                              "support",
                              "resuming",
                              "stopping"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "parts": {
                        "type": "object",
                        "properties": {
                          "done": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "total": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "done",
                          "total"
                        ],
                        "additionalProperties": false
                      },
                      "live": {
                        "type": "object",
                        "properties": {
                          "entities": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "relationships": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "entities",
                          "relationships"
                        ],
                        "additionalProperties": false
                      },
                      "by_type": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "entity",
                                "relationship"
                              ]
                            },
                            "type_id": {
                              "type": "string"
                            },
                            "type_name": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "live": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "kind",
                            "type_id",
                            "type_name",
                            "live"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "not_accepted": {
                        "type": "object",
                        "properties": {
                          "needs_evidence": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "rejected": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "needs_evidence",
                          "rejected"
                        ],
                        "additionalProperties": false
                      },
                      "stop_requested": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "cursor",
                      "step",
                      "parts",
                      "live",
                      "by_type",
                      "not_accepted",
                      "stop_requested"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "stopped_early": {
                "type": "boolean"
              },
              "review_not_run": {
                "type": "boolean"
              },
              "incomplete": {
                "default": null,
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "parts_delivered": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "parts_total": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "reconciled": {
                        "type": "boolean"
                      },
                      "failure_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "files_not_fully_read": {
                        "anyOf": [
                          {
                            "maxItems": 256,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "file_id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "partly_read": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "file_id",
                                "partly_read"
                              ],
                              "additionalProperties": false
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "parts_delivered",
                      "parts_total",
                      "reconciled",
                      "failure_code",
                      "files_not_fully_read"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "over_limit_count": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "created_at": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "completed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "schema",
              "version",
              "run_id",
              "request_id",
              "scope",
              "source_file_ids",
              "collection",
              "status",
              "preset",
              "level",
              "continues_run_id",
              "continued_by_run_id",
              "actions",
              "destination",
              "result_counts",
              "error_code",
              "failure_code",
              "progress",
              "stopped_early",
              "review_not_run",
              "incomplete",
              "over_limit_count",
              "created_at",
              "updated_at",
              "completed_at"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_semantic_tasks_file_extractions_results_response": {
        "type": "object",
        "properties": {
          "schema": {
            "type": "string",
            "const": "penumbra.file-extraction-result-page"
          },
          "version": {
            "type": "number",
            "const": 1
          },
          "run_id": {
            "type": "string"
          },
          "destination": {
            "type": "object",
            "properties": {
              "workspace_id": {
                "type": "string"
              },
              "workspace_name": {
                "type": "string"
              },
              "context_id": {
                "type": "null"
              }
            },
            "required": [
              "workspace_id",
              "workspace_name",
              "context_id"
            ],
            "additionalProperties": {}
          },
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                },
                "review_state": {
                  "type": "string",
                  "enum": [
                    "accepted",
                    "needs_evidence",
                    "rejected"
                  ]
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": {
                  "type": "string"
                },
                "shape": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "name"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "context_resource_id": {
                  "type": "null"
                },
                "evidence": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "file_id": {
                        "type": "string"
                      },
                      "version_id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "file_id",
                      "version_id"
                    ],
                    "additionalProperties": {}
                  }
                }
              },
              "required": [
                "id",
                "kind",
                "review_state",
                "name",
                "type",
                "shape",
                "context_resource_id",
                "evidence"
              ],
              "additionalProperties": {}
            }
          },
          "page": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "has_more": {
                "type": "boolean"
              },
              "next_cursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "limit",
              "has_more",
              "next_cursor"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "schema",
          "version",
          "run_id",
          "destination",
          "data",
          "page"
        ],
        "additionalProperties": {}
      },
      "http_semantic_tasks_file_extractions_stop_request": {
        "type": "object",
        "properties": {
          "request_id": {
            "description": "Caller-chosen attribution for this stop request; the first request stamps it.",
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          }
        },
        "required": [
          "request_id"
        ],
        "additionalProperties": false
      },
      "http_semantic_tasks_file_extractions_stop_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.graph-extraction-stop"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "run_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "status": {
                "type": "string",
                "enum": [
                  "cancelled",
                  "stopping",
                  "settled"
                ]
              }
            },
            "required": [
              "schema",
              "version",
              "run_id",
              "status"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_semantic_tasks_file_extractions_try_again_request": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "http_semantic_tasks_file_extractions_try_again_response": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "schema": {
                    "type": "string",
                    "const": "penumbra.file-extraction-try-again"
                  },
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "run": {
                    "type": "object",
                    "properties": {
                      "schema": {
                        "type": "string",
                        "const": "penumbra.file-extraction-run"
                      },
                      "version": {
                        "type": "number",
                        "const": 1
                      },
                      "run_id": {
                        "type": "string"
                      },
                      "request_id": {
                        "type": "string"
                      },
                      "scope": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "const": "files"
                              },
                              "file_ids": {
                                "minItems": 1,
                                "maxItems": 256,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              }
                            },
                            "required": [
                              "kind",
                              "file_ids"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "const": "collection"
                              },
                              "collection_id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "required": [
                              "kind",
                              "collection_id"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "source_file_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "collection": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "revision": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "id",
                              "revision"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "queued",
                          "running",
                          "completed",
                          "stale",
                          "failed"
                        ]
                      },
                      "preset": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "shape",
                              "lens"
                            ]
                          },
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "description": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "shapes": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": {}
                            }
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "name",
                          "description",
                          "shapes"
                        ],
                        "additionalProperties": {}
                      },
                      "level": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "continues_run_id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "continued_by_run_id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "actions": {
                        "type": "object",
                        "properties": {
                          "retry": {
                            "type": "object",
                            "properties": {
                              "state": {
                                "type": "string",
                                "enum": [
                                  "available",
                                  "hidden",
                                  "blocked"
                                ]
                              },
                              "reason_code": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "message": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "state",
                              "reason_code",
                              "message"
                            ],
                            "additionalProperties": {}
                          }
                        },
                        "required": [
                          "retry"
                        ],
                        "additionalProperties": {}
                      },
                      "destination": {
                        "type": "object",
                        "properties": {
                          "workspace_id": {
                            "type": "string"
                          },
                          "workspace_name": {
                            "type": "string"
                          },
                          "context_id": {
                            "type": "null"
                          }
                        },
                        "required": [
                          "workspace_id",
                          "workspace_name",
                          "context_id"
                        ],
                        "additionalProperties": {}
                      },
                      "result_counts": {
                        "type": "object",
                        "properties": {
                          "accepted": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "needs_evidence": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "rejected": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "repair": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "accepted",
                          "needs_evidence",
                          "rejected",
                          "repair"
                        ],
                        "additionalProperties": {}
                      },
                      "error_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "failure_code": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "progress": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "cursor": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "step": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "draft",
                                      "review",
                                      "record",
                                      "synthesis",
                                      "reconcile",
                                      "support",
                                      "resuming",
                                      "stopping"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "parts": {
                                "type": "object",
                                "properties": {
                                  "done": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "total": {
                                    "anyOf": [
                                      {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "done",
                                  "total"
                                ],
                                "additionalProperties": false
                              },
                              "live": {
                                "type": "object",
                                "properties": {
                                  "entities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "relationships": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "entities",
                                  "relationships"
                                ],
                                "additionalProperties": false
                              },
                              "by_type": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "entity",
                                        "relationship"
                                      ]
                                    },
                                    "type_id": {
                                      "type": "string"
                                    },
                                    "type_name": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 256
                                    },
                                    "live": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "type_id",
                                    "type_name",
                                    "live"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "not_accepted": {
                                "type": "object",
                                "properties": {
                                  "needs_evidence": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "rejected": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "needs_evidence",
                                  "rejected"
                                ],
                                "additionalProperties": false
                              },
                              "stop_requested": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "cursor",
                              "step",
                              "parts",
                              "live",
                              "by_type",
                              "not_accepted",
                              "stop_requested"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "stopped_early": {
                        "type": "boolean"
                      },
                      "review_not_run": {
                        "type": "boolean"
                      },
                      "incomplete": {
                        "default": null,
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "parts_delivered": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "parts_total": {
                                "type": "integer",
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991
                              },
                              "reconciled": {
                                "type": "boolean"
                              },
                              "failure_code": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "files_not_fully_read": {
                                "anyOf": [
                                  {
                                    "maxItems": 256,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "file_id": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                        },
                                        "partly_read": {
                                          "type": "boolean"
                                        }
                                      },
                                      "required": [
                                        "file_id",
                                        "partly_read"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "parts_delivered",
                              "parts_total",
                              "reconciled",
                              "failure_code",
                              "files_not_fully_read"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "over_limit_count": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "created_at": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string"
                      },
                      "completed_at": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "schema",
                      "version",
                      "run_id",
                      "request_id",
                      "scope",
                      "source_file_ids",
                      "collection",
                      "status",
                      "preset",
                      "level",
                      "continues_run_id",
                      "continued_by_run_id",
                      "actions",
                      "destination",
                      "result_counts",
                      "error_code",
                      "failure_code",
                      "progress",
                      "stopped_early",
                      "review_not_run",
                      "incomplete",
                      "over_limit_count",
                      "created_at",
                      "updated_at",
                      "completed_at"
                    ],
                    "additionalProperties": {}
                  },
                  "parent_run_id": {
                    "type": "string"
                  },
                  "replayed": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "schema",
                  "version",
                  "run",
                  "parent_run_id",
                  "replayed"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "data"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "const": "pending"
              },
              "reason": {
                "type": "string"
              },
              "operation": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "status_url": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "request_id",
                  "status_url"
                ],
                "additionalProperties": false
              },
              "approval": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "expires_at": {
                    "type": "string"
                  },
                  "effects": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "status",
                  "expires_at",
                  "effects",
                  "next"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "request_id",
              "outcome",
              "reason",
              "operation",
              "approval"
            ],
            "additionalProperties": false
          }
        ]
      },
      "http_graph_workspaces_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "workspaces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "creation_origin": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "open",
                        "submitted",
                        "applied",
                        "closed"
                      ]
                    },
                    "revision": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "item_count": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "shape": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string"
                            },
                            "artifact_digest": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bindings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string"
                          },
                          "artifact_digest": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": {}
                      }
                    },
                    "bridge_set": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "digest": {
                              "type": "string"
                            },
                            "declaration_count": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "digest",
                            "declaration_count"
                          ],
                          "additionalProperties": {}
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "updated_at": {
                      "type": "string"
                    },
                    "applied_at": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "replaced_by": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "creation_origin",
                    "name",
                    "description",
                    "status",
                    "revision",
                    "item_count",
                    "shape",
                    "bindings",
                    "bridge_set",
                    "created_at",
                    "updated_at",
                    "applied_at"
                  ],
                  "additionalProperties": {}
                }
              },
              "limit": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "next_cursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "workspaces",
              "limit",
              "next_cursor"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_open_request": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Semantic workspace name, for example \"Strategic risks from the Q4 deck\".",
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "description": {
            "description": "What this workspace is for.",
            "type": "string",
            "maxLength": 4096
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_open_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "workspace": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "creation_origin": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "open",
                      "submitted",
                      "applied",
                      "closed"
                    ]
                  },
                  "revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "item_count": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "shape": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string"
                          },
                          "artifact_digest": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bindings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "shape_id": {
                          "type": "string"
                        },
                        "artifact_digest": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "shape_id",
                        "artifact_digest"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "bridge_set": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "digest": {
                            "type": "string"
                          },
                          "declaration_count": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "digest",
                          "declaration_count"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "applied_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replaced_by": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "creation_origin",
                  "name",
                  "description",
                  "status",
                  "revision",
                  "item_count",
                  "shape",
                  "bindings",
                  "bridge_set",
                  "created_at",
                  "updated_at",
                  "applied_at"
                ],
                "additionalProperties": {}
              },
              "created": {
                "type": "boolean"
              },
              "reopened_from": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "workspace",
              "created",
              "reopened_from",
              "notes"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "workspace": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "creation_origin": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "open",
                      "submitted",
                      "applied",
                      "closed"
                    ]
                  },
                  "revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "item_count": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "shape": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string"
                          },
                          "artifact_digest": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bindings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "shape_id": {
                          "type": "string"
                        },
                        "artifact_digest": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "shape_id",
                        "artifact_digest"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "bridge_set": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "digest": {
                            "type": "string"
                          },
                          "declaration_count": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "digest",
                          "declaration_count"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "applied_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replaced_by": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "creation_origin",
                  "name",
                  "description",
                  "status",
                  "revision",
                  "item_count",
                  "shape",
                  "bindings",
                  "bridge_set",
                  "created_at",
                  "updated_at",
                  "applied_at"
                ],
                "additionalProperties": {}
              },
              "submission": {
                "type": "object",
                "properties": {
                  "state": {
                    "type": "string",
                    "enum": [
                      "not_started",
                      "applied",
                      "partial",
                      "unresolved"
                    ]
                  },
                  "source_revision": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "sequence": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "can_submit": {
                    "type": "boolean"
                  },
                  "can_resume": {
                    "type": "boolean"
                  },
                  "receipts": {
                    "type": "object",
                    "properties": {
                      "lifecycle": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "graph_create",
                                  "graph_lifecycle"
                                ]
                              },
                              "mode": {
                                "type": "string",
                                "const": "managed_atomic"
                              },
                              "outcome": {
                                "type": "string",
                                "const": "applied"
                              },
                              "replayed": {
                                "type": "boolean"
                              },
                              "request_id": {
                                "type": "string"
                              },
                              "delta_id": {
                                "type": "string"
                              },
                              "project_id": {
                                "type": "string"
                              },
                              "surface_id": {
                                "type": "string"
                              },
                              "native_scope_id": {
                                "type": "string"
                              },
                              "plan_digest": {
                                "type": "string"
                              },
                              "graph_receipt_id": {
                                "type": "string"
                              },
                              "graph_commit_position": {
                                "type": "string"
                              },
                              "mutations": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "operation_index": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "mutation_kind": {
                                      "type": "string"
                                    },
                                    "implicit": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision",
                                    "operation_index",
                                    "mutation_kind",
                                    "implicit"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "local_refs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "target_revision": {
                                "type": "string"
                              },
                              "effect_receipt_ref": {
                                "type": "string"
                              },
                              "timings_ms": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "number"
                                }
                              }
                            },
                            "required": [
                              "kind",
                              "mode",
                              "outcome",
                              "replayed",
                              "request_id",
                              "delta_id",
                              "project_id",
                              "surface_id",
                              "native_scope_id",
                              "plan_digest",
                              "graph_receipt_id",
                              "graph_commit_position",
                              "local_refs",
                              "target_revision",
                              "effect_receipt_ref",
                              "timings_ms"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "create": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "graph_create",
                                  "graph_lifecycle"
                                ]
                              },
                              "mode": {
                                "type": "string",
                                "const": "managed_atomic"
                              },
                              "outcome": {
                                "type": "string",
                                "const": "applied"
                              },
                              "replayed": {
                                "type": "boolean"
                              },
                              "request_id": {
                                "type": "string"
                              },
                              "delta_id": {
                                "type": "string"
                              },
                              "project_id": {
                                "type": "string"
                              },
                              "surface_id": {
                                "type": "string"
                              },
                              "native_scope_id": {
                                "type": "string"
                              },
                              "plan_digest": {
                                "type": "string"
                              },
                              "graph_receipt_id": {
                                "type": "string"
                              },
                              "graph_commit_position": {
                                "type": "string"
                              },
                              "mutations": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "operation_index": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "mutation_kind": {
                                      "type": "string"
                                    },
                                    "implicit": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision",
                                    "operation_index",
                                    "mutation_kind",
                                    "implicit"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "local_refs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "target_revision": {
                                "type": "string"
                              },
                              "effect_receipt_ref": {
                                "type": "string"
                              },
                              "timings_ms": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "number"
                                }
                              }
                            },
                            "required": [
                              "kind",
                              "mode",
                              "outcome",
                              "replayed",
                              "request_id",
                              "delta_id",
                              "project_id",
                              "surface_id",
                              "native_scope_id",
                              "plan_digest",
                              "graph_receipt_id",
                              "graph_commit_position",
                              "local_refs",
                              "target_revision",
                              "effect_receipt_ref",
                              "timings_ms"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "link": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "graph_create",
                                  "graph_lifecycle"
                                ]
                              },
                              "mode": {
                                "type": "string",
                                "const": "managed_atomic"
                              },
                              "outcome": {
                                "type": "string",
                                "const": "applied"
                              },
                              "replayed": {
                                "type": "boolean"
                              },
                              "request_id": {
                                "type": "string"
                              },
                              "delta_id": {
                                "type": "string"
                              },
                              "project_id": {
                                "type": "string"
                              },
                              "surface_id": {
                                "type": "string"
                              },
                              "native_scope_id": {
                                "type": "string"
                              },
                              "plan_digest": {
                                "type": "string"
                              },
                              "graph_receipt_id": {
                                "type": "string"
                              },
                              "graph_commit_position": {
                                "type": "string"
                              },
                              "mutations": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "operation_index": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "mutation_kind": {
                                      "type": "string"
                                    },
                                    "implicit": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision",
                                    "operation_index",
                                    "mutation_kind",
                                    "implicit"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "local_refs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "target_revision": {
                                "type": "string"
                              },
                              "effect_receipt_ref": {
                                "type": "string"
                              },
                              "timings_ms": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "number"
                                }
                              }
                            },
                            "required": [
                              "kind",
                              "mode",
                              "outcome",
                              "replayed",
                              "request_id",
                              "delta_id",
                              "project_id",
                              "surface_id",
                              "native_scope_id",
                              "plan_digest",
                              "graph_receipt_id",
                              "graph_commit_position",
                              "local_refs",
                              "target_revision",
                              "effect_receipt_ref",
                              "timings_ms"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "lifecycle",
                      "create",
                      "link"
                    ],
                    "additionalProperties": {}
                  },
                  "error": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "state",
                  "source_revision",
                  "sequence",
                  "can_submit",
                  "can_resume",
                  "receipts",
                  "error"
                ],
                "additionalProperties": {}
              },
              "items": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "entity"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "ref": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "type_name": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "properties": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "binding": {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string"
                            },
                            "artifact_digest": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "ref",
                        "type_name",
                        "name",
                        "properties",
                        "binding",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "relationship"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "ref": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "edge_type": {
                          "type": "string"
                        },
                        "source": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "target": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "properties": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "ref",
                        "edge_type",
                        "source",
                        "target",
                        "properties",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "hydrated_node"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "node_id": {
                          "type": "string"
                        },
                        "witness_revision": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "intent": {
                          "type": "string",
                          "enum": [
                            "update",
                            "delete"
                          ]
                        },
                        "snapshot": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "node_id",
                        "witness_revision",
                        "intent",
                        "snapshot",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "hydrated_edge"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "edge_id": {
                          "type": "string"
                        },
                        "witness_revision": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "intent": {
                          "type": "string",
                          "enum": [
                            "update",
                            "delete"
                          ]
                        },
                        "snapshot": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "edge_id",
                        "witness_revision",
                        "intent",
                        "snapshot",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    }
                  ]
                }
              },
              "total_items": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "next_cursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "workspace",
              "submission",
              "items",
              "total_items",
              "next_cursor"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_capture_request": {
        "type": "object",
        "properties": {
          "capture_binding": {
            "description": "Named capture binding from the exact Shape artifact. Required links are checked when the workspace is submitted.",
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "expected_artifact": {
            "description": "Require this exact Shape artifact for every staged item. Set shape to its Shape id. A mismatched workspace binding or selected published head is refused before items are written.",
            "type": "object",
            "properties": {
              "shape_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "artifact_digest": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              }
            },
            "required": [
              "shape_id",
              "artifact_digest"
            ],
            "additionalProperties": false
          },
          "shape": {
            "description": "Default Shape (name or id) for items in this call that do not name their own. Needed only when a type or relationship name is declared by several published Shapes.",
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "entities": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ref": {
                  "description": "Short local ref for relationships in this workspace.",
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                },
                "type": {
                  "description": "Entity type name from a published Shape.",
                  "type": "string",
                  "minLength": 1
                },
                "name": {
                  "description": "Omit when the Shape declares a titular property; the server derives it.",
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 1024
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 8192
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "properties": {
                  "description": "Properties per the Shape's schema for this type.",
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                "shape": {
                  "description": "Shape (name or id) governing this entity, when its type name is in several Shapes.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "evidence": {
                  "description": "Exact File citations for this item. Prefer {citation} with the token read returns for a passage or quote: it carries the quoted text range, so the citation shows exactly what supports the item. The File-id form cites a whole version or an exact range when all four quote fields are present. Verified against Files at staging: the version must exist and carry this digest, and a quoted range must match its text. A citation records what was read; it grants no access and proves no entailment.",
                  "maxItems": 32,
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "citation": {
                            "description": "The citation token read returned for the passage or quote you are citing, passed unchanged. The server resolves it to the exact File, version, digest and quoted text range and verifies them against Files. Example: citation: 'cite1.AZ8j…'.",
                            "type": "string",
                            "minLength": 8,
                            "maxLength": 1024
                          },
                          "note": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 500
                          }
                        },
                        "required": [
                          "citation"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "file"
                          },
                          "file_id": {
                            "description": "Native File id.",
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "version_id": {
                            "description": "The immutable File version actually read.",
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "content_digest": {
                            "description": "That version's sha256 content digest, as Files reports it.",
                            "type": "string",
                            "pattern": "^sha256:[0-9a-f]{64}$"
                          },
                          "chunk_id": {
                            "description": "Native Files chunk id; must resolve to this exact File and version.",
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "quote": {
                            "description": "Exact parsed-text quote, at most 4096 UTF-8 bytes; provide all four quote fields together.",
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 4096
                          },
                          "start_byte": {
                            "description": "Inclusive UTF-8 byte offset in this version's parsed text.",
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "end_byte_exclusive": {
                            "description": "Exclusive UTF-8 byte offset in this version's parsed text.",
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "quote_digest": {
                            "description": "SHA-256 digest of the exact quote's UTF-8 bytes.",
                            "type": "string",
                            "pattern": "^sha256:[0-9a-f]{64}$"
                          },
                          "note": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 500
                          }
                        },
                        "required": [
                          "file_id",
                          "version_id",
                          "content_digest"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  }
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "relationships": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ref": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                },
                "type": {
                  "description": "Relationship type (edge type) from a published Shape.",
                  "type": "string",
                  "minLength": 1
                },
                "from": {
                  "description": "Source: a ref from this call, a staged ref, a staged handle, or a staged entity's name.",
                  "type": "string",
                  "minLength": 1
                },
                "to": {
                  "description": "Target, resolved the same way.",
                  "type": "string",
                  "minLength": 1
                },
                "properties": {
                  "description": "Properties per the Shape's schema for this type.",
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                "shape": {
                  "description": "Shape (name or id) declaring this relationship, when several Shapes declare the edge type for these endpoints.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "bridge": {
                  "description": "Stable project RelationshipId. Required only when several published project bridges fit the same edge type and endpoint types.",
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "evidence": {
                  "description": "Exact File citations for this item. Prefer {citation} with the token read returns for a passage or quote: it carries the quoted text range, so the citation shows exactly what supports the item. The File-id form cites a whole version or an exact range when all four quote fields are present. Verified against Files at staging: the version must exist and carry this digest, and a quoted range must match its text. A citation records what was read; it grants no access and proves no entailment.",
                  "maxItems": 32,
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "citation": {
                            "description": "The citation token read returned for the passage or quote you are citing, passed unchanged. The server resolves it to the exact File, version, digest and quoted text range and verifies them against Files. Example: citation: 'cite1.AZ8j…'.",
                            "type": "string",
                            "minLength": 8,
                            "maxLength": 1024
                          },
                          "note": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 500
                          }
                        },
                        "required": [
                          "citation"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "file"
                          },
                          "file_id": {
                            "description": "Native File id.",
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "version_id": {
                            "description": "The immutable File version actually read.",
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "content_digest": {
                            "description": "That version's sha256 content digest, as Files reports it.",
                            "type": "string",
                            "pattern": "^sha256:[0-9a-f]{64}$"
                          },
                          "chunk_id": {
                            "description": "Native Files chunk id; must resolve to this exact File and version.",
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "quote": {
                            "description": "Exact parsed-text quote, at most 4096 UTF-8 bytes; provide all four quote fields together.",
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 4096
                          },
                          "start_byte": {
                            "description": "Inclusive UTF-8 byte offset in this version's parsed text.",
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "end_byte_exclusive": {
                            "description": "Exclusive UTF-8 byte offset in this version's parsed text.",
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "quote_digest": {
                            "description": "SHA-256 digest of the exact quote's UTF-8 bytes.",
                            "type": "string",
                            "pattern": "^sha256:[0-9a-f]{64}$"
                          },
                          "note": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 500
                          }
                        },
                        "required": [
                          "file_id",
                          "version_id",
                          "content_digest"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  }
                }
              },
              "required": [
                "type",
                "from",
                "to"
              ]
            }
          },
          "idempotency_key": {
            "description": "Required caller-chosen command identity. Reuse the same key and body after a lost reply; choose a fresh key for new intent, even if the content is identical. Replay returns the original receipt and never recreates edited or removed items.",
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "required": [
          "idempotency_key"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_capture_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "workspace": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "creation_origin": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "open",
                      "submitted",
                      "applied",
                      "closed"
                    ]
                  },
                  "revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "item_count": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "shape": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string"
                          },
                          "artifact_digest": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bindings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "shape_id": {
                          "type": "string"
                        },
                        "artifact_digest": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "shape_id",
                        "artifact_digest"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "bridge_set": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "digest": {
                            "type": "string"
                          },
                          "declaration_count": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "digest",
                          "declaration_count"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "applied_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replaced_by": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "creation_origin",
                  "name",
                  "description",
                  "status",
                  "revision",
                  "item_count",
                  "shape",
                  "bindings",
                  "bridge_set",
                  "created_at",
                  "updated_at",
                  "applied_at"
                ],
                "additionalProperties": {}
              },
              "staged": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "entity"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "ref": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "type_name": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "properties": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "binding": {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string"
                            },
                            "artifact_digest": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "ref",
                        "type_name",
                        "name",
                        "properties",
                        "binding",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "relationship"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "ref": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "edge_type": {
                          "type": "string"
                        },
                        "source": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "target": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "properties": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "ref",
                        "edge_type",
                        "source",
                        "target",
                        "properties",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "hydrated_node"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "node_id": {
                          "type": "string"
                        },
                        "witness_revision": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "intent": {
                          "type": "string",
                          "enum": [
                            "update",
                            "delete"
                          ]
                        },
                        "snapshot": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "node_id",
                        "witness_revision",
                        "intent",
                        "snapshot",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "hydrated_edge"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "edge_id": {
                          "type": "string"
                        },
                        "witness_revision": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "intent": {
                          "type": "string",
                          "enum": [
                            "update",
                            "delete"
                          ]
                        },
                        "snapshot": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "edge_id",
                        "witness_revision",
                        "intent",
                        "snapshot",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    }
                  ]
                }
              },
              "notes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "replayed": {
                "type": "boolean"
              },
              "bindings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "shape_id": {
                      "type": "string"
                    },
                    "artifact_digest": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "shape_id",
                    "artifact_digest"
                  ],
                  "additionalProperties": {}
                }
              }
            },
            "required": [
              "workspace",
              "staged",
              "notes",
              "replayed",
              "bindings"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_hydrate_request": {
        "type": "object",
        "properties": {
          "idempotency_key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "nodes": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "description": "Node id, or a node name. A unique exact or partial name resolves only after a complete bounded canonical scan; ambiguity or an incomplete scan requires an exact id from the candidates or graph reads.",
              "type": "string",
              "minLength": 1,
              "maxLength": 1024
            }
          },
          "edges": {
            "description": "Edge ids to hydrate.",
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            }
          },
          "intent": {
            "default": "update",
            "type": "string",
            "enum": [
              "update",
              "delete"
            ]
          }
        },
        "additionalProperties": false
      },
      "http_graph_workspaces_hydrate_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "workspace": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "creation_origin": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "open",
                      "submitted",
                      "applied",
                      "closed"
                    ]
                  },
                  "revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "item_count": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "shape": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string"
                          },
                          "artifact_digest": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bindings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "shape_id": {
                          "type": "string"
                        },
                        "artifact_digest": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "shape_id",
                        "artifact_digest"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "bridge_set": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "digest": {
                            "type": "string"
                          },
                          "declaration_count": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "digest",
                          "declaration_count"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "applied_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replaced_by": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "creation_origin",
                  "name",
                  "description",
                  "status",
                  "revision",
                  "item_count",
                  "shape",
                  "bindings",
                  "bridge_set",
                  "created_at",
                  "updated_at",
                  "applied_at"
                ],
                "additionalProperties": {}
              },
              "staged": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "entity"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "ref": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "type_name": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "properties": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "binding": {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string"
                            },
                            "artifact_digest": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "ref",
                        "type_name",
                        "name",
                        "properties",
                        "binding",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "relationship"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "ref": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "edge_type": {
                          "type": "string"
                        },
                        "source": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "target": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "properties": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "ref",
                        "edge_type",
                        "source",
                        "target",
                        "properties",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "hydrated_node"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "node_id": {
                          "type": "string"
                        },
                        "witness_revision": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "intent": {
                          "type": "string",
                          "enum": [
                            "update",
                            "delete"
                          ]
                        },
                        "snapshot": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "node_id",
                        "witness_revision",
                        "intent",
                        "snapshot",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "hydrated_edge"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "edge_id": {
                          "type": "string"
                        },
                        "witness_revision": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "intent": {
                          "type": "string",
                          "enum": [
                            "update",
                            "delete"
                          ]
                        },
                        "snapshot": {
                          "type": "object",
                          "properties": {},
                          "additionalProperties": {}
                        },
                        "evidence": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {}
                          }
                        },
                        "created_at": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "handle",
                        "edge_id",
                        "witness_revision",
                        "intent",
                        "snapshot",
                        "evidence",
                        "created_at"
                      ],
                      "additionalProperties": {}
                    }
                  ]
                }
              },
              "notes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "workspace",
              "staged",
              "notes"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_modify_request": {
        "type": "object",
        "properties": {
          "idempotency_key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "expected_revision": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 4096
              },
              {
                "type": "null"
              }
            ]
          },
          "edit": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "handle": {
                  "description": "Exact staged or hydrated item handle returned by workspace_read, capture, or workspace_hydrate.",
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "changes": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 1024
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 8192
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "type": {
                      "type": "string",
                      "minLength": 1
                    },
                    "properties": {
                      "description": "For a newly staged entity or relationship: replace its entire property map. Include every property to retain.",
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "patch": {
                      "description": "For a hydrated node: {name?, description?, properties?}; for a hydrated edge: {properties}. If present, properties merge into the current ones: a property you leave out keeps its value.",
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    "intent": {
                      "type": "string",
                      "enum": [
                        "update",
                        "delete"
                      ]
                    },
                    "evidence": {
                      "description": "Replace staged citations. For a hydrated update, explicitly cite the new revision; earlier revision evidence is unchanged. Supply a patch with the update.",
                      "maxItems": 32,
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "citation": {
                                "description": "The citation token read returned for the passage or quote you are citing, passed unchanged. The server resolves it to the exact File, version, digest and quoted text range and verifies them against Files. Example: citation: 'cite1.AZ8j…'.",
                                "type": "string",
                                "minLength": 8,
                                "maxLength": 1024
                              },
                              "note": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 500
                              }
                            },
                            "required": [
                              "citation"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "const": "file"
                              },
                              "file_id": {
                                "description": "Native File id.",
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "version_id": {
                                "description": "The immutable File version actually read.",
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "content_digest": {
                                "description": "That version's sha256 content digest, as Files reports it.",
                                "type": "string",
                                "pattern": "^sha256:[0-9a-f]{64}$"
                              },
                              "chunk_id": {
                                "description": "Native Files chunk id; must resolve to this exact File and version.",
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "quote": {
                                "description": "Exact parsed-text quote, at most 4096 UTF-8 bytes; provide all four quote fields together.",
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 4096
                              },
                              "start_byte": {
                                "description": "Inclusive UTF-8 byte offset in this version's parsed text.",
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "end_byte_exclusive": {
                                "description": "Exclusive UTF-8 byte offset in this version's parsed text.",
                                "type": "integer",
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991
                              },
                              "quote_digest": {
                                "description": "SHA-256 digest of the exact quote's UTF-8 bytes.",
                                "type": "string",
                                "pattern": "^sha256:[0-9a-f]{64}$"
                              },
                              "note": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 500
                              }
                            },
                            "required": [
                              "file_id",
                              "version_id",
                              "content_digest"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      }
                    },
                    "keep_new": {
                      "description": "On an item that extraction linked to an existing record (workspace_read says it updates an existing record): make it a new record again, as extracted. Send it alone in the edit.",
                      "type": "boolean",
                      "const": true
                    },
                    "refresh": {
                      "description": "On a hydrated node or edge, or an item extraction linked to a record (workspace_read flags one that changed): read the record again and witness it at its current revision. A change you made is kept only on fields that did not change since; a field that changed loses your change and is named in a flag. Send it alone in the edit.",
                      "type": "boolean",
                      "const": true
                    }
                  },
                  "additionalProperties": false
                }
              },
              "required": [
                "handle",
                "changes"
              ]
            }
          },
          "remove": {
            "type": "object",
            "properties": {
              "entities": {
                "description": "Handles of staged entities or hydrated nodes to remove from the workspace.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "relationships": {
                "description": "Handles of staged relationships or hydrated edges to remove.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              }
            }
          }
        },
        "additionalProperties": false
      },
      "http_graph_workspaces_modify_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "workspace": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "creation_origin": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "open",
                      "submitted",
                      "applied",
                      "closed"
                    ]
                  },
                  "revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "item_count": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "shape": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string"
                          },
                          "artifact_digest": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bindings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "shape_id": {
                          "type": "string"
                        },
                        "artifact_digest": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "shape_id",
                        "artifact_digest"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "bridge_set": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "digest": {
                            "type": "string"
                          },
                          "declaration_count": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "digest",
                          "declaration_count"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "applied_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replaced_by": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "creation_origin",
                  "name",
                  "description",
                  "status",
                  "revision",
                  "item_count",
                  "shape",
                  "bindings",
                  "bridge_set",
                  "created_at",
                  "updated_at",
                  "applied_at"
                ],
                "additionalProperties": {}
              },
              "edited": {
                "type": "array",
                "items": {}
              },
              "removed": {
                "type": "array",
                "items": {}
              },
              "notes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "workspace",
              "edited",
              "removed",
              "notes"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_validate_request": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "http_graph_workspaces_validate_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "workspace": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "creation_origin": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "open",
                      "submitted",
                      "applied",
                      "closed"
                    ]
                  },
                  "revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "item_count": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "shape": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string"
                          },
                          "artifact_digest": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bindings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "shape_id": {
                          "type": "string"
                        },
                        "artifact_digest": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "shape_id",
                        "artifact_digest"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "bridge_set": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "digest": {
                            "type": "string"
                          },
                          "declaration_count": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "digest",
                          "declaration_count"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "applied_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replaced_by": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "creation_origin",
                  "name",
                  "description",
                  "status",
                  "revision",
                  "item_count",
                  "shape",
                  "bindings",
                  "bridge_set",
                  "created_at",
                  "updated_at",
                  "applied_at"
                ],
                "additionalProperties": {}
              },
              "valid": {
                "type": "boolean"
              },
              "diagnostics": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "severity": {
                      "type": "string",
                      "enum": [
                        "error",
                        "warning"
                      ]
                    },
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "handle": {
                      "type": "string"
                    },
                    "path": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "severity",
                    "code",
                    "message"
                  ],
                  "additionalProperties": {}
                }
              },
              "summary": {
                "type": "object",
                "properties": {
                  "flagged_items": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "review_flags": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "entities": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "relationships": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "hydrated_updates": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "hydrated_deletes": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "linked_existing": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "by_type": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "entities",
                  "relationships",
                  "hydrated_updates",
                  "hydrated_deletes",
                  "linked_existing",
                  "by_type"
                ],
                "additionalProperties": {}
              },
              "plans": {
                "type": "object",
                "properties": {
                  "create_plan_digest": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "lifecycle_plan_digest": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "create_plan_digest",
                  "lifecycle_plan_digest"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "workspace",
              "valid",
              "diagnostics",
              "summary",
              "plans"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_submit_request": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "description": "The exact open revision reviewed for a new submission, or the retained source_revision when resuming. Omit only for legacy agent behavior.",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "submission_sequence": {
            "description": "Retained sequence when resuming a reviewed submission. Requires expected_revision; omit for a new open-workspace submission.",
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "additionalProperties": false
      },
      "http_graph_workspaces_submit_response": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "workspace": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "creation_origin": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "open",
                          "submitted",
                          "applied",
                          "closed"
                        ]
                      },
                      "revision": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "item_count": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "shape": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "shape_id": {
                                "type": "string"
                              },
                              "artifact_digest": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "shape_id",
                              "artifact_digest"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "bindings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string"
                            },
                            "artifact_digest": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "bridge_set": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "digest": {
                                "type": "string"
                              },
                              "declaration_count": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "digest",
                              "declaration_count"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "created_at": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string"
                      },
                      "applied_at": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "replaced_by": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "creation_origin",
                      "name",
                      "description",
                      "status",
                      "revision",
                      "item_count",
                      "shape",
                      "bindings",
                      "bridge_set",
                      "created_at",
                      "updated_at",
                      "applied_at"
                    ],
                    "additionalProperties": {}
                  },
                  "outcome": {
                    "type": "string",
                    "enum": [
                      "applied",
                      "partial",
                      "rejected",
                      "unknown"
                    ]
                  },
                  "diagnostics": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "severity": {
                          "type": "string",
                          "enum": [
                            "error",
                            "warning"
                          ]
                        },
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "handle": {
                          "type": "string"
                        },
                        "path": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "severity",
                        "code",
                        "message"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "handles": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "handle": {
                          "type": "string"
                        },
                        "ref": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "resource_kind": {
                          "type": "string",
                          "enum": [
                            "node",
                            "edge"
                          ]
                        },
                        "id": {
                          "type": "string"
                        },
                        "revision": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "operation": {
                          "type": "string",
                          "enum": [
                            "created",
                            "updated",
                            "deleted"
                          ]
                        },
                        "type": {
                          "type": "string"
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "handle",
                        "ref",
                        "resource_kind",
                        "id",
                        "revision",
                        "operation",
                        "type",
                        "name"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "receipts": {
                    "type": "object",
                    "properties": {
                      "lifecycle": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "graph_create",
                                  "graph_lifecycle"
                                ]
                              },
                              "mode": {
                                "type": "string",
                                "const": "managed_atomic"
                              },
                              "outcome": {
                                "type": "string",
                                "const": "applied"
                              },
                              "replayed": {
                                "type": "boolean"
                              },
                              "request_id": {
                                "type": "string"
                              },
                              "delta_id": {
                                "type": "string"
                              },
                              "project_id": {
                                "type": "string"
                              },
                              "surface_id": {
                                "type": "string"
                              },
                              "native_scope_id": {
                                "type": "string"
                              },
                              "plan_digest": {
                                "type": "string"
                              },
                              "graph_receipt_id": {
                                "type": "string"
                              },
                              "graph_commit_position": {
                                "type": "string"
                              },
                              "mutations": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "operation_index": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "mutation_kind": {
                                      "type": "string"
                                    },
                                    "implicit": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision",
                                    "operation_index",
                                    "mutation_kind",
                                    "implicit"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "local_refs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "target_revision": {
                                "type": "string"
                              },
                              "effect_receipt_ref": {
                                "type": "string"
                              },
                              "timings_ms": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "number"
                                }
                              }
                            },
                            "required": [
                              "kind",
                              "mode",
                              "outcome",
                              "replayed",
                              "request_id",
                              "delta_id",
                              "project_id",
                              "surface_id",
                              "native_scope_id",
                              "plan_digest",
                              "graph_receipt_id",
                              "graph_commit_position",
                              "local_refs",
                              "target_revision",
                              "effect_receipt_ref",
                              "timings_ms"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "create": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "graph_create",
                                  "graph_lifecycle"
                                ]
                              },
                              "mode": {
                                "type": "string",
                                "const": "managed_atomic"
                              },
                              "outcome": {
                                "type": "string",
                                "const": "applied"
                              },
                              "replayed": {
                                "type": "boolean"
                              },
                              "request_id": {
                                "type": "string"
                              },
                              "delta_id": {
                                "type": "string"
                              },
                              "project_id": {
                                "type": "string"
                              },
                              "surface_id": {
                                "type": "string"
                              },
                              "native_scope_id": {
                                "type": "string"
                              },
                              "plan_digest": {
                                "type": "string"
                              },
                              "graph_receipt_id": {
                                "type": "string"
                              },
                              "graph_commit_position": {
                                "type": "string"
                              },
                              "mutations": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "operation_index": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "mutation_kind": {
                                      "type": "string"
                                    },
                                    "implicit": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision",
                                    "operation_index",
                                    "mutation_kind",
                                    "implicit"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "local_refs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "target_revision": {
                                "type": "string"
                              },
                              "effect_receipt_ref": {
                                "type": "string"
                              },
                              "timings_ms": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "number"
                                }
                              }
                            },
                            "required": [
                              "kind",
                              "mode",
                              "outcome",
                              "replayed",
                              "request_id",
                              "delta_id",
                              "project_id",
                              "surface_id",
                              "native_scope_id",
                              "plan_digest",
                              "graph_receipt_id",
                              "graph_commit_position",
                              "local_refs",
                              "target_revision",
                              "effect_receipt_ref",
                              "timings_ms"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "link": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "graph_create",
                                  "graph_lifecycle"
                                ]
                              },
                              "mode": {
                                "type": "string",
                                "const": "managed_atomic"
                              },
                              "outcome": {
                                "type": "string",
                                "const": "applied"
                              },
                              "replayed": {
                                "type": "boolean"
                              },
                              "request_id": {
                                "type": "string"
                              },
                              "delta_id": {
                                "type": "string"
                              },
                              "project_id": {
                                "type": "string"
                              },
                              "surface_id": {
                                "type": "string"
                              },
                              "native_scope_id": {
                                "type": "string"
                              },
                              "plan_digest": {
                                "type": "string"
                              },
                              "graph_receipt_id": {
                                "type": "string"
                              },
                              "graph_commit_position": {
                                "type": "string"
                              },
                              "mutations": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "operation_index": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "mutation_kind": {
                                      "type": "string"
                                    },
                                    "implicit": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision",
                                    "operation_index",
                                    "mutation_kind",
                                    "implicit"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "local_refs": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "object",
                                  "properties": {
                                    "resource_kind": {
                                      "type": "string",
                                      "enum": [
                                        "node",
                                        "edge"
                                      ]
                                    },
                                    "id": {
                                      "type": "string"
                                    },
                                    "revision": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "resource_kind",
                                    "id",
                                    "revision"
                                  ],
                                  "additionalProperties": {}
                                }
                              },
                              "target_revision": {
                                "type": "string"
                              },
                              "effect_receipt_ref": {
                                "type": "string"
                              },
                              "timings_ms": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "number"
                                }
                              }
                            },
                            "required": [
                              "kind",
                              "mode",
                              "outcome",
                              "replayed",
                              "request_id",
                              "delta_id",
                              "project_id",
                              "surface_id",
                              "native_scope_id",
                              "plan_digest",
                              "graph_receipt_id",
                              "graph_commit_position",
                              "local_refs",
                              "target_revision",
                              "effect_receipt_ref",
                              "timings_ms"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "lifecycle",
                      "create",
                      "link"
                    ],
                    "additionalProperties": {}
                  },
                  "error": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fence": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "schema": {
                            "type": "string",
                            "const": "penumbra.graph-fence"
                          },
                          "version": {
                            "type": "number",
                            "const": 1
                          },
                          "project_id": {
                            "type": "string"
                          },
                          "scope_id": {
                            "type": "string"
                          },
                          "position": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "schema",
                          "version",
                          "project_id",
                          "scope_id",
                          "position"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "workspace",
                  "outcome",
                  "diagnostics",
                  "handles",
                  "receipts",
                  "error",
                  "fence"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "data"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "const": "pending"
              },
              "reason": {
                "type": "string"
              },
              "operation": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "status_url": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "request_id",
                  "status_url"
                ],
                "additionalProperties": false
              },
              "approval": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "expires_at": {
                    "type": "string"
                  },
                  "effects": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "status",
                  "expires_at",
                  "effects",
                  "next"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "request_id",
              "outcome",
              "reason",
              "operation",
              "approval"
            ],
            "additionalProperties": false
          }
        ]
      },
      "http_graph_workspaces_close_request": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "http_graph_workspaces_close_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "workspace": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "creation_origin": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "open",
                      "submitted",
                      "applied",
                      "closed"
                    ]
                  },
                  "revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "item_count": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "shape": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string"
                          },
                          "artifact_digest": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bindings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "shape_id": {
                          "type": "string"
                        },
                        "artifact_digest": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "shape_id",
                        "artifact_digest"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "bridge_set": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "digest": {
                            "type": "string"
                          },
                          "declaration_count": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "digest",
                          "declaration_count"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "applied_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replaced_by": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "creation_origin",
                  "name",
                  "description",
                  "status",
                  "revision",
                  "item_count",
                  "shape",
                  "bindings",
                  "bridge_set",
                  "created_at",
                  "updated_at",
                  "applied_at"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "workspace"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_restore_request": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "http_graph_workspaces_restore_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "workspace": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "creation_origin": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "open",
                      "submitted",
                      "applied",
                      "closed"
                    ]
                  },
                  "revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "item_count": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "shape": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string"
                          },
                          "artifact_digest": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bindings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "shape_id": {
                          "type": "string"
                        },
                        "artifact_digest": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "shape_id",
                        "artifact_digest"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "bridge_set": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "digest": {
                            "type": "string"
                          },
                          "declaration_count": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "digest",
                          "declaration_count"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "applied_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replaced_by": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "creation_origin",
                  "name",
                  "description",
                  "status",
                  "revision",
                  "item_count",
                  "shape",
                  "bindings",
                  "bridge_set",
                  "created_at",
                  "updated_at",
                  "applied_at"
                ],
                "additionalProperties": {}
              },
              "flagged": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "to_compare": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "workspace",
              "flagged",
              "to_compare"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_extractions_response": {
        "type": "object",
        "properties": {
          "data": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "workspace": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "creation_origin": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "open",
                          "submitted",
                          "applied",
                          "closed"
                        ]
                      },
                      "revision": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "item_count": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "shape": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "shape_id": {
                                "type": "string"
                              },
                              "artifact_digest": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "shape_id",
                              "artifact_digest"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "bindings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string"
                            },
                            "artifact_digest": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "bridge_set": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "digest": {
                                "type": "string"
                              },
                              "declaration_count": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "digest",
                              "declaration_count"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "created_at": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string"
                      },
                      "applied_at": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "replaced_by": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "creation_origin",
                      "name",
                      "description",
                      "status",
                      "revision",
                      "item_count",
                      "shape",
                      "bindings",
                      "bridge_set",
                      "created_at",
                      "updated_at",
                      "applied_at"
                    ],
                    "additionalProperties": {}
                  },
                  "schema": {
                    "type": "string",
                    "const": "penumbra.graph-extraction-status"
                  },
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "run_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "workspace_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "expected_revision": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "staging": {
                    "type": "string",
                    "const": "all_accepted"
                  },
                  "source_count": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "queued",
                      "running",
                      "awaiting_staging",
                      "staged",
                      "conflict",
                      "failed",
                      "cancelled"
                    ]
                  },
                  "execution_state": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "adoption_state": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "adopted_revision": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "staged_item_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "accepted_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "needs_evidence_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "rejected_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "repair_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "over_limit_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "error_code": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "progress": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "cursor": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "step": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "draft",
                                  "review",
                                  "record",
                                  "synthesis",
                                  "reconcile",
                                  "support",
                                  "resuming",
                                  "stopping"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parts": {
                            "type": "object",
                            "properties": {
                              "done": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "total": {
                                "anyOf": [
                                  {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "done",
                              "total"
                            ],
                            "additionalProperties": false
                          },
                          "live": {
                            "type": "object",
                            "properties": {
                              "entities": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "relationships": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "entities",
                              "relationships"
                            ],
                            "additionalProperties": false
                          },
                          "by_type": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "entity",
                                    "relationship"
                                  ]
                                },
                                "type_id": {
                                  "type": "string"
                                },
                                "type_name": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                },
                                "live": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "kind",
                                "type_id",
                                "type_name",
                                "live"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "not_accepted": {
                            "type": "object",
                            "properties": {
                              "needs_evidence": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "rejected": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "needs_evidence",
                              "rejected"
                            ],
                            "additionalProperties": false
                          },
                          "stop_requested": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "cursor",
                          "step",
                          "parts",
                          "live",
                          "by_type",
                          "not_accepted",
                          "stop_requested"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "queue": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "position": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "active_limit": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "position",
                          "active_limit"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "stopped_early": {
                    "type": "boolean"
                  },
                  "review_not_run": {
                    "type": "boolean"
                  },
                  "incomplete": {
                    "default": null,
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "parts_delivered": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "parts_total": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "reconciled": {
                            "type": "boolean"
                          },
                          "failure_code": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "files_not_fully_read": {
                            "anyOf": [
                              {
                                "maxItems": 256,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "file_id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    },
                                    "partly_read": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "file_id",
                                    "partly_read"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "parts_delivered",
                          "parts_total",
                          "reconciled",
                          "failure_code",
                          "files_not_fully_read"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "completed_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "level": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "fast",
                          "standard",
                          "deep"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "outcome": {
                    "description": "How the run ended, present only once it has ended: succeeded, partial (it delivered only what finished), failed or no_effect (it was stopped before it delivered anything).",
                    "type": "string",
                    "enum": [
                      "succeeded",
                      "partial",
                      "failed",
                      "no_effect"
                    ]
                  },
                  "reason": {
                    "description": "For a failed run, its own failure code.",
                    "type": "string"
                  }
                },
                "required": [
                  "workspace",
                  "schema",
                  "version",
                  "run_id",
                  "workspace_id",
                  "expected_revision",
                  "staging",
                  "source_count",
                  "status",
                  "execution_state",
                  "adoption_state",
                  "adopted_revision",
                  "staged_item_count",
                  "accepted_count",
                  "needs_evidence_count",
                  "rejected_count",
                  "repair_count",
                  "over_limit_count",
                  "error_code",
                  "progress",
                  "stopped_early",
                  "review_not_run",
                  "incomplete",
                  "created_at",
                  "completed_at",
                  "level"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "workspace": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "creation_origin": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "open",
                          "submitted",
                          "applied",
                          "closed"
                        ]
                      },
                      "revision": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "item_count": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "shape": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "shape_id": {
                                "type": "string"
                              },
                              "artifact_digest": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "shape_id",
                              "artifact_digest"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "bindings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string"
                            },
                            "artifact_digest": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "bridge_set": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "digest": {
                                "type": "string"
                              },
                              "declaration_count": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "digest",
                              "declaration_count"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "created_at": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string"
                      },
                      "applied_at": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "replaced_by": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "creation_origin",
                      "name",
                      "description",
                      "status",
                      "revision",
                      "item_count",
                      "shape",
                      "bindings",
                      "bridge_set",
                      "created_at",
                      "updated_at",
                      "applied_at"
                    ],
                    "additionalProperties": {}
                  },
                  "schema": {
                    "type": "string",
                    "const": "penumbra.graph-extraction-status-list"
                  },
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "workspace_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "runs": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "schema": {
                          "type": "string",
                          "const": "penumbra.graph-extraction-status"
                        },
                        "version": {
                          "type": "number",
                          "const": 1
                        },
                        "run_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "workspace_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "expected_revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "staging": {
                          "type": "string",
                          "const": "all_accepted"
                        },
                        "source_count": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "queued",
                            "running",
                            "awaiting_staging",
                            "staged",
                            "conflict",
                            "failed",
                            "cancelled"
                          ]
                        },
                        "execution_state": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "adoption_state": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "adopted_revision": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "staged_item_count": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "accepted_count": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "needs_evidence_count": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "rejected_count": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "repair_count": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "over_limit_count": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "error_code": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "progress": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "cursor": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "step": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "draft",
                                        "review",
                                        "record",
                                        "synthesis",
                                        "reconcile",
                                        "support",
                                        "resuming",
                                        "stopping"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "parts": {
                                  "type": "object",
                                  "properties": {
                                    "done": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "total": {
                                      "anyOf": [
                                        {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "done",
                                    "total"
                                  ],
                                  "additionalProperties": false
                                },
                                "live": {
                                  "type": "object",
                                  "properties": {
                                    "entities": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "relationships": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "entities",
                                    "relationships"
                                  ],
                                  "additionalProperties": false
                                },
                                "by_type": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string",
                                        "enum": [
                                          "entity",
                                          "relationship"
                                        ]
                                      },
                                      "type_id": {
                                        "type": "string"
                                      },
                                      "type_name": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 256
                                      },
                                      "live": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "type_id",
                                      "type_name",
                                      "live"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "not_accepted": {
                                  "type": "object",
                                  "properties": {
                                    "needs_evidence": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "rejected": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "needs_evidence",
                                    "rejected"
                                  ],
                                  "additionalProperties": false
                                },
                                "stop_requested": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "cursor",
                                "step",
                                "parts",
                                "live",
                                "by_type",
                                "not_accepted",
                                "stop_requested"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "queue": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "position": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "active_limit": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "position",
                                "active_limit"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "stopped_early": {
                          "type": "boolean"
                        },
                        "review_not_run": {
                          "type": "boolean"
                        },
                        "incomplete": {
                          "default": null,
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "parts_delivered": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "parts_total": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "reconciled": {
                                  "type": "boolean"
                                },
                                "failure_code": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "files_not_fully_read": {
                                  "anyOf": [
                                    {
                                      "maxItems": 256,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "file_id": {
                                            "type": "string",
                                            "format": "uuid",
                                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                          },
                                          "partly_read": {
                                            "type": "boolean"
                                          }
                                        },
                                        "required": [
                                          "file_id",
                                          "partly_read"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "parts_delivered",
                                "parts_total",
                                "reconciled",
                                "failure_code",
                                "files_not_fully_read"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "completed_at": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "level": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "fast",
                                "standard",
                                "deep"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "outcome": {
                          "description": "How the run ended, present only once it has ended: succeeded, partial (it delivered only what finished), failed or no_effect (it was stopped before it delivered anything).",
                          "type": "string",
                          "enum": [
                            "succeeded",
                            "partial",
                            "failed",
                            "no_effect"
                          ]
                        },
                        "reason": {
                          "description": "For a failed run, its own failure code.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "schema",
                        "version",
                        "run_id",
                        "workspace_id",
                        "expected_revision",
                        "staging",
                        "source_count",
                        "status",
                        "execution_state",
                        "adoption_state",
                        "adopted_revision",
                        "staged_item_count",
                        "accepted_count",
                        "needs_evidence_count",
                        "rejected_count",
                        "repair_count",
                        "over_limit_count",
                        "error_code",
                        "progress",
                        "stopped_early",
                        "review_not_run",
                        "incomplete",
                        "created_at",
                        "completed_at",
                        "level"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "workspace",
                  "schema",
                  "version",
                  "workspace_id",
                  "runs"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "workspace": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "creation_origin": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "open",
                          "submitted",
                          "applied",
                          "closed"
                        ]
                      },
                      "revision": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "item_count": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "shape": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "shape_id": {
                                "type": "string"
                              },
                              "artifact_digest": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "shape_id",
                              "artifact_digest"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "bindings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string"
                            },
                            "artifact_digest": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "bridge_set": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "digest": {
                                "type": "string"
                              },
                              "declaration_count": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "digest",
                              "declaration_count"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "created_at": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string"
                      },
                      "applied_at": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "replaced_by": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "creation_origin",
                      "name",
                      "description",
                      "status",
                      "revision",
                      "item_count",
                      "shape",
                      "bindings",
                      "bridge_set",
                      "created_at",
                      "updated_at",
                      "applied_at"
                    ],
                    "additionalProperties": {}
                  },
                  "schema": {
                    "type": "string",
                    "const": "penumbra.graph-extraction-findings"
                  },
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "run_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "events": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "seq": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "event": {
                              "type": "string",
                              "const": "found"
                            },
                            "finding_key": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 128
                            },
                            "part": {
                              "type": "string",
                              "minLength": 1
                            },
                            "kind": {
                              "type": "string",
                              "enum": [
                                "entity",
                                "relationship"
                              ]
                            },
                            "type_id": {
                              "type": "string",
                              "minLength": 1
                            },
                            "type_name": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "disposition": {
                              "type": "string",
                              "enum": [
                                "accepted",
                                "needs_evidence",
                                "rejected"
                              ]
                            },
                            "value": {
                              "type": "object",
                              "properties": {
                                "name": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "properties": {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {}
                                },
                                "citations": {
                                  "type": "array",
                                  "items": {}
                                },
                                "issues": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "code"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "from_key": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 128
                                },
                                "to_key": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 128
                                },
                                "route": {
                                  "type": "string",
                                  "enum": [
                                    "record",
                                    "synthesis"
                                  ]
                                },
                                "origin": {
                                  "type": "object",
                                  "properties": {
                                    "part": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 128
                                    },
                                    "model": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 256
                                    },
                                    "exchange": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "part",
                                    "model",
                                    "exchange"
                                  ],
                                  "additionalProperties": false
                                },
                                "flags": {
                                  "maxItems": 8,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "possible_duplicate",
                                          "quote_contradicts",
                                          "quote_limits",
                                          "property_unsupported"
                                        ]
                                      },
                                      "reason": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 500
                                      },
                                      "relation": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      }
                                    },
                                    "required": [
                                      "code",
                                      "reason"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "name",
                                "properties",
                                "citations"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "seq",
                            "event",
                            "finding_key",
                            "part",
                            "kind",
                            "type_id",
                            "type_name",
                            "disposition",
                            "value"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "seq": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "event": {
                              "type": "string",
                              "const": "withdrawn"
                            },
                            "finding_key": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 128
                            },
                            "part": {
                              "type": "string",
                              "minLength": 1
                            },
                            "kind": {
                              "type": "null"
                            },
                            "type_id": {
                              "type": "null"
                            },
                            "type_name": {
                              "type": "null"
                            },
                            "disposition": {
                              "type": "null"
                            },
                            "value": {
                              "type": "object",
                              "properties": {
                                "reason": {
                                  "type": "string",
                                  "enum": [
                                    "part_restarted",
                                    "merged",
                                    "dropped",
                                    "not_in_result"
                                  ]
                                }
                              },
                              "required": [
                                "reason"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "seq",
                            "event",
                            "finding_key",
                            "part",
                            "kind",
                            "type_id",
                            "type_name",
                            "disposition",
                            "value"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "seq": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "event": {
                              "type": "string",
                              "const": "step"
                            },
                            "finding_key": {
                              "type": "null"
                            },
                            "part": {
                              "type": "null"
                            },
                            "kind": {
                              "type": "null"
                            },
                            "type_id": {
                              "type": "null"
                            },
                            "type_name": {
                              "type": "null"
                            },
                            "disposition": {
                              "type": "null"
                            },
                            "value": {
                              "type": "object",
                              "properties": {
                                "step": {
                                  "type": "string",
                                  "enum": [
                                    "draft",
                                    "review",
                                    "record",
                                    "synthesis",
                                    "reconcile",
                                    "support",
                                    "resuming",
                                    "stopping"
                                  ]
                                },
                                "parts_total": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "step"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "seq",
                            "event",
                            "finding_key",
                            "part",
                            "kind",
                            "type_id",
                            "type_name",
                            "disposition",
                            "value"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    }
                  },
                  "cursor": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "more": {
                    "type": "boolean"
                  },
                  "state": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "workspace",
                  "schema",
                  "version",
                  "run_id",
                  "events",
                  "cursor",
                  "more",
                  "state"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "workspace": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "creation_origin": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "open",
                          "submitted",
                          "applied",
                          "closed"
                        ]
                      },
                      "revision": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "item_count": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "shape": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "shape_id": {
                                "type": "string"
                              },
                              "artifact_digest": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "shape_id",
                              "artifact_digest"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "bindings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string"
                            },
                            "artifact_digest": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": {}
                        }
                      },
                      "bridge_set": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "digest": {
                                "type": "string"
                              },
                              "declaration_count": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "digest",
                              "declaration_count"
                            ],
                            "additionalProperties": {}
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "created_at": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string"
                      },
                      "applied_at": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "replaced_by": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "creation_origin",
                      "name",
                      "description",
                      "status",
                      "revision",
                      "item_count",
                      "shape",
                      "bindings",
                      "bridge_set",
                      "created_at",
                      "updated_at",
                      "applied_at"
                    ],
                    "additionalProperties": {}
                  },
                  "schema": {
                    "type": "string",
                    "const": "penumbra.graph-extraction-review"
                  },
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "run_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "workspace_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "output_digest": {
                    "type": "string",
                    "pattern": "^sha256:[a-f0-9]{64}$"
                  },
                  "completed_at": {
                    "type": "string"
                  },
                  "result": {
                    "type": "object",
                    "properties": {
                      "schema": {
                        "type": "string",
                        "const": "penumbra.extraction.result"
                      },
                      "version": {
                        "type": "number",
                        "const": 1
                      },
                      "lens_digest": {
                        "type": "string",
                        "pattern": "^sha256:[a-f0-9]{64}$"
                      },
                      "sources": {
                        "minItems": 1,
                        "maxItems": 256,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "source_ref": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                            },
                            "file_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "version_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "content_digest": {
                              "type": "string",
                              "pattern": "^sha256:[a-f0-9]{64}$"
                            }
                          },
                          "required": [
                            "source_ref",
                            "file_id",
                            "version_id",
                            "content_digest"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "candidates": {
                        "maxItems": 1000,
                        "type": "array",
                        "items": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "entity"
                                },
                                "candidate_ref": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                },
                                "type_id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "name": {
                                  "default": "",
                                  "type": "string",
                                  "maxLength": 1024
                                },
                                "properties": {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {
                                    "$ref": "#/components/schemas/http_graph_workspaces_extractions_response____schema0"
                                  }
                                },
                                "route": {
                                  "type": "string",
                                  "enum": [
                                    "record",
                                    "synthesis"
                                  ]
                                },
                                "origin": {
                                  "type": "object",
                                  "properties": {
                                    "part": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 128
                                    },
                                    "model": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 256
                                    },
                                    "exchange": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "part",
                                    "model",
                                    "exchange"
                                  ],
                                  "additionalProperties": false
                                },
                                "flags": {
                                  "maxItems": 8,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "possible_duplicate",
                                          "quote_contradicts",
                                          "quote_limits",
                                          "property_unsupported"
                                        ]
                                      },
                                      "reason": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 500
                                      },
                                      "relation": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      }
                                    },
                                    "required": [
                                      "code",
                                      "reason"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "presentation": {
                                  "type": "object",
                                  "properties": {
                                    "name": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "maxLength": 1024
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "description": {
                                      "anyOf": [
                                        {
                                          "type": "string",
                                          "maxLength": 8192
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "description"
                                  ],
                                  "additionalProperties": false
                                },
                                "citations": {
                                  "minItems": 1,
                                  "maxItems": 32,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "source_ref": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                      },
                                      "original_source_ref": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      },
                                      "file_id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      "version_id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      "content_digest": {
                                        "type": "string",
                                        "pattern": "^sha256:[a-f0-9]{64}$"
                                      },
                                      "quote": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 4096
                                      },
                                      "start_byte": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "end_byte_exclusive": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "quote_digest": {
                                        "type": "string",
                                        "pattern": "^sha256:[a-f0-9]{64}$"
                                      },
                                      "verification": {
                                        "type": "string",
                                        "enum": [
                                          "exact",
                                          "whitespace_normalized",
                                          "typography_normalized",
                                          "exact_quote_rebind",
                                          "normalized_quote_rebind",
                                          "ellipsis_fragment"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "source_ref",
                                      "file_id",
                                      "version_id",
                                      "content_digest",
                                      "quote",
                                      "start_byte",
                                      "end_byte_exclusive",
                                      "quote_digest",
                                      "verification"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "kind",
                                "candidate_ref",
                                "type_id",
                                "name",
                                "properties",
                                "citations"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "relationship"
                                },
                                "candidate_ref": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                },
                                "relationship_id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "from_candidate_ref": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                },
                                "to_candidate_ref": {
                                  "type": "string",
                                  "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                },
                                "properties": {
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {
                                    "$ref": "#/components/schemas/http_graph_workspaces_extractions_response____schema0"
                                  }
                                },
                                "route": {
                                  "type": "string",
                                  "enum": [
                                    "record",
                                    "synthesis"
                                  ]
                                },
                                "origin": {
                                  "type": "object",
                                  "properties": {
                                    "part": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 128
                                    },
                                    "model": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 256
                                    },
                                    "exchange": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "part",
                                    "model",
                                    "exchange"
                                  ],
                                  "additionalProperties": false
                                },
                                "flags": {
                                  "maxItems": 8,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "possible_duplicate",
                                          "quote_contradicts",
                                          "quote_limits",
                                          "property_unsupported"
                                        ]
                                      },
                                      "reason": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 500
                                      },
                                      "relation": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      }
                                    },
                                    "required": [
                                      "code",
                                      "reason"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "citations": {
                                  "minItems": 1,
                                  "maxItems": 32,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "source_ref": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                      },
                                      "original_source_ref": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      },
                                      "file_id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      "version_id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      "content_digest": {
                                        "type": "string",
                                        "pattern": "^sha256:[a-f0-9]{64}$"
                                      },
                                      "quote": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 4096
                                      },
                                      "start_byte": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "end_byte_exclusive": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "quote_digest": {
                                        "type": "string",
                                        "pattern": "^sha256:[a-f0-9]{64}$"
                                      },
                                      "verification": {
                                        "type": "string",
                                        "enum": [
                                          "exact",
                                          "whitespace_normalized",
                                          "typography_normalized",
                                          "exact_quote_rebind",
                                          "normalized_quote_rebind",
                                          "ellipsis_fragment"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "source_ref",
                                      "file_id",
                                      "version_id",
                                      "content_digest",
                                      "quote",
                                      "start_byte",
                                      "end_byte_exclusive",
                                      "quote_digest",
                                      "verification"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "kind",
                                "candidate_ref",
                                "relationship_id",
                                "from_candidate_ref",
                                "to_candidate_ref",
                                "properties",
                                "citations"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        }
                      },
                      "needs_evidence": {
                        "maxItems": 2000,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "candidate": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "const": "entity"
                                    },
                                    "candidate_ref": {
                                      "type": "string",
                                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                    },
                                    "type_id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    },
                                    "name": {
                                      "default": "",
                                      "type": "string",
                                      "maxLength": 1024
                                    },
                                    "properties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {
                                        "$ref": "#/components/schemas/http_graph_workspaces_extractions_response____schema0"
                                      }
                                    },
                                    "citations": {
                                      "maxItems": 32,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "source_ref": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 64
                                          },
                                          "quote": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 4096
                                          }
                                        },
                                        "required": [
                                          "source_ref",
                                          "quote"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "route": {
                                      "type": "string",
                                      "enum": [
                                        "record",
                                        "synthesis"
                                      ]
                                    },
                                    "origin": {
                                      "type": "object",
                                      "properties": {
                                        "part": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 128
                                        },
                                        "model": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        "exchange": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      },
                                      "required": [
                                        "part",
                                        "model",
                                        "exchange"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "flags": {
                                      "maxItems": 8,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "code": {
                                            "type": "string",
                                            "enum": [
                                              "possible_duplicate",
                                              "quote_contradicts",
                                              "quote_limits",
                                              "property_unsupported"
                                            ]
                                          },
                                          "reason": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 500
                                          },
                                          "relation": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 64
                                          }
                                        },
                                        "required": [
                                          "code",
                                          "reason"
                                        ],
                                        "additionalProperties": false
                                      }
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "candidate_ref",
                                    "type_id",
                                    "name",
                                    "properties",
                                    "citations"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "const": "relationship"
                                    },
                                    "candidate_ref": {
                                      "type": "string",
                                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                    },
                                    "relationship_id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    },
                                    "from_candidate_ref": {
                                      "type": "string",
                                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                    },
                                    "to_candidate_ref": {
                                      "type": "string",
                                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                    },
                                    "properties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {
                                        "$ref": "#/components/schemas/http_graph_workspaces_extractions_response____schema0"
                                      }
                                    },
                                    "citations": {
                                      "maxItems": 32,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "source_ref": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 64
                                          },
                                          "quote": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 4096
                                          }
                                        },
                                        "required": [
                                          "source_ref",
                                          "quote"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "route": {
                                      "type": "string",
                                      "enum": [
                                        "record",
                                        "synthesis"
                                      ]
                                    },
                                    "origin": {
                                      "type": "object",
                                      "properties": {
                                        "part": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 128
                                        },
                                        "model": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        "exchange": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      },
                                      "required": [
                                        "part",
                                        "model",
                                        "exchange"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "flags": {
                                      "maxItems": 8,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "code": {
                                            "type": "string",
                                            "enum": [
                                              "possible_duplicate",
                                              "quote_contradicts",
                                              "quote_limits",
                                              "property_unsupported"
                                            ]
                                          },
                                          "reason": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 500
                                          },
                                          "relation": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 64
                                          }
                                        },
                                        "required": [
                                          "code",
                                          "reason"
                                        ],
                                        "additionalProperties": false
                                      }
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "candidate_ref",
                                    "relationship_id",
                                    "from_candidate_ref",
                                    "to_candidate_ref",
                                    "properties",
                                    "citations"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "issues": {
                              "minItems": 1,
                              "maxItems": 32,
                              "type": "array",
                              "items": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "citation_missing",
                                          "citation_source_unknown",
                                          "citation_quote_unmatched",
                                          "citation_quote_ambiguous"
                                        ]
                                      },
                                      "citation_index": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "source_ref": {
                                        "type": "string",
                                        "maxLength": 64
                                      }
                                    },
                                    "required": [
                                      "code"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                      }
                                    },
                                    "required": [
                                      "code"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            }
                          },
                          "required": [
                            "candidate",
                            "issues"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "rejected": {
                        "maxItems": 2000,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "candidate": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "const": "entity"
                                    },
                                    "candidate_ref": {
                                      "type": "string",
                                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                    },
                                    "type_id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    },
                                    "name": {
                                      "default": "",
                                      "type": "string",
                                      "maxLength": 1024
                                    },
                                    "properties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {
                                        "$ref": "#/components/schemas/http_graph_workspaces_extractions_response____schema0"
                                      }
                                    },
                                    "citations": {
                                      "maxItems": 32,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "source_ref": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 64
                                          },
                                          "quote": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 4096
                                          }
                                        },
                                        "required": [
                                          "source_ref",
                                          "quote"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "route": {
                                      "type": "string",
                                      "enum": [
                                        "record",
                                        "synthesis"
                                      ]
                                    },
                                    "origin": {
                                      "type": "object",
                                      "properties": {
                                        "part": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 128
                                        },
                                        "model": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        "exchange": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      },
                                      "required": [
                                        "part",
                                        "model",
                                        "exchange"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "flags": {
                                      "maxItems": 8,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "code": {
                                            "type": "string",
                                            "enum": [
                                              "possible_duplicate",
                                              "quote_contradicts",
                                              "quote_limits",
                                              "property_unsupported"
                                            ]
                                          },
                                          "reason": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 500
                                          },
                                          "relation": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 64
                                          }
                                        },
                                        "required": [
                                          "code",
                                          "reason"
                                        ],
                                        "additionalProperties": false
                                      }
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "candidate_ref",
                                    "type_id",
                                    "name",
                                    "properties",
                                    "citations"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "const": "relationship"
                                    },
                                    "candidate_ref": {
                                      "type": "string",
                                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                    },
                                    "relationship_id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    },
                                    "from_candidate_ref": {
                                      "type": "string",
                                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                    },
                                    "to_candidate_ref": {
                                      "type": "string",
                                      "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                    },
                                    "properties": {
                                      "type": "object",
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "additionalProperties": {
                                        "$ref": "#/components/schemas/http_graph_workspaces_extractions_response____schema0"
                                      }
                                    },
                                    "citations": {
                                      "maxItems": 32,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "source_ref": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 64
                                          },
                                          "quote": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 4096
                                          }
                                        },
                                        "required": [
                                          "source_ref",
                                          "quote"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "route": {
                                      "type": "string",
                                      "enum": [
                                        "record",
                                        "synthesis"
                                      ]
                                    },
                                    "origin": {
                                      "type": "object",
                                      "properties": {
                                        "part": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 128
                                        },
                                        "model": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256
                                        },
                                        "exchange": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        }
                                      },
                                      "required": [
                                        "part",
                                        "model",
                                        "exchange"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "flags": {
                                      "maxItems": 8,
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "code": {
                                            "type": "string",
                                            "enum": [
                                              "possible_duplicate",
                                              "quote_contradicts",
                                              "quote_limits",
                                              "property_unsupported"
                                            ]
                                          },
                                          "reason": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 500
                                          },
                                          "relation": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 64
                                          }
                                        },
                                        "required": [
                                          "code",
                                          "reason"
                                        ],
                                        "additionalProperties": false
                                      }
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "candidate_ref",
                                    "relationship_id",
                                    "from_candidate_ref",
                                    "to_candidate_ref",
                                    "properties",
                                    "citations"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "issues": {
                              "minItems": 1,
                              "maxItems": 32,
                              "type": "array",
                              "items": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "citation_missing",
                                          "citation_source_unknown",
                                          "citation_quote_unmatched",
                                          "citation_quote_ambiguous"
                                        ]
                                      },
                                      "citation_index": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "source_ref": {
                                        "type": "string",
                                        "maxLength": 64
                                      }
                                    },
                                    "required": [
                                      "code"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                                      }
                                    },
                                    "required": [
                                      "code"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            }
                          },
                          "required": [
                            "candidate",
                            "issues"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "repair_history": {
                        "maxItems": 64000,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "citation_index": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "method": {
                              "type": "string",
                              "enum": [
                                "whitespace_normalized",
                                "typography_normalized",
                                "exact_quote_rebind",
                                "normalized_quote_rebind",
                                "ellipsis_fragment"
                              ]
                            },
                            "source_ref_before": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            },
                            "source_ref_after": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                            },
                            "quote_before": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 4096
                            },
                            "quote_after": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 4096
                            },
                            "before_digest": {
                              "type": "string",
                              "pattern": "^sha256:[a-f0-9]{64}$"
                            },
                            "after_digest": {
                              "type": "string",
                              "pattern": "^sha256:[a-f0-9]{64}$"
                            },
                            "candidate_ref": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
                            }
                          },
                          "required": [
                            "citation_index",
                            "method",
                            "source_ref_before",
                            "source_ref_after",
                            "quote_before",
                            "quote_after",
                            "before_digest",
                            "after_digest",
                            "candidate_ref"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "omitted_count": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "schema",
                      "version",
                      "lens_digest",
                      "sources",
                      "candidates",
                      "needs_evidence",
                      "rejected",
                      "repair_history"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "workspace",
                  "schema",
                  "version",
                  "run_id",
                  "workspace_id",
                  "output_digest",
                  "completed_at",
                  "result"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_extractions_response____schema0": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/http_graph_workspaces_extractions_response____schema0"
            }
          },
          {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/http_graph_workspaces_extractions_response____schema0"
            }
          }
        ]
      },
      "http_graph_workspaces_stop_extraction_request": {
        "type": "object",
        "properties": {
          "run_id": {
            "description": "The extraction run to stop.",
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "request_id": {
            "description": "Caller-chosen attribution for this stop request; the first request stamps it.",
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          }
        },
        "required": [
          "run_id",
          "request_id"
        ],
        "additionalProperties": false
      },
      "http_graph_workspaces_stop_extraction_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "workspace": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "creation_origin": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "open",
                      "submitted",
                      "applied",
                      "closed"
                    ]
                  },
                  "revision": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "item_count": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "shape": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "shape_id": {
                            "type": "string"
                          },
                          "artifact_digest": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "shape_id",
                          "artifact_digest"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "bindings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "shape_id": {
                          "type": "string"
                        },
                        "artifact_digest": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "shape_id",
                        "artifact_digest"
                      ],
                      "additionalProperties": {}
                    }
                  },
                  "bridge_set": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "digest": {
                            "type": "string"
                          },
                          "declaration_count": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "digest",
                          "declaration_count"
                        ],
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "applied_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "replaced_by": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "creation_origin",
                  "name",
                  "description",
                  "status",
                  "revision",
                  "item_count",
                  "shape",
                  "bindings",
                  "bridge_set",
                  "created_at",
                  "updated_at",
                  "applied_at"
                ],
                "additionalProperties": {}
              },
              "schema": {
                "type": "string",
                "const": "penumbra.graph-extraction-stop"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "run_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "status": {
                "type": "string",
                "enum": [
                  "cancelled",
                  "stopping",
                  "settled"
                ]
              }
            },
            "required": [
              "workspace",
              "schema",
              "version",
              "run_id",
              "status"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_nodes_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "data": {
                "maxItems": 200,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "type": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 1024
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 8192
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "properties": {
                      "description": "Bounded JSON properties owned by the Graph resource.",
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "$ref": "#/components/schemas/http_graph_nodes_list_response____schema0"
                      }
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "updated_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "deleted_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "type",
                    "name",
                    "description",
                    "properties",
                    "revision",
                    "created_at",
                    "updated_at",
                    "deleted_at"
                  ],
                  "additionalProperties": false
                }
              },
              "page": {
                "type": "object",
                "properties": {
                  "has_more": {
                    "type": "boolean"
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 1024,
                        "pattern": "^[A-Za-z0-9_-]+$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "has_more",
                  "next_cursor"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "data",
              "page"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_nodes_list_response____schema0": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/http_graph_nodes_list_response____schema0"
            }
          },
          {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/http_graph_nodes_list_response____schema0"
            }
          }
        ]
      },
      "http_graph_nodes_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "type": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 1024
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 8192
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "properties": {
                "description": "Bounded JSON properties owned by the Graph resource.",
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "$ref": "#/components/schemas/http_graph_nodes_get_response____schema0"
                }
              },
              "revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "created_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "updated_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "deleted_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "type",
              "name",
              "description",
              "properties",
              "revision",
              "created_at",
              "updated_at",
              "deleted_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_nodes_get_response____schema0": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/http_graph_nodes_get_response____schema0"
            }
          },
          {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/http_graph_nodes_get_response____schema0"
            }
          }
        ]
      },
      "http_graph_nodes_history_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "data": {
                "maxItems": 10,
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "commit_position": {
                          "type": "string",
                          "pattern": "^[1-9][0-9]{0,18}$"
                        },
                        "receipt_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "committed_at": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        "effect_index": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "operation_index": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 999
                        },
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "mutation_kind": {
                          "type": "string",
                          "enum": [
                            "created",
                            "updated",
                            "deleted",
                            "restored"
                          ]
                        },
                        "implicit": {
                          "type": "boolean"
                        },
                        "resource_kind": {
                          "type": "string",
                          "const": "node"
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "before_state": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "type": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                },
                                "name": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 1024
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "description": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 8192
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "properties": {
                                  "description": "Bounded JSON properties owned by the Graph resource.",
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {
                                    "$ref": "#/components/schemas/http_graph_nodes_history_response____schema0"
                                  }
                                },
                                "revision": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "created_at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                "updated_at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                "deleted_at": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date-time",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "type",
                                "name",
                                "description",
                                "properties",
                                "revision",
                                "created_at",
                                "updated_at",
                                "deleted_at"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "after_state": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "type": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "name": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 1024
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "description": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 8192
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "properties": {
                              "description": "Bounded JSON properties owned by the Graph resource.",
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "$ref": "#/components/schemas/http_graph_nodes_history_response____schema0"
                              }
                            },
                            "revision": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "created_at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            "updated_at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            "deleted_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "type",
                            "name",
                            "description",
                            "properties",
                            "revision",
                            "created_at",
                            "updated_at",
                            "deleted_at"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "commit_position",
                        "receipt_id",
                        "committed_at",
                        "effect_index",
                        "operation_index",
                        "revision",
                        "mutation_kind",
                        "implicit",
                        "resource_kind",
                        "id",
                        "before_state",
                        "after_state"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "commit_position": {
                          "type": "string",
                          "pattern": "^[1-9][0-9]{0,18}$"
                        },
                        "receipt_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "committed_at": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        "effect_index": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "operation_index": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 999
                        },
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "mutation_kind": {
                          "type": "string",
                          "enum": [
                            "created",
                            "updated",
                            "deleted",
                            "restored"
                          ]
                        },
                        "implicit": {
                          "type": "boolean"
                        },
                        "resource_kind": {
                          "type": "string",
                          "const": "edge"
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "before_state": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "source_node_id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "target_node_id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "type": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                },
                                "properties": {
                                  "description": "Bounded JSON properties owned by the Graph resource.",
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {
                                    "$ref": "#/components/schemas/http_graph_nodes_history_response____schema0"
                                  }
                                },
                                "revision": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "created_at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                "updated_at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                "deleted_at": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date-time",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "source_node_id",
                                "target_node_id",
                                "type",
                                "properties",
                                "revision",
                                "created_at",
                                "updated_at",
                                "deleted_at"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "after_state": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_node_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "target_node_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "type": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "properties": {
                              "description": "Bounded JSON properties owned by the Graph resource.",
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "$ref": "#/components/schemas/http_graph_nodes_history_response____schema0"
                              }
                            },
                            "revision": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "created_at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            "updated_at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            "deleted_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "source_node_id",
                            "target_node_id",
                            "type",
                            "properties",
                            "revision",
                            "created_at",
                            "updated_at",
                            "deleted_at"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "commit_position",
                        "receipt_id",
                        "committed_at",
                        "effect_index",
                        "operation_index",
                        "revision",
                        "mutation_kind",
                        "implicit",
                        "resource_kind",
                        "id",
                        "before_state",
                        "after_state"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "page": {
                "type": "object",
                "properties": {
                  "has_more": {
                    "type": "boolean"
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 1024,
                        "pattern": "^[A-Za-z0-9_-]+$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "has_more",
                  "next_cursor"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "data",
              "page"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_nodes_history_response____schema0": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/http_graph_nodes_history_response____schema0"
            }
          },
          {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/http_graph_nodes_history_response____schema0"
            }
          }
        ]
      },
      "http_graph_edges_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "data": {
                "maxItems": 200,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "source_node_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "target_node_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "type": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "properties": {
                      "description": "Bounded JSON properties owned by the Graph resource.",
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "$ref": "#/components/schemas/http_graph_edges_list_response____schema0"
                      }
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "updated_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "deleted_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "source_node_id",
                    "target_node_id",
                    "type",
                    "properties",
                    "revision",
                    "created_at",
                    "updated_at",
                    "deleted_at"
                  ],
                  "additionalProperties": false
                }
              },
              "page": {
                "type": "object",
                "properties": {
                  "has_more": {
                    "type": "boolean"
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 1024,
                        "pattern": "^[A-Za-z0-9_-]+$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "has_more",
                  "next_cursor"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "data",
              "page"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_edges_list_response____schema0": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/http_graph_edges_list_response____schema0"
            }
          },
          {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/http_graph_edges_list_response____schema0"
            }
          }
        ]
      },
      "http_graph_edges_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "source_node_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "target_node_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "type": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "properties": {
                "description": "Bounded JSON properties owned by the Graph resource.",
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "$ref": "#/components/schemas/http_graph_edges_get_response____schema0"
                }
              },
              "revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "created_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "updated_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "deleted_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "source_node_id",
              "target_node_id",
              "type",
              "properties",
              "revision",
              "created_at",
              "updated_at",
              "deleted_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_edges_get_response____schema0": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/http_graph_edges_get_response____schema0"
            }
          },
          {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/http_graph_edges_get_response____schema0"
            }
          }
        ]
      },
      "http_graph_edges_history_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "data": {
                "maxItems": 10,
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "commit_position": {
                          "type": "string",
                          "pattern": "^[1-9][0-9]{0,18}$"
                        },
                        "receipt_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "committed_at": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        "effect_index": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "operation_index": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 999
                        },
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "mutation_kind": {
                          "type": "string",
                          "enum": [
                            "created",
                            "updated",
                            "deleted",
                            "restored"
                          ]
                        },
                        "implicit": {
                          "type": "boolean"
                        },
                        "resource_kind": {
                          "type": "string",
                          "const": "node"
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "before_state": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "type": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                },
                                "name": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 1024
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "description": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 8192
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "properties": {
                                  "description": "Bounded JSON properties owned by the Graph resource.",
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {
                                    "$ref": "#/components/schemas/http_graph_edges_history_response____schema0"
                                  }
                                },
                                "revision": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "created_at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                "updated_at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                "deleted_at": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date-time",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "type",
                                "name",
                                "description",
                                "properties",
                                "revision",
                                "created_at",
                                "updated_at",
                                "deleted_at"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "after_state": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "type": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "name": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 1024
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "description": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "maxLength": 8192
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "properties": {
                              "description": "Bounded JSON properties owned by the Graph resource.",
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "$ref": "#/components/schemas/http_graph_edges_history_response____schema0"
                              }
                            },
                            "revision": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "created_at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            "updated_at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            "deleted_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "type",
                            "name",
                            "description",
                            "properties",
                            "revision",
                            "created_at",
                            "updated_at",
                            "deleted_at"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "commit_position",
                        "receipt_id",
                        "committed_at",
                        "effect_index",
                        "operation_index",
                        "revision",
                        "mutation_kind",
                        "implicit",
                        "resource_kind",
                        "id",
                        "before_state",
                        "after_state"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "commit_position": {
                          "type": "string",
                          "pattern": "^[1-9][0-9]{0,18}$"
                        },
                        "receipt_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "committed_at": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        "effect_index": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "operation_index": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 999
                        },
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "mutation_kind": {
                          "type": "string",
                          "enum": [
                            "created",
                            "updated",
                            "deleted",
                            "restored"
                          ]
                        },
                        "implicit": {
                          "type": "boolean"
                        },
                        "resource_kind": {
                          "type": "string",
                          "const": "edge"
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "before_state": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "source_node_id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "target_node_id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "type": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                },
                                "properties": {
                                  "description": "Bounded JSON properties owned by the Graph resource.",
                                  "type": "object",
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "additionalProperties": {
                                    "$ref": "#/components/schemas/http_graph_edges_history_response____schema0"
                                  }
                                },
                                "revision": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "created_at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                "updated_at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                "deleted_at": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "format": "date-time",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "id",
                                "source_node_id",
                                "target_node_id",
                                "type",
                                "properties",
                                "revision",
                                "created_at",
                                "updated_at",
                                "deleted_at"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "after_state": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "source_node_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "target_node_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "type": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "properties": {
                              "description": "Bounded JSON properties owned by the Graph resource.",
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "$ref": "#/components/schemas/http_graph_edges_history_response____schema0"
                              }
                            },
                            "revision": {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            "created_at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            "updated_at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                            },
                            "deleted_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "source_node_id",
                            "target_node_id",
                            "type",
                            "properties",
                            "revision",
                            "created_at",
                            "updated_at",
                            "deleted_at"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "commit_position",
                        "receipt_id",
                        "committed_at",
                        "effect_index",
                        "operation_index",
                        "revision",
                        "mutation_kind",
                        "implicit",
                        "resource_kind",
                        "id",
                        "before_state",
                        "after_state"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "page": {
                "type": "object",
                "properties": {
                  "has_more": {
                    "type": "boolean"
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 1024,
                        "pattern": "^[A-Za-z0-9_-]+$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "has_more",
                  "next_cursor"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "data",
              "page"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_edges_history_response____schema0": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/http_graph_edges_history_response____schema0"
            }
          },
          {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/http_graph_edges_history_response____schema0"
            }
          }
        ]
      },
      "http_graph_counts_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "nodes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "count": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "type",
                    "count"
                  ],
                  "additionalProperties": false
                }
              },
              "edges": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "count": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "type",
                    "count"
                  ],
                  "additionalProperties": false
                }
              },
              "totals": {
                "type": "object",
                "properties": {
                  "nodes": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "edges": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "nodes",
                  "edges"
                ],
                "additionalProperties": false
              },
              "as_of": {
                "type": "string"
              }
            },
            "required": [
              "nodes",
              "edges",
              "totals",
              "as_of"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_traverse_request": {
        "type": "object",
        "properties": {
          "starting_node_ids": {
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            }
          },
          "direction": {
            "default": "outgoing",
            "type": "string",
            "enum": [
              "outgoing",
              "incoming",
              "both"
            ]
          },
          "max_depth": {
            "default": 1,
            "type": "integer",
            "minimum": 1,
            "maximum": 6
          },
          "max_nodes": {
            "default": 200,
            "type": "integer",
            "minimum": 1,
            "maximum": 1000
          },
          "max_edges": {
            "default": 500,
            "type": "integer",
            "minimum": 1,
            "maximum": 1000
          },
          "node_property_filters": {
            "default": [],
            "maxItems": 8,
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "eq"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "in"
                    },
                    "values": {
                      "minItems": 1,
                      "maxItems": 50,
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "values"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "exists"
                    },
                    "value": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "contains"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "enum": [
                        "gt",
                        "gte",
                        "lt",
                        "lte"
                      ]
                    },
                    "value": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "edge_property_filters": {
            "default": [],
            "maxItems": 8,
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "eq"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "in"
                    },
                    "values": {
                      "minItems": 1,
                      "maxItems": 50,
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "values"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "exists"
                    },
                    "value": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "const": "contains"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "op": {
                      "type": "string",
                      "enum": [
                        "gt",
                        "gte",
                        "lt",
                        "lte"
                      ]
                    },
                    "value": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "key",
                    "op",
                    "value"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "node_types": {
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          },
          "edge_types": {
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          }
        },
        "required": [
          "starting_node_ids"
        ],
        "additionalProperties": false
      },
      "http_graph_traverse_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "starting_node_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              },
              "nodes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "type": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 1024
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 8192
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "properties": {
                      "description": "Bounded JSON properties owned by the Graph resource.",
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "$ref": "#/components/schemas/http_graph_traverse_response____schema0"
                      }
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "updated_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "deleted_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "type",
                    "name",
                    "description",
                    "properties",
                    "revision",
                    "created_at",
                    "updated_at",
                    "deleted_at"
                  ],
                  "additionalProperties": false
                }
              },
              "edges": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "source_node_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "target_node_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "type": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "properties": {
                      "description": "Bounded JSON properties owned by the Graph resource.",
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "$ref": "#/components/schemas/http_graph_traverse_response____schema0"
                      }
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "created_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "updated_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "deleted_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "source_node_id",
                    "target_node_id",
                    "type",
                    "properties",
                    "revision",
                    "created_at",
                    "updated_at",
                    "deleted_at"
                  ],
                  "additionalProperties": false
                }
              },
              "max_depth_reached": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "truncated": {
                "type": "boolean"
              },
              "truncation_reason": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "node_budget",
                      "edge_budget"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "starting_node_ids",
              "nodes",
              "edges",
              "max_depth_reached",
              "truncated",
              "truncation_reason"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_traverse_response____schema0": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/http_graph_traverse_response____schema0"
            }
          },
          {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/http_graph_traverse_response____schema0"
            }
          }
        ]
      },
      "http_graph_commits_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "data": {
                "maxItems": 200,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "commit_position": {
                      "type": "string",
                      "pattern": "^[1-9][0-9]{0,18}$"
                    },
                    "receipt_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "committed_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                    },
                    "resource_effect_count": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 2000
                    },
                    "alias_effect_count": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 1000
                    }
                  },
                  "required": [
                    "commit_position",
                    "receipt_id",
                    "committed_at",
                    "resource_effect_count",
                    "alias_effect_count"
                  ],
                  "additionalProperties": false
                }
              },
              "page": {
                "type": "object",
                "properties": {
                  "has_more": {
                    "type": "boolean"
                  },
                  "next_cursor": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 1024,
                        "pattern": "^[A-Za-z0-9_-]+$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "has_more",
                  "next_cursor"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "data",
              "page"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_graph_commits_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "commit_position": {
                "type": "string",
                "pattern": "^[1-9][0-9]{0,18}$"
              },
              "receipt_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "committed_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "resource_effect_count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2000
              },
              "alias_effect_count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000
              },
              "receipt": {
                "type": "object",
                "properties": {
                  "receipt_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "commit_position": {
                    "type": "string",
                    "pattern": "^[1-9][0-9]{0,18}$"
                  },
                  "committed_at": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                  },
                  "local_refs": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 128,
                      "pattern": "^[A-Za-z0-9._:-]+$"
                    },
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "resource_kind": {
                          "type": "string",
                          "enum": [
                            "node",
                            "edge"
                          ]
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "resource_kind",
                        "id",
                        "revision"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "mutations": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "resource_kind": {
                          "type": "string",
                          "enum": [
                            "node",
                            "edge"
                          ]
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "operation_index": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "mutation_kind": {
                          "type": "string",
                          "enum": [
                            "created",
                            "updated",
                            "deleted",
                            "restored"
                          ]
                        },
                        "implicit": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "resource_kind",
                        "id",
                        "revision",
                        "operation_index",
                        "mutation_kind",
                        "implicit"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "aliases": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "resource_kind": {
                          "type": "string",
                          "enum": [
                            "node",
                            "edge"
                          ]
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "operation_index": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "mutation_kind": {
                          "type": "string",
                          "enum": [
                            "added",
                            "removed"
                          ]
                        },
                        "namespace": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 128,
                          "pattern": "^[A-Za-z][A-Za-z0-9._:-]*$"
                        },
                        "external_key": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 1024
                        }
                      },
                      "required": [
                        "resource_kind",
                        "id",
                        "revision",
                        "operation_index",
                        "mutation_kind",
                        "namespace",
                        "external_key"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "receipt_id",
                  "commit_position",
                  "committed_at",
                  "local_refs",
                  "mutations",
                  "aliases"
                ],
                "additionalProperties": false
              },
              "alias_effects": {
                "maxItems": 1000,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "effect_index": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "operation_index": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 999
                    },
                    "resource_kind": {
                      "type": "string",
                      "enum": [
                        "node",
                        "edge"
                      ]
                    },
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "mutation_kind": {
                      "type": "string",
                      "enum": [
                        "added",
                        "removed"
                      ]
                    },
                    "namespace": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 128,
                      "pattern": "^[A-Za-z][A-Za-z0-9._:-]*$"
                    },
                    "external_key": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 1024
                    }
                  },
                  "required": [
                    "effect_index",
                    "operation_index",
                    "resource_kind",
                    "id",
                    "revision",
                    "mutation_kind",
                    "namespace",
                    "external_key"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "commit_position",
              "receipt_id",
              "committed_at",
              "resource_effect_count",
              "alias_effect_count",
              "receipt",
              "alias_effects"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_shapes_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "shape_id": {
                  "type": "string"
                },
                "revision_id": {
                  "type": "string"
                },
                "artifact_digest": {
                  "type": "string"
                },
                "generation": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "display_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type_count": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "updated_at": {
                  "type": "string"
                }
              },
              "required": [
                "shape_id",
                "revision_id",
                "artifact_digest",
                "generation",
                "name",
                "display_name",
                "description",
                "type_count",
                "updated_at"
              ],
              "additionalProperties": {}
            }
          },
          "page": {
            "type": "object",
            "properties": {
              "next_cursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "next_cursor"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data",
          "page"
        ],
        "additionalProperties": false
      },
      "http_shapes_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "shape_id": {
                "type": "string"
              },
              "revision_id": {
                "type": "string"
              },
              "artifact_digest": {
                "type": "string"
              },
              "generation": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "shape_id",
              "revision_id",
              "artifact_digest",
              "generation"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_shapes_definition_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.shape-definition"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "source": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "draft"
                      },
                      "draft_id": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                      },
                      "revision": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "kind",
                      "draft_id",
                      "revision"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "shape_id": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                      },
                      "revision_id": {
                        "type": "string",
                        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
                      },
                      "artifact_digest": {
                        "type": "string",
                        "pattern": "^sha256:[0-9a-f]{64}$"
                      },
                      "generation": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "kind": {
                        "type": "string",
                        "const": "published"
                      }
                    },
                    "required": [
                      "shape_id",
                      "revision_id",
                      "artifact_digest",
                      "generation",
                      "kind"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "definition": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "display_name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 16384
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "adherence": {
                    "type": "string",
                    "enum": [
                      "strict",
                      "loose"
                    ]
                  },
                  "types": {
                    "maxItems": 128,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "type_ref": {
                          "type": "string",
                          "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "display_name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "tagline": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 16384
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "properties": {
                          "maxItems": 2048,
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "property_ref": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                              },
                              "name": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 256
                              },
                              "schema": {
                                "$ref": "#/components/schemas/http_shapes_definition_response____schema0"
                              },
                              "required": {
                                "default": false,
                                "type": "boolean"
                              },
                              "semantics": {
                                "type": "object",
                                "properties": {
                                  "semantic_anchors": {
                                    "maxItems": 128,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "maxLength": 512
                                    }
                                  },
                                  "examples": {
                                    "maxItems": 128,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "maxLength": 4096
                                    }
                                  },
                                  "counterexamples": {
                                    "maxItems": 128,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "maxLength": 4096
                                    }
                                  },
                                  "extraction_guidance": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "maxLength": 16384
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "temporal_role": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "event",
                                          "deadline",
                                          "record"
                                        ]
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "property_ref",
                              "name",
                              "schema",
                              "required"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "schema_keywords": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "$ref": "#/components/schemas/http_shapes_definition_response____schema0"
                          }
                        },
                        "schema_has_properties": {
                          "type": "boolean"
                        },
                        "titular_property_ref": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "descriptive_property_refs": {
                          "default": [],
                          "maxItems": 128,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                          }
                        },
                        "key_property_refs": {
                          "maxItems": 128,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                          }
                        },
                        "archetype": {
                          "anyOf": [
                            {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "enum": [
                                    "EventLike",
                                    "TaskLike",
                                    "DealLike",
                                    "PersonLike",
                                    "OrganizationLike",
                                    "DocumentLike",
                                    "MetricLike"
                                  ]
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "Custom": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 256
                                    }
                                  },
                                  "required": [
                                    "Custom"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "semantics": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "examples": {
                                  "maxItems": 128,
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 4096
                                  }
                                },
                                "counterexamples": {
                                  "maxItems": 128,
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 4096
                                  }
                                },
                                "extraction_guidance": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "maxLength": 16384
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "semantic_anchors": {
                                  "maxItems": 128,
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "maxLength": 512
                                  }
                                },
                                "aliases": {
                                  "maxItems": 64,
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 256
                                  }
                                },
                                "boundary": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "inclusions": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "minLength": 1,
                                              "maxLength": 4096
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "exclusions": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "minLength": 1,
                                              "maxLength": 4096
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "absence_rule": {
                                          "anyOf": [
                                            {
                                              "type": "string",
                                              "minLength": 1,
                                              "maxLength": 4096
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        }
                                      },
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "key_properties": {
                                  "not": {}
                                }
                              },
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "operative_metadata": {
                          "$ref": "#/components/schemas/http_shapes_definition_response____schema0"
                        }
                      },
                      "required": [
                        "type_ref",
                        "name",
                        "properties",
                        "descriptive_property_refs"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "relationships": {
                    "maxItems": 2048,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "relationship_ref": {
                          "type": "string",
                          "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "from_type_ref": {
                          "type": "string",
                          "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                        },
                        "to_type_ref": {
                          "type": "string",
                          "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                        },
                        "cardinality": {
                          "type": "string",
                          "enum": [
                            "one_to_one",
                            "one_to_many",
                            "many_to_one",
                            "many_to_many"
                          ]
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string",
                              "maxLength": 16384
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "semantic_anchors": {
                          "default": [],
                          "maxItems": 128,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 512
                          }
                        }
                      },
                      "required": [
                        "relationship_ref",
                        "name",
                        "from_type_ref",
                        "to_type_ref",
                        "cardinality",
                        "semantic_anchors"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "hero_type_ref": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "telos": {
                    "type": "object",
                    "properties": {
                      "purpose": {
                        "description": "Why this Shape exists, in one or two sentences, or null.",
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 4096
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "objectives": {
                        "description": "What the Shape helps people achieve; an empty list is allowed.",
                        "maxItems": 64,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 4096
                        }
                      },
                      "success_metrics": {
                        "description": "How people can tell the Shape is doing its job; an empty list is allowed.",
                        "maxItems": 64,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 4096
                        }
                      }
                    },
                    "required": [
                      "objectives",
                      "success_metrics"
                    ],
                    "additionalProperties": false
                  },
                  "mindset": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4096
                  },
                  "relationship_evidence_rule": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4096
                  },
                  "operative_metadata": {
                    "$ref": "#/components/schemas/http_shapes_definition_response____schema0"
                  },
                  "domain_rules": {
                    "type": "object",
                    "properties": {
                      "version": {
                        "description": "Rule format version; always 1.",
                        "type": "number",
                        "const": 1
                      },
                      "relationships": {
                        "description": "Up to 128 limits on how many links an instance has.",
                        "maxItems": 128,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "description": "Stable name of this rule, unique within the Shape.",
                              "type": "string",
                              "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                            },
                            "relationship_ref": {
                              "description": "Local ref of the relationship the rule counts.",
                              "type": "string",
                              "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                            },
                            "direction": {
                              "description": "outgoing counts links that start at the type; incoming counts links that end at it.",
                              "type": "string",
                              "enum": [
                                "outgoing",
                                "incoming"
                              ]
                            },
                            "min": {
                              "description": "Fewest links each instance must have.",
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 4294967295
                            },
                            "max": {
                              "description": "Most links each instance may have, or null for no limit.",
                              "anyOf": [
                                {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 4294967295
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "relationship_ref",
                            "direction",
                            "min",
                            "max"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "capture_bindings": {
                        "description": "Up to 64 named sets of links a newly captured instance must have.",
                        "type": "object",
                        "propertyNames": {
                          "type": "string",
                          "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                        },
                        "additionalProperties": {
                          "maxItems": 128,
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "type_ref": {
                                "description": "Local ref of the type at the counted end of the relationship.",
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                              },
                              "relationship_ref": {
                                "description": "Local ref of the relationship that must link a new instance.",
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9._-]{0,127}$"
                              },
                              "direction": {
                                "description": "outgoing counts links that start at the type; incoming counts links that end at it.",
                                "type": "string",
                                "enum": [
                                  "outgoing",
                                  "incoming"
                                ]
                              }
                            },
                            "required": [
                              "type_ref",
                              "relationship_ref",
                              "direction"
                            ],
                            "additionalProperties": false
                          }
                        }
                      }
                    },
                    "required": [
                      "version",
                      "relationships"
                    ],
                    "additionalProperties": false
                  },
                  "retired_refs": {
                    "maxItems": 8192,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 520
                    }
                  }
                },
                "required": [
                  "name",
                  "adherence",
                  "types",
                  "relationships"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "schema",
              "version",
              "definition"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_shapes_definition_response____schema0": {
        "anyOf": [
          {
            "type": "null"
          },
          {
            "type": "boolean"
          },
          {
            "type": "number"
          },
          {
            "type": "string"
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/http_shapes_definition_response____schema0"
            }
          },
          {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/components/schemas/http_shapes_definition_response____schema0"
            }
          }
        ]
      },
      "http_shapes_search_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type_id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "display_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tagline": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "definition": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "key_properties": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "aliases": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "examples": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "boundary": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "inclusions": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "exclusions": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "absence_rule": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "inclusions",
                        "exclusions",
                        "absence_rule"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "score": {
                  "type": "number"
                },
                "shapes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "shape_id": {
                        "type": "string"
                      },
                      "artifact_digest": {
                        "type": "string"
                      },
                      "revision_id": {
                        "type": "string"
                      },
                      "generation": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "publisher": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "publisher_name": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "category": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "origin": {
                        "type": "string",
                        "enum": [
                          "project",
                          "library"
                        ]
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "usable",
                          "available",
                          "update_available"
                        ]
                      }
                    },
                    "required": [
                      "shape_id",
                      "artifact_digest",
                      "revision_id",
                      "generation",
                      "name",
                      "description",
                      "publisher",
                      "publisher_name",
                      "category",
                      "origin",
                      "status"
                    ],
                    "additionalProperties": {}
                  }
                }
              },
              "required": [
                "type_id",
                "name",
                "display_name",
                "tagline",
                "definition",
                "key_properties",
                "aliases",
                "examples",
                "boundary",
                "score",
                "shapes"
              ],
              "additionalProperties": {}
            }
          },
          "page": {
            "type": "object",
            "properties": {
              "next_cursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "next_cursor"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data",
          "page"
        ],
        "additionalProperties": false
      },
      "http_shapes_history_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.shape-history"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "shape_id": {
                "type": "string"
              },
              "versions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "generation": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "revision_id": {
                      "type": "string"
                    },
                    "artifact_digest": {
                      "type": "string"
                    },
                    "published_at": {
                      "type": "string"
                    },
                    "name": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "counts": {
                      "type": "object",
                      "properties": {
                        "types": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "properties": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "relationships": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "types",
                        "properties",
                        "relationships"
                      ],
                      "additionalProperties": false
                    },
                    "publisher": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "subject_id": {
                              "type": "string"
                            },
                            "via": {
                              "type": "string",
                              "enum": [
                                "person",
                                "credential"
                              ]
                            }
                          },
                          "required": [
                            "subject_id",
                            "via"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "draft_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "note": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "generation",
                    "revision_id",
                    "artifact_digest",
                    "published_at",
                    "name",
                    "counts",
                    "publisher",
                    "draft_id",
                    "note"
                  ],
                  "additionalProperties": {}
                }
              }
            },
            "required": [
              "schema",
              "version",
              "shape_id",
              "versions"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_shapes_library_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "publisher": {
                  "type": "string"
                },
                "publisher_name": {
                  "type": "string"
                },
                "category": {
                  "type": "string"
                },
                "kit": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "shape_id": {
                  "type": "string"
                },
                "revision_id": {
                  "type": "string"
                },
                "artifact_digest": {
                  "type": "string"
                },
                "generation": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "display_name": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "tagline": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "types": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": {}
                  }
                },
                "adopted": {
                  "type": "boolean"
                },
                "adopted_artifact_digest": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "score": {
                  "type": "number"
                }
              },
              "required": [
                "publisher",
                "publisher_name",
                "category",
                "kit",
                "shape_id",
                "revision_id",
                "artifact_digest",
                "generation",
                "name",
                "description",
                "display_name",
                "tagline",
                "types",
                "adopted",
                "adopted_artifact_digest",
                "score"
              ],
              "additionalProperties": {}
            }
          },
          "page": {
            "type": "object",
            "properties": {
              "next_cursor": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "next_cursor"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data",
          "page"
        ],
        "additionalProperties": false
      },
      "http_shapes_library_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "publisher": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "display_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "slug",
                  "display_name"
                ],
                "additionalProperties": {}
              },
              "head": {
                "type": "object",
                "properties": {
                  "shape_id": {
                    "type": "string"
                  },
                  "revision_id": {
                    "type": "string"
                  },
                  "artifact_digest": {
                    "type": "string"
                  },
                  "generation": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "shape_id",
                  "revision_id",
                  "artifact_digest",
                  "generation"
                ],
                "additionalProperties": {}
              },
              "artifact": {
                "type": "object",
                "properties": {
                  "shape_id": {
                    "type": "string"
                  },
                  "artifact_digest": {
                    "type": "string"
                  },
                  "shape_def": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "shape_id",
                  "artifact_digest",
                  "shape_def"
                ],
                "additionalProperties": {}
              }
            },
            "required": [
              "publisher",
              "head",
              "artifact"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_shapes_library_review_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "project_id": {
                "type": "string"
              },
              "publisher": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "display_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "slug",
                  "display_name"
                ],
                "additionalProperties": {}
              },
              "head": {
                "type": "object",
                "properties": {
                  "shape_id": {
                    "type": "string"
                  },
                  "revision_id": {
                    "type": "string"
                  },
                  "artifact_digest": {
                    "type": "string"
                  },
                  "generation": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "shape_id",
                  "revision_id",
                  "artifact_digest",
                  "generation"
                ],
                "additionalProperties": {}
              },
              "status": {
                "type": "string",
                "enum": [
                  "ready",
                  "already_added",
                  "update_required",
                  "incompatible"
                ]
              },
              "can_add": {
                "type": "boolean"
              },
              "current_revision": {},
              "candidate_revision": {},
              "before": {
                "type": "object",
                "properties": {
                  "shapes": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "types": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "relationships": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "shapes",
                  "types",
                  "relationships"
                ],
                "additionalProperties": false
              },
              "after": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "shapes": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "types": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "relationships": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "shapes",
                      "types",
                      "relationships"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "added_types": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "shape_id": {
                      "type": "string"
                    },
                    "type_id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "shape_id",
                    "type_id",
                    "name",
                    "description"
                  ],
                  "additionalProperties": {}
                }
              },
              "added_relationships": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "shape_id": {
                      "type": "string"
                    },
                    "relationship_id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "shape_id",
                    "relationship_id",
                    "name"
                  ],
                  "additionalProperties": {}
                }
              },
              "diagnostics": {
                "type": "array",
                "items": {}
              },
              "existing_data": {
                "type": "string",
                "const": "unchanged"
              }
            },
            "required": [
              "project_id",
              "publisher",
              "head",
              "status",
              "can_add",
              "current_revision",
              "candidate_revision",
              "before",
              "after",
              "added_types",
              "added_relationships",
              "diagnostics",
              "existing_data"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_shapes_links_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "project_id": {
                  "type": "string"
                },
                "shape_id": {
                  "type": "string"
                },
                "publisher_id": {
                  "type": "string"
                },
                "revision_id": {
                  "type": "string"
                },
                "artifact_digest": {
                  "type": "string"
                },
                "generation": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "active",
                    "removed"
                  ]
                },
                "link_revision": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "linked_at": {
                  "type": "string"
                },
                "removed_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "publisher": {
                  "type": "string"
                },
                "publisher_name": {
                  "type": "string"
                },
                "pending_artifact_digest": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "pending_diff": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "diff": {},
                        "compatibility": {
                          "type": "string",
                          "enum": [
                            "compatible",
                            "incompatible"
                          ]
                        },
                        "diagnostics": {
                          "type": "array",
                          "items": {}
                        }
                      },
                      "required": [
                        "diff",
                        "compatibility",
                        "diagnostics"
                      ],
                      "additionalProperties": {}
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "project_id",
                "shape_id",
                "publisher_id",
                "revision_id",
                "artifact_digest",
                "generation",
                "status",
                "link_revision",
                "linked_at",
                "removed_at",
                "publisher",
                "publisher_name",
                "pending_artifact_digest",
                "pending_diff"
              ],
              "additionalProperties": {}
            }
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_shapes_links_create_request": {
        "type": "object",
        "properties": {
          "publisher": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9-]{1,62}$"
          },
          "shape_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "artifact_digest": {
            "type": "string",
            "pattern": "^sha256:[0-9a-f]{64}$"
          }
        },
        "required": [
          "publisher",
          "shape_id",
          "artifact_digest"
        ],
        "additionalProperties": false
      },
      "http_shapes_links_create_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "project_id": {
                "type": "string"
              },
              "shape_id": {
                "type": "string"
              },
              "publisher_id": {
                "type": "string"
              },
              "revision_id": {
                "type": "string"
              },
              "artifact_digest": {
                "type": "string"
              },
              "generation": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "removed"
                ]
              },
              "link_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "linked_at": {
                "type": "string"
              },
              "removed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "project_id",
              "shape_id",
              "publisher_id",
              "revision_id",
              "artifact_digest",
              "generation",
              "status",
              "link_revision",
              "linked_at",
              "removed_at"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_shapes_links_update_request": {
        "type": "object",
        "properties": {
          "artifact_digest": {
            "type": "string",
            "pattern": "^sha256:[0-9a-f]{64}$"
          },
          "expected_artifact_digest": {
            "type": "string",
            "pattern": "^sha256:[0-9a-f]{64}$"
          },
          "expected_link_revision": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "artifact_digest",
          "expected_artifact_digest",
          "expected_link_revision"
        ],
        "additionalProperties": false
      },
      "http_shapes_links_update_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "project_id": {
                "type": "string"
              },
              "shape_id": {
                "type": "string"
              },
              "publisher_id": {
                "type": "string"
              },
              "revision_id": {
                "type": "string"
              },
              "artifact_digest": {
                "type": "string"
              },
              "generation": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "removed"
                ]
              },
              "link_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "linked_at": {
                "type": "string"
              },
              "removed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "project_id",
              "shape_id",
              "publisher_id",
              "revision_id",
              "artifact_digest",
              "generation",
              "status",
              "link_revision",
              "linked_at",
              "removed_at"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_shapes_links_remove_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "project_id": {
                "type": "string"
              },
              "shape_id": {
                "type": "string"
              },
              "publisher_id": {
                "type": "string"
              },
              "revision_id": {
                "type": "string"
              },
              "artifact_digest": {
                "type": "string"
              },
              "generation": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "status": {
                "type": "string",
                "enum": [
                  "active",
                  "removed"
                ]
              },
              "link_revision": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "linked_at": {
                "type": "string"
              },
              "removed_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "project_id",
              "shape_id",
              "publisher_id",
              "revision_id",
              "artifact_digest",
              "generation",
              "status",
              "link_revision",
              "linked_at",
              "removed_at"
            ],
            "additionalProperties": {}
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_views_slices_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "schema": {
                  "type": "string",
                  "const": "penumbra.context-slice"
                },
                "version": {
                  "type": "number",
                  "const": 1
                },
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "project_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 4096
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "draft_revision": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "draft_definition": {
                  "type": "object",
                  "properties": {
                    "purpose": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 1024
                    },
                    "scope": {
                      "default": {
                        "files": {
                          "file_ids": [],
                          "collection_ids": []
                        },
                        "graph": {
                          "node_ids": [],
                          "entity_type_ids": [],
                          "relationship_type_ids": []
                        },
                        "shape_ids": []
                      },
                      "type": "object",
                      "properties": {
                        "files": {
                          "default": {
                            "file_ids": [],
                            "collection_ids": []
                          },
                          "type": "object",
                          "properties": {
                            "file_ids": {
                              "default": [],
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "collection_ids": {
                              "default": [],
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            }
                          },
                          "required": [
                            "file_ids",
                            "collection_ids"
                          ],
                          "additionalProperties": false
                        },
                        "graph": {
                          "default": {
                            "node_ids": [],
                            "entity_type_ids": [],
                            "relationship_type_ids": []
                          },
                          "type": "object",
                          "properties": {
                            "node_ids": {
                              "default": [],
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "entity_type_ids": {
                              "default": [],
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "relationship_type_ids": {
                              "default": [],
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            }
                          },
                          "required": [
                            "node_ids",
                            "entity_type_ids",
                            "relationship_type_ids"
                          ],
                          "additionalProperties": false
                        },
                        "shape_ids": {
                          "default": [],
                          "maxItems": 32,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          }
                        }
                      },
                      "required": [
                        "files",
                        "graph",
                        "shape_ids"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "purpose",
                    "scope"
                  ],
                  "additionalProperties": false
                },
                "head": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "version_number": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "definition_hash": {
                          "type": "string",
                          "pattern": "^sha256:[0-9a-f]{64}$"
                        },
                        "resolved_hash": {
                          "type": "string",
                          "pattern": "^sha256:[0-9a-f]{64}$"
                        },
                        "published_at": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                        }
                      },
                      "required": [
                        "id",
                        "version_number",
                        "definition_hash",
                        "resolved_hash",
                        "published_at"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_by_subject_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "created_by_credential_id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                },
                "updated_at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                },
                "replayed": {
                  "type": "boolean"
                }
              },
              "required": [
                "schema",
                "version",
                "id",
                "project_id",
                "name",
                "description",
                "draft_revision",
                "draft_definition",
                "head",
                "created_by_subject_id",
                "created_by_credential_id",
                "created_at",
                "updated_at"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_views_slices_create_request": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 4096
              },
              {
                "type": "null"
              }
            ]
          },
          "definition": {
            "type": "object",
            "properties": {
              "purpose": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              "scope": {
                "default": {
                  "files": {
                    "file_ids": [],
                    "collection_ids": []
                  },
                  "graph": {
                    "node_ids": [],
                    "entity_type_ids": [],
                    "relationship_type_ids": []
                  },
                  "shape_ids": []
                },
                "type": "object",
                "properties": {
                  "files": {
                    "default": {
                      "file_ids": [],
                      "collection_ids": []
                    },
                    "type": "object",
                    "properties": {
                      "file_ids": {
                        "default": [],
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "collection_ids": {
                        "default": [],
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "graph": {
                    "default": {
                      "node_ids": [],
                      "entity_type_ids": [],
                      "relationship_type_ids": []
                    },
                    "type": "object",
                    "properties": {
                      "node_ids": {
                        "default": [],
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "entity_type_ids": {
                        "default": [],
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "relationship_type_ids": {
                        "default": [],
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "shape_ids": {
                    "default": [],
                    "maxItems": 32,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "purpose"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "name",
          "definition"
        ],
        "additionalProperties": false
      },
      "http_views_slices_create_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.context-slice"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 4096
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "draft_revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "draft_definition": {
                "type": "object",
                "properties": {
                  "purpose": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 1024
                  },
                  "scope": {
                    "default": {
                      "files": {
                        "file_ids": [],
                        "collection_ids": []
                      },
                      "graph": {
                        "node_ids": [],
                        "entity_type_ids": [],
                        "relationship_type_ids": []
                      },
                      "shape_ids": []
                    },
                    "type": "object",
                    "properties": {
                      "files": {
                        "default": {
                          "file_ids": [],
                          "collection_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "file_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "collection_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "file_ids",
                          "collection_ids"
                        ],
                        "additionalProperties": false
                      },
                      "graph": {
                        "default": {
                          "node_ids": [],
                          "entity_type_ids": [],
                          "relationship_type_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "node_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "entity_type_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "relationship_type_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "node_ids",
                          "entity_type_ids",
                          "relationship_type_ids"
                        ],
                        "additionalProperties": false
                      },
                      "shape_ids": {
                        "default": [],
                        "maxItems": 32,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "required": [
                      "files",
                      "graph",
                      "shape_ids"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "purpose",
                  "scope"
                ],
                "additionalProperties": false
              },
              "head": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "version_number": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "definition_hash": {
                        "type": "string",
                        "pattern": "^sha256:[0-9a-f]{64}$"
                      },
                      "resolved_hash": {
                        "type": "string",
                        "pattern": "^sha256:[0-9a-f]{64}$"
                      },
                      "published_at": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                      }
                    },
                    "required": [
                      "id",
                      "version_number",
                      "definition_hash",
                      "resolved_hash",
                      "published_at"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_by_subject_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "created_by_credential_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "updated_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "replayed": {
                "type": "boolean"
              }
            },
            "required": [
              "schema",
              "version",
              "id",
              "project_id",
              "name",
              "description",
              "draft_revision",
              "draft_definition",
              "head",
              "created_by_subject_id",
              "created_by_credential_id",
              "created_at",
              "updated_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_views_slices_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.context-slice"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 4096
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "draft_revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "draft_definition": {
                "type": "object",
                "properties": {
                  "purpose": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 1024
                  },
                  "scope": {
                    "default": {
                      "files": {
                        "file_ids": [],
                        "collection_ids": []
                      },
                      "graph": {
                        "node_ids": [],
                        "entity_type_ids": [],
                        "relationship_type_ids": []
                      },
                      "shape_ids": []
                    },
                    "type": "object",
                    "properties": {
                      "files": {
                        "default": {
                          "file_ids": [],
                          "collection_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "file_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "collection_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "file_ids",
                          "collection_ids"
                        ],
                        "additionalProperties": false
                      },
                      "graph": {
                        "default": {
                          "node_ids": [],
                          "entity_type_ids": [],
                          "relationship_type_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "node_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "entity_type_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "relationship_type_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "node_ids",
                          "entity_type_ids",
                          "relationship_type_ids"
                        ],
                        "additionalProperties": false
                      },
                      "shape_ids": {
                        "default": [],
                        "maxItems": 32,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "required": [
                      "files",
                      "graph",
                      "shape_ids"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "purpose",
                  "scope"
                ],
                "additionalProperties": false
              },
              "head": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "version_number": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "definition_hash": {
                        "type": "string",
                        "pattern": "^sha256:[0-9a-f]{64}$"
                      },
                      "resolved_hash": {
                        "type": "string",
                        "pattern": "^sha256:[0-9a-f]{64}$"
                      },
                      "published_at": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                      }
                    },
                    "required": [
                      "id",
                      "version_number",
                      "definition_hash",
                      "resolved_hash",
                      "published_at"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_by_subject_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "created_by_credential_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "updated_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "replayed": {
                "type": "boolean"
              }
            },
            "required": [
              "schema",
              "version",
              "id",
              "project_id",
              "name",
              "description",
              "draft_revision",
              "draft_definition",
              "head",
              "created_by_subject_id",
              "created_by_credential_id",
              "created_at",
              "updated_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_views_slices_update_request": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 4096
              },
              {
                "type": "null"
              }
            ]
          },
          "definition": {
            "type": "object",
            "properties": {
              "purpose": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              "scope": {
                "default": {
                  "files": {
                    "file_ids": [],
                    "collection_ids": []
                  },
                  "graph": {
                    "node_ids": [],
                    "entity_type_ids": [],
                    "relationship_type_ids": []
                  },
                  "shape_ids": []
                },
                "type": "object",
                "properties": {
                  "files": {
                    "default": {
                      "file_ids": [],
                      "collection_ids": []
                    },
                    "type": "object",
                    "properties": {
                      "file_ids": {
                        "default": [],
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "collection_ids": {
                        "default": [],
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "graph": {
                    "default": {
                      "node_ids": [],
                      "entity_type_ids": [],
                      "relationship_type_ids": []
                    },
                    "type": "object",
                    "properties": {
                      "node_ids": {
                        "default": [],
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "entity_type_ids": {
                        "default": [],
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "relationship_type_ids": {
                        "default": [],
                        "maxItems": 100,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "shape_ids": {
                    "default": [],
                    "maxItems": 32,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "purpose"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "expected_revision"
        ],
        "additionalProperties": false
      },
      "http_views_slices_update_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.context-slice"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 4096
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "draft_revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "draft_definition": {
                "type": "object",
                "properties": {
                  "purpose": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 1024
                  },
                  "scope": {
                    "default": {
                      "files": {
                        "file_ids": [],
                        "collection_ids": []
                      },
                      "graph": {
                        "node_ids": [],
                        "entity_type_ids": [],
                        "relationship_type_ids": []
                      },
                      "shape_ids": []
                    },
                    "type": "object",
                    "properties": {
                      "files": {
                        "default": {
                          "file_ids": [],
                          "collection_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "file_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "collection_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "file_ids",
                          "collection_ids"
                        ],
                        "additionalProperties": false
                      },
                      "graph": {
                        "default": {
                          "node_ids": [],
                          "entity_type_ids": [],
                          "relationship_type_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "node_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "entity_type_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "relationship_type_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "node_ids",
                          "entity_type_ids",
                          "relationship_type_ids"
                        ],
                        "additionalProperties": false
                      },
                      "shape_ids": {
                        "default": [],
                        "maxItems": 32,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "required": [
                      "files",
                      "graph",
                      "shape_ids"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "purpose",
                  "scope"
                ],
                "additionalProperties": false
              },
              "head": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "version_number": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "definition_hash": {
                        "type": "string",
                        "pattern": "^sha256:[0-9a-f]{64}$"
                      },
                      "resolved_hash": {
                        "type": "string",
                        "pattern": "^sha256:[0-9a-f]{64}$"
                      },
                      "published_at": {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                      }
                    },
                    "required": [
                      "id",
                      "version_number",
                      "definition_hash",
                      "resolved_hash",
                      "published_at"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_by_subject_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "created_by_credential_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "updated_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "replayed": {
                "type": "boolean"
              }
            },
            "required": [
              "schema",
              "version",
              "id",
              "project_id",
              "name",
              "description",
              "draft_revision",
              "draft_definition",
              "head",
              "created_by_subject_id",
              "created_by_credential_id",
              "created_at",
              "updated_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_views_versions_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "schema": {
                  "type": "string",
                  "const": "penumbra.context-slice-version"
                },
                "version": {
                  "type": "number",
                  "const": 1
                },
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "project_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "slice_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "version_number": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "source_draft_revision": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "definition": {
                  "type": "object",
                  "properties": {
                    "purpose": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 1024
                    },
                    "scope": {
                      "default": {
                        "files": {
                          "file_ids": [],
                          "collection_ids": []
                        },
                        "graph": {
                          "node_ids": [],
                          "entity_type_ids": [],
                          "relationship_type_ids": []
                        },
                        "shape_ids": []
                      },
                      "type": "object",
                      "properties": {
                        "files": {
                          "default": {
                            "file_ids": [],
                            "collection_ids": []
                          },
                          "type": "object",
                          "properties": {
                            "file_ids": {
                              "default": [],
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "collection_ids": {
                              "default": [],
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            }
                          },
                          "required": [
                            "file_ids",
                            "collection_ids"
                          ],
                          "additionalProperties": false
                        },
                        "graph": {
                          "default": {
                            "node_ids": [],
                            "entity_type_ids": [],
                            "relationship_type_ids": []
                          },
                          "type": "object",
                          "properties": {
                            "node_ids": {
                              "default": [],
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "entity_type_ids": {
                              "default": [],
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "relationship_type_ids": {
                              "default": [],
                              "maxItems": 100,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            }
                          },
                          "required": [
                            "node_ids",
                            "entity_type_ids",
                            "relationship_type_ids"
                          ],
                          "additionalProperties": false
                        },
                        "shape_ids": {
                          "default": [],
                          "maxItems": 32,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          }
                        }
                      },
                      "required": [
                        "files",
                        "graph",
                        "shape_ids"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "purpose",
                    "scope"
                  ],
                  "additionalProperties": false
                },
                "compiled": {
                  "type": "object",
                  "properties": {
                    "schema": {
                      "type": "string",
                      "const": "penumbra.project-context-compiled"
                    },
                    "version": {
                      "type": "number",
                      "const": 1
                    },
                    "compiler_version": {
                      "type": "string",
                      "const": "mesh-context-compiler/1"
                    },
                    "fingerprint": {
                      "type": "string",
                      "pattern": "^sha256:[0-9a-f]{64}$"
                    },
                    "project_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "purpose": {
                      "type": "string"
                    },
                    "definition": {
                      "type": "object",
                      "properties": {
                        "scope": {
                          "default": {
                            "files": {
                              "file_ids": [],
                              "collection_ids": []
                            },
                            "graph": {
                              "node_ids": [],
                              "entity_type_ids": [],
                              "relationship_type_ids": []
                            },
                            "shape_ids": []
                          },
                          "type": "object",
                          "properties": {
                            "files": {
                              "default": {
                                "file_ids": [],
                                "collection_ids": []
                              },
                              "type": "object",
                              "properties": {
                                "file_ids": {
                                  "default": [],
                                  "maxItems": 100,
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  }
                                },
                                "collection_ids": {
                                  "default": [],
                                  "maxItems": 100,
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  }
                                }
                              },
                              "required": [
                                "file_ids",
                                "collection_ids"
                              ],
                              "additionalProperties": false
                            },
                            "graph": {
                              "default": {
                                "node_ids": [],
                                "entity_type_ids": [],
                                "relationship_type_ids": []
                              },
                              "type": "object",
                              "properties": {
                                "node_ids": {
                                  "default": [],
                                  "maxItems": 100,
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  }
                                },
                                "entity_type_ids": {
                                  "default": [],
                                  "maxItems": 100,
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  }
                                },
                                "relationship_type_ids": {
                                  "default": [],
                                  "maxItems": 100,
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  }
                                }
                              },
                              "required": [
                                "node_ids",
                                "entity_type_ids",
                                "relationship_type_ids"
                              ],
                              "additionalProperties": false
                            },
                            "shape_ids": {
                              "default": [],
                              "maxItems": 32,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            }
                          },
                          "required": [
                            "files",
                            "graph",
                            "shape_ids"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "scope"
                      ],
                      "additionalProperties": false
                    },
                    "dependencies": {
                      "type": "object",
                      "properties": {
                        "ontology_revision": {
                          "type": "string",
                          "pattern": "^sha256:[0-9a-f]{64}$"
                        },
                        "shape_artifacts": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "shape_id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "artifact_digest": {
                                "type": "string",
                                "pattern": "^sha256:[0-9a-f]{64}$"
                              }
                            },
                            "required": [
                              "shape_id",
                              "artifact_digest"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "bridge_set_digest": {
                          "type": "string",
                          "pattern": "^sha256:[0-9a-f]{64}$"
                        }
                      },
                      "required": [
                        "ontology_revision",
                        "shape_artifacts",
                        "bridge_set_digest"
                      ],
                      "additionalProperties": false
                    },
                    "resolved_scope": {
                      "type": "object",
                      "properties": {
                        "files": {
                          "type": "object",
                          "properties": {
                            "file_ids": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "collection_ids": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            }
                          },
                          "required": [
                            "file_ids",
                            "collection_ids"
                          ],
                          "additionalProperties": false
                        },
                        "graph": {
                          "type": "object",
                          "properties": {
                            "node_ids": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "shape_ids": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "entity_type_ids": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "entity_type_names": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "relationship_type_ids": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              }
                            },
                            "relationship_type_names": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "search_relationships": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "node_ids",
                            "shape_ids",
                            "entity_type_ids",
                            "entity_type_names",
                            "relationship_type_ids",
                            "relationship_type_names",
                            "search_relationships"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "files",
                        "graph"
                      ],
                      "additionalProperties": false
                    },
                    "warnings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "catalog": {
                            "type": "string",
                            "enum": [
                              "files",
                              "graph",
                              "context"
                            ]
                          },
                          "detail": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "catalog",
                          "detail"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "schema",
                    "version",
                    "compiler_version",
                    "fingerprint",
                    "project_id",
                    "purpose",
                    "definition",
                    "dependencies",
                    "resolved_scope",
                    "warnings"
                  ],
                  "additionalProperties": false
                },
                "definition_hash": {
                  "type": "string",
                  "pattern": "^sha256:[0-9a-f]{64}$"
                },
                "resolved_hash": {
                  "type": "string",
                  "pattern": "^sha256:[0-9a-f]{64}$"
                },
                "compiler_version": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                },
                "previous_version_id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "published_by_subject_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "published_by_credential_id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "published_at": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                },
                "replayed": {
                  "type": "boolean"
                }
              },
              "required": [
                "schema",
                "version",
                "id",
                "project_id",
                "slice_id",
                "version_number",
                "source_draft_revision",
                "definition",
                "compiled",
                "definition_hash",
                "resolved_hash",
                "compiler_version",
                "previous_version_id",
                "published_by_subject_id",
                "published_by_credential_id",
                "published_at"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_views_versions_publish_request": {
        "type": "object",
        "properties": {
          "expected_revision": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "expected_compile_fingerprint": {
            "type": "string",
            "pattern": "^sha256:[0-9a-f]{64}$"
          }
        },
        "required": [
          "expected_revision",
          "expected_compile_fingerprint"
        ],
        "additionalProperties": false
      },
      "http_views_versions_publish_response": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "data": {
                "type": "object",
                "properties": {
                  "schema": {
                    "type": "string",
                    "const": "penumbra.context-slice-version"
                  },
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "project_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "slice_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "version_number": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "source_draft_revision": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "definition": {
                    "type": "object",
                    "properties": {
                      "purpose": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 1024
                      },
                      "scope": {
                        "default": {
                          "files": {
                            "file_ids": [],
                            "collection_ids": []
                          },
                          "graph": {
                            "node_ids": [],
                            "entity_type_ids": [],
                            "relationship_type_ids": []
                          },
                          "shape_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "files": {
                            "default": {
                              "file_ids": [],
                              "collection_ids": []
                            },
                            "type": "object",
                            "properties": {
                              "file_ids": {
                                "default": [],
                                "maxItems": 100,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              },
                              "collection_ids": {
                                "default": [],
                                "maxItems": 100,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              }
                            },
                            "required": [
                              "file_ids",
                              "collection_ids"
                            ],
                            "additionalProperties": false
                          },
                          "graph": {
                            "default": {
                              "node_ids": [],
                              "entity_type_ids": [],
                              "relationship_type_ids": []
                            },
                            "type": "object",
                            "properties": {
                              "node_ids": {
                                "default": [],
                                "maxItems": 100,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              },
                              "entity_type_ids": {
                                "default": [],
                                "maxItems": 100,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              },
                              "relationship_type_ids": {
                                "default": [],
                                "maxItems": 100,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              }
                            },
                            "required": [
                              "node_ids",
                              "entity_type_ids",
                              "relationship_type_ids"
                            ],
                            "additionalProperties": false
                          },
                          "shape_ids": {
                            "default": [],
                            "maxItems": 32,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "files",
                          "graph",
                          "shape_ids"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "purpose",
                      "scope"
                    ],
                    "additionalProperties": false
                  },
                  "compiled": {
                    "type": "object",
                    "properties": {
                      "schema": {
                        "type": "string",
                        "const": "penumbra.project-context-compiled"
                      },
                      "version": {
                        "type": "number",
                        "const": 1
                      },
                      "compiler_version": {
                        "type": "string",
                        "const": "mesh-context-compiler/1"
                      },
                      "fingerprint": {
                        "type": "string",
                        "pattern": "^sha256:[0-9a-f]{64}$"
                      },
                      "project_id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "purpose": {
                        "type": "string"
                      },
                      "definition": {
                        "type": "object",
                        "properties": {
                          "scope": {
                            "default": {
                              "files": {
                                "file_ids": [],
                                "collection_ids": []
                              },
                              "graph": {
                                "node_ids": [],
                                "entity_type_ids": [],
                                "relationship_type_ids": []
                              },
                              "shape_ids": []
                            },
                            "type": "object",
                            "properties": {
                              "files": {
                                "default": {
                                  "file_ids": [],
                                  "collection_ids": []
                                },
                                "type": "object",
                                "properties": {
                                  "file_ids": {
                                    "default": [],
                                    "maxItems": 100,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    }
                                  },
                                  "collection_ids": {
                                    "default": [],
                                    "maxItems": 100,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    }
                                  }
                                },
                                "required": [
                                  "file_ids",
                                  "collection_ids"
                                ],
                                "additionalProperties": false
                              },
                              "graph": {
                                "default": {
                                  "node_ids": [],
                                  "entity_type_ids": [],
                                  "relationship_type_ids": []
                                },
                                "type": "object",
                                "properties": {
                                  "node_ids": {
                                    "default": [],
                                    "maxItems": 100,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    }
                                  },
                                  "entity_type_ids": {
                                    "default": [],
                                    "maxItems": 100,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    }
                                  },
                                  "relationship_type_ids": {
                                    "default": [],
                                    "maxItems": 100,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    }
                                  }
                                },
                                "required": [
                                  "node_ids",
                                  "entity_type_ids",
                                  "relationship_type_ids"
                                ],
                                "additionalProperties": false
                              },
                              "shape_ids": {
                                "default": [],
                                "maxItems": 32,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              }
                            },
                            "required": [
                              "files",
                              "graph",
                              "shape_ids"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "scope"
                        ],
                        "additionalProperties": false
                      },
                      "dependencies": {
                        "type": "object",
                        "properties": {
                          "ontology_revision": {
                            "type": "string",
                            "pattern": "^sha256:[0-9a-f]{64}$"
                          },
                          "shape_artifacts": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "shape_id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "artifact_digest": {
                                  "type": "string",
                                  "pattern": "^sha256:[0-9a-f]{64}$"
                                }
                              },
                              "required": [
                                "shape_id",
                                "artifact_digest"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "bridge_set_digest": {
                            "type": "string",
                            "pattern": "^sha256:[0-9a-f]{64}$"
                          }
                        },
                        "required": [
                          "ontology_revision",
                          "shape_artifacts",
                          "bridge_set_digest"
                        ],
                        "additionalProperties": false
                      },
                      "resolved_scope": {
                        "type": "object",
                        "properties": {
                          "files": {
                            "type": "object",
                            "properties": {
                              "file_ids": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              },
                              "collection_ids": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              }
                            },
                            "required": [
                              "file_ids",
                              "collection_ids"
                            ],
                            "additionalProperties": false
                          },
                          "graph": {
                            "type": "object",
                            "properties": {
                              "node_ids": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              },
                              "shape_ids": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              },
                              "entity_type_ids": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              },
                              "entity_type_names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "relationship_type_ids": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              },
                              "relationship_type_names": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "search_relationships": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "node_ids",
                              "shape_ids",
                              "entity_type_ids",
                              "entity_type_names",
                              "relationship_type_ids",
                              "relationship_type_names",
                              "search_relationships"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "files",
                          "graph"
                        ],
                        "additionalProperties": false
                      },
                      "warnings": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "catalog": {
                              "type": "string",
                              "enum": [
                                "files",
                                "graph",
                                "context"
                              ]
                            },
                            "detail": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "code",
                            "catalog",
                            "detail"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "schema",
                      "version",
                      "compiler_version",
                      "fingerprint",
                      "project_id",
                      "purpose",
                      "definition",
                      "dependencies",
                      "resolved_scope",
                      "warnings"
                    ],
                    "additionalProperties": false
                  },
                  "definition_hash": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "resolved_hash": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "compiler_version": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 128
                  },
                  "previous_version_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "published_by_subject_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "published_by_credential_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "published_at": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                  },
                  "replayed": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "schema",
                  "version",
                  "id",
                  "project_id",
                  "slice_id",
                  "version_number",
                  "source_draft_revision",
                  "definition",
                  "compiled",
                  "definition_hash",
                  "resolved_hash",
                  "compiler_version",
                  "previous_version_id",
                  "published_by_subject_id",
                  "published_by_credential_id",
                  "published_at"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "data"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "request_id": {
                "type": "string"
              },
              "outcome": {
                "type": "string",
                "const": "pending"
              },
              "reason": {
                "type": "string"
              },
              "operation": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "status_url": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "request_id",
                  "status_url"
                ],
                "additionalProperties": false
              },
              "approval": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "expires_at": {
                    "type": "string"
                  },
                  "effects": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "next": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "status",
                  "expires_at",
                  "effects",
                  "next"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "request_id",
              "outcome",
              "reason",
              "operation",
              "approval"
            ],
            "additionalProperties": false
          }
        ]
      },
      "http_views_versions_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.context-slice-version"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "slice_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "version_number": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "source_draft_revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "definition": {
                "type": "object",
                "properties": {
                  "purpose": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 1024
                  },
                  "scope": {
                    "default": {
                      "files": {
                        "file_ids": [],
                        "collection_ids": []
                      },
                      "graph": {
                        "node_ids": [],
                        "entity_type_ids": [],
                        "relationship_type_ids": []
                      },
                      "shape_ids": []
                    },
                    "type": "object",
                    "properties": {
                      "files": {
                        "default": {
                          "file_ids": [],
                          "collection_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "file_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "collection_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "file_ids",
                          "collection_ids"
                        ],
                        "additionalProperties": false
                      },
                      "graph": {
                        "default": {
                          "node_ids": [],
                          "entity_type_ids": [],
                          "relationship_type_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "node_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "entity_type_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "relationship_type_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "node_ids",
                          "entity_type_ids",
                          "relationship_type_ids"
                        ],
                        "additionalProperties": false
                      },
                      "shape_ids": {
                        "default": [],
                        "maxItems": 32,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "required": [
                      "files",
                      "graph",
                      "shape_ids"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "purpose",
                  "scope"
                ],
                "additionalProperties": false
              },
              "compiled": {
                "type": "object",
                "properties": {
                  "schema": {
                    "type": "string",
                    "const": "penumbra.project-context-compiled"
                  },
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "compiler_version": {
                    "type": "string",
                    "const": "mesh-context-compiler/1"
                  },
                  "fingerprint": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "project_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "purpose": {
                    "type": "string"
                  },
                  "definition": {
                    "type": "object",
                    "properties": {
                      "scope": {
                        "default": {
                          "files": {
                            "file_ids": [],
                            "collection_ids": []
                          },
                          "graph": {
                            "node_ids": [],
                            "entity_type_ids": [],
                            "relationship_type_ids": []
                          },
                          "shape_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "files": {
                            "default": {
                              "file_ids": [],
                              "collection_ids": []
                            },
                            "type": "object",
                            "properties": {
                              "file_ids": {
                                "default": [],
                                "maxItems": 100,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              },
                              "collection_ids": {
                                "default": [],
                                "maxItems": 100,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              }
                            },
                            "required": [
                              "file_ids",
                              "collection_ids"
                            ],
                            "additionalProperties": false
                          },
                          "graph": {
                            "default": {
                              "node_ids": [],
                              "entity_type_ids": [],
                              "relationship_type_ids": []
                            },
                            "type": "object",
                            "properties": {
                              "node_ids": {
                                "default": [],
                                "maxItems": 100,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              },
                              "entity_type_ids": {
                                "default": [],
                                "maxItems": 100,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              },
                              "relationship_type_ids": {
                                "default": [],
                                "maxItems": 100,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                }
                              }
                            },
                            "required": [
                              "node_ids",
                              "entity_type_ids",
                              "relationship_type_ids"
                            ],
                            "additionalProperties": false
                          },
                          "shape_ids": {
                            "default": [],
                            "maxItems": 32,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "files",
                          "graph",
                          "shape_ids"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "scope"
                    ],
                    "additionalProperties": false
                  },
                  "dependencies": {
                    "type": "object",
                    "properties": {
                      "ontology_revision": {
                        "type": "string",
                        "pattern": "^sha256:[0-9a-f]{64}$"
                      },
                      "shape_artifacts": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "shape_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "artifact_digest": {
                              "type": "string",
                              "pattern": "^sha256:[0-9a-f]{64}$"
                            }
                          },
                          "required": [
                            "shape_id",
                            "artifact_digest"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "bridge_set_digest": {
                        "type": "string",
                        "pattern": "^sha256:[0-9a-f]{64}$"
                      }
                    },
                    "required": [
                      "ontology_revision",
                      "shape_artifacts",
                      "bridge_set_digest"
                    ],
                    "additionalProperties": false
                  },
                  "resolved_scope": {
                    "type": "object",
                    "properties": {
                      "files": {
                        "type": "object",
                        "properties": {
                          "file_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "collection_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "file_ids",
                          "collection_ids"
                        ],
                        "additionalProperties": false
                      },
                      "graph": {
                        "type": "object",
                        "properties": {
                          "node_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "shape_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "entity_type_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "entity_type_names": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "relationship_type_ids": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "relationship_type_names": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "search_relationships": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "node_ids",
                          "shape_ids",
                          "entity_type_ids",
                          "entity_type_names",
                          "relationship_type_ids",
                          "relationship_type_names",
                          "search_relationships"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "files",
                      "graph"
                    ],
                    "additionalProperties": false
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "catalog": {
                          "type": "string",
                          "enum": [
                            "files",
                            "graph",
                            "context"
                          ]
                        },
                        "detail": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "code",
                        "catalog",
                        "detail"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "schema",
                  "version",
                  "compiler_version",
                  "fingerprint",
                  "project_id",
                  "purpose",
                  "definition",
                  "dependencies",
                  "resolved_scope",
                  "warnings"
                ],
                "additionalProperties": false
              },
              "definition_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "resolved_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "compiler_version": {
                "type": "string",
                "minLength": 1,
                "maxLength": 128
              },
              "previous_version_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "published_by_subject_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "published_by_credential_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "published_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "replayed": {
                "type": "boolean"
              }
            },
            "required": [
              "schema",
              "version",
              "id",
              "project_id",
              "slice_id",
              "version_number",
              "source_draft_revision",
              "definition",
              "compiled",
              "definition_hash",
              "resolved_hash",
              "compiler_version",
              "previous_version_id",
              "published_by_subject_id",
              "published_by_credential_id",
              "published_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_views_versions_materialize_request": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2048
          },
          "mode": {
            "default": "hybrid",
            "type": "string",
            "enum": [
              "lexical",
              "hybrid",
              "semantic"
            ]
          },
          "limits": {
            "type": "object",
            "properties": {
              "max_tokens": {
                "type": "integer",
                "minimum": 512,
                "maximum": 32768
              }
            },
            "required": [
              "max_tokens"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "query",
          "limits"
        ],
        "additionalProperties": false
      },
      "http_views_versions_materialize_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.context-receipt"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "slice_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "slice_version_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "slice_version_number": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "query": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2048
              },
              "mode": {
                "type": "string",
                "enum": [
                  "lexical",
                  "hybrid",
                  "semantic"
                ]
              },
              "max_tokens": {
                "type": "integer",
                "minimum": 512,
                "maximum": 32768
              },
              "compile_fingerprint": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "definition_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "resolved_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "ontology_revision": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "membership_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "packet_semantic_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "packet_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "counts": {
                "type": "object",
                "properties": {
                  "evidence": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "entities": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "relationships": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "used_tokens": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "evidence",
                  "entities",
                  "relationships",
                  "used_tokens"
                ],
                "additionalProperties": false
              },
              "packet_resource": {
                "type": "string",
                "minLength": 1
              },
              "created_by_subject_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "created_by_credential_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "replayed": {
                "type": "boolean"
              }
            },
            "required": [
              "schema",
              "version",
              "id",
              "project_id",
              "slice_id",
              "slice_version_id",
              "slice_version_number",
              "query",
              "mode",
              "max_tokens",
              "compile_fingerprint",
              "definition_hash",
              "resolved_hash",
              "ontology_revision",
              "membership_hash",
              "packet_semantic_hash",
              "packet_hash",
              "counts",
              "packet_resource",
              "created_by_subject_id",
              "created_by_credential_id",
              "created_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_views_receipts_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.context-receipt"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "project_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "slice_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "slice_version_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "slice_version_number": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "query": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2048
              },
              "mode": {
                "type": "string",
                "enum": [
                  "lexical",
                  "hybrid",
                  "semantic"
                ]
              },
              "max_tokens": {
                "type": "integer",
                "minimum": 512,
                "maximum": 32768
              },
              "compile_fingerprint": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "definition_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "resolved_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "ontology_revision": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "membership_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "packet_semantic_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "packet_hash": {
                "type": "string",
                "pattern": "^sha256:[0-9a-f]{64}$"
              },
              "counts": {
                "type": "object",
                "properties": {
                  "evidence": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "entities": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "relationships": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "used_tokens": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  }
                },
                "required": [
                  "evidence",
                  "entities",
                  "relationships",
                  "used_tokens"
                ],
                "additionalProperties": false
              },
              "packet_resource": {
                "type": "string",
                "minLength": 1
              },
              "created_by_subject_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "created_by_credential_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "created_at": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "replayed": {
                "type": "boolean"
              }
            },
            "required": [
              "schema",
              "version",
              "id",
              "project_id",
              "slice_id",
              "slice_version_id",
              "slice_version_number",
              "query",
              "mode",
              "max_tokens",
              "compile_fingerprint",
              "definition_hash",
              "resolved_hash",
              "ontology_revision",
              "membership_hash",
              "packet_semantic_hash",
              "packet_hash",
              "counts",
              "packet_resource",
              "created_by_subject_id",
              "created_by_credential_id",
              "created_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_views_receipts_packet_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "receipt": {
                "type": "object",
                "properties": {
                  "schema": {
                    "type": "string",
                    "const": "penumbra.context-receipt"
                  },
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "project_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "slice_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "slice_version_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "slice_version_number": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "query": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2048
                  },
                  "mode": {
                    "type": "string",
                    "enum": [
                      "lexical",
                      "hybrid",
                      "semantic"
                    ]
                  },
                  "max_tokens": {
                    "type": "integer",
                    "minimum": 512,
                    "maximum": 32768
                  },
                  "compile_fingerprint": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "definition_hash": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "resolved_hash": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "ontology_revision": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "membership_hash": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "packet_semantic_hash": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "packet_hash": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "counts": {
                    "type": "object",
                    "properties": {
                      "evidence": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "entities": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "relationships": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "used_tokens": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      }
                    },
                    "required": [
                      "evidence",
                      "entities",
                      "relationships",
                      "used_tokens"
                    ],
                    "additionalProperties": false
                  },
                  "packet_resource": {
                    "type": "string",
                    "minLength": 1
                  },
                  "created_by_subject_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "created_by_credential_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                  },
                  "replayed": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "schema",
                  "version",
                  "id",
                  "project_id",
                  "slice_id",
                  "slice_version_id",
                  "slice_version_number",
                  "query",
                  "mode",
                  "max_tokens",
                  "compile_fingerprint",
                  "definition_hash",
                  "resolved_hash",
                  "ontology_revision",
                  "membership_hash",
                  "packet_semantic_hash",
                  "packet_hash",
                  "counts",
                  "packet_resource",
                  "created_by_subject_id",
                  "created_by_credential_id",
                  "created_at"
                ],
                "additionalProperties": false
              },
              "packet": {
                "type": "object",
                "properties": {
                  "schema": {
                    "type": "string",
                    "const": "penumbra.project-context-packet"
                  },
                  "version": {
                    "type": "number",
                    "const": 1
                  },
                  "compile_fingerprint": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "membership_hash": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "packet_semantic_hash": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "packet_hash": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "render_profile": {
                    "type": "string",
                    "const": "agent-evidence"
                  },
                  "render_version": {
                    "type": "string",
                    "const": "mesh-context-packet/1"
                  },
                  "project_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "ontology_revision": {
                    "type": "string",
                    "pattern": "^sha256:[0-9a-f]{64}$"
                  },
                  "purpose": {
                    "type": "string"
                  },
                  "query": {
                    "type": "string"
                  },
                  "mode_requested": {
                    "type": "string",
                    "enum": [
                      "lexical",
                      "hybrid",
                      "semantic"
                    ]
                  },
                  "scope": {
                    "default": {
                      "files": {
                        "file_ids": [],
                        "collection_ids": []
                      },
                      "graph": {
                        "node_ids": [],
                        "entity_type_ids": [],
                        "relationship_type_ids": []
                      },
                      "shape_ids": []
                    },
                    "type": "object",
                    "properties": {
                      "files": {
                        "default": {
                          "file_ids": [],
                          "collection_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "file_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "collection_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "file_ids",
                          "collection_ids"
                        ],
                        "additionalProperties": false
                      },
                      "graph": {
                        "default": {
                          "node_ids": [],
                          "entity_type_ids": [],
                          "relationship_type_ids": []
                        },
                        "type": "object",
                        "properties": {
                          "node_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "entity_type_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          },
                          "relationship_type_ids": {
                            "default": [],
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            }
                          }
                        },
                        "required": [
                          "node_ids",
                          "entity_type_ids",
                          "relationship_type_ids"
                        ],
                        "additionalProperties": false
                      },
                      "shape_ids": {
                        "default": [],
                        "maxItems": 32,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "required": [
                      "files",
                      "graph",
                      "shape_ids"
                    ],
                    "additionalProperties": false
                  },
                  "budget": {
                    "type": "object",
                    "properties": {
                      "max_tokens": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "used_tokens": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "candidates": {
                        "type": "object",
                        "properties": {
                          "evidence": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "entities": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "relationships": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "evidence",
                          "entities",
                          "relationships"
                        ],
                        "additionalProperties": false
                      },
                      "included": {
                        "type": "object",
                        "properties": {
                          "evidence": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "entities": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "relationships": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "evidence",
                          "entities",
                          "relationships"
                        ],
                        "additionalProperties": false
                      },
                      "truncated": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "max_tokens",
                      "used_tokens",
                      "candidates",
                      "included",
                      "truncated"
                    ],
                    "additionalProperties": false
                  },
                  "coverage": {
                    "type": "object",
                    "properties": {
                      "files": {
                        "type": "object",
                        "properties": {
                          "mode_used": {
                            "type": "string",
                            "enum": [
                              "lexical",
                              "hybrid",
                              "semantic"
                            ]
                          },
                          "semantic": {
                            "type": "string",
                            "enum": [
                              "full",
                              "partial",
                              "none"
                            ]
                          },
                          "eligible_versions": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "semantic_ready_versions": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "semantic_excluded_versions": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "mode_used",
                          "semantic",
                          "eligible_versions",
                          "semantic_ready_versions",
                          "semantic_excluded_versions"
                        ],
                        "additionalProperties": false
                      },
                      "graph": {
                        "type": "object",
                        "properties": {
                          "entities": {
                            "type": "object",
                            "properties": {
                              "requested": {
                                "type": "boolean"
                              },
                              "mode_used": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "lexical",
                                      "hybrid",
                                      "semantic"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "lexical": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "coverage": {
                                        "type": "string",
                                        "enum": [
                                          "full",
                                          "partial",
                                          "none"
                                        ]
                                      },
                                      "eligible_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "ready_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "excluded_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "coverage",
                                      "eligible_resources",
                                      "ready_resources",
                                      "excluded_resources"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "semantic": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "coverage": {
                                        "type": "string",
                                        "enum": [
                                          "full",
                                          "partial",
                                          "none"
                                        ]
                                      },
                                      "eligible_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "ready_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "excluded_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "coverage",
                                      "eligible_resources",
                                      "ready_resources",
                                      "excluded_resources"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "requested",
                              "mode_used",
                              "lexical",
                              "semantic"
                            ],
                            "additionalProperties": false
                          },
                          "relationships": {
                            "type": "object",
                            "properties": {
                              "requested": {
                                "type": "boolean"
                              },
                              "mode_used": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "lexical",
                                      "hybrid",
                                      "semantic"
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "lexical": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "coverage": {
                                        "type": "string",
                                        "enum": [
                                          "full",
                                          "partial",
                                          "none"
                                        ]
                                      },
                                      "eligible_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "ready_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "excluded_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "coverage",
                                      "eligible_resources",
                                      "ready_resources",
                                      "excluded_resources"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "semantic": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "coverage": {
                                        "type": "string",
                                        "enum": [
                                          "full",
                                          "partial",
                                          "none"
                                        ]
                                      },
                                      "eligible_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "ready_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "excluded_resources": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "coverage",
                                      "eligible_resources",
                                      "ready_resources",
                                      "excluded_resources"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "requested",
                              "mode_used",
                              "lexical",
                              "semantic"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "entities",
                          "relationships"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "files",
                      "graph"
                    ],
                    "additionalProperties": false
                  },
                  "evidence": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^sha256:[0-9a-f]{64}$"
                        },
                        "kind": {
                          "type": "string",
                          "const": "file"
                        },
                        "file_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "file_name": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "version_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "version_number": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "content_digest": {
                          "type": "string",
                          "pattern": "^sha256:[0-9a-f]{64}$"
                        },
                        "chunk_id": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "location": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "page": {
                                  "anyOf": [
                                    {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "section": {
                                  "anyOf": [
                                    {
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "start_offset": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "end_offset": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "offset_unit": {
                                  "type": "string",
                                  "const": "utf8_byte"
                                }
                              },
                              "required": [
                                "page",
                                "section",
                                "start_offset",
                                "end_offset",
                                "offset_unit"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "text": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "catalog_rank": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "supports": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "resource_kind": {
                                "type": "string",
                                "enum": [
                                  "node",
                                  "edge"
                                ]
                              },
                              "resource_id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "revision": {
                                "type": "integer",
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "resource_kind",
                              "resource_id",
                              "revision"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "notes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "id",
                        "kind",
                        "file_id",
                        "file_name",
                        "version_id",
                        "version_number",
                        "content_digest",
                        "chunk_id",
                        "location",
                        "text",
                        "catalog_rank",
                        "supports",
                        "notes"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "entities": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "type": {
                          "type": "string"
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "properties": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "binding": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "const": "shape"
                            },
                            "artifact": {
                              "type": "object",
                              "properties": {
                                "shape_id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "artifact_digest": {
                                  "type": "string",
                                  "pattern": "^sha256:[0-9a-f]{64}$"
                                }
                              },
                              "required": [
                                "shape_id",
                                "artifact_digest"
                              ],
                              "additionalProperties": false
                            },
                            "semantic": {}
                          },
                          "required": [
                            "kind",
                            "artifact",
                            "semantic"
                          ],
                          "additionalProperties": false
                        },
                        "catalog_rank": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "evidence_ids": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^sha256:[0-9a-f]{64}$"
                          }
                        }
                      },
                      "required": [
                        "id",
                        "revision",
                        "type",
                        "name",
                        "description",
                        "properties",
                        "binding",
                        "catalog_rank",
                        "evidence_ids"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "relationships": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "revision": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "source_node_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "target_node_id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "type": {
                          "type": "string"
                        },
                        "properties": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        },
                        "binding": {
                          "oneOf": [
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "shape"
                                },
                                "artifact": {
                                  "type": "object",
                                  "properties": {
                                    "shape_id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    },
                                    "artifact_digest": {
                                      "type": "string",
                                      "pattern": "^sha256:[0-9a-f]{64}$"
                                    }
                                  },
                                  "required": [
                                    "shape_id",
                                    "artifact_digest"
                                  ],
                                  "additionalProperties": false
                                },
                                "semantic": {}
                              },
                              "required": [
                                "kind",
                                "artifact",
                                "semantic"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "project_bridge"
                                },
                                "bridge_set_digest": {
                                  "type": "string",
                                  "pattern": "^sha256:[0-9a-f]{64}$"
                                },
                                "project_version_hash": {
                                  "type": "string",
                                  "pattern": "^[0-9a-f]{64}$"
                                },
                                "semantic": {}
                              },
                              "required": [
                                "kind",
                                "bridge_set_digest",
                                "project_version_hash",
                                "semantic"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        "catalog_rank": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991
                        },
                        "evidence_ids": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^sha256:[0-9a-f]{64}$"
                          }
                        }
                      },
                      "required": [
                        "id",
                        "revision",
                        "source_node_id",
                        "target_node_id",
                        "type",
                        "properties",
                        "binding",
                        "catalog_rank",
                        "evidence_ids"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "catalog": {
                          "type": "string",
                          "enum": [
                            "files",
                            "graph",
                            "context"
                          ]
                        },
                        "detail": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "code",
                        "catalog",
                        "detail"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "prompt": {
                    "type": "string"
                  }
                },
                "required": [
                  "schema",
                  "version",
                  "compile_fingerprint",
                  "membership_hash",
                  "packet_semantic_hash",
                  "packet_hash",
                  "render_profile",
                  "render_version",
                  "project_id",
                  "ontology_revision",
                  "purpose",
                  "query",
                  "mode_requested",
                  "scope",
                  "budget",
                  "coverage",
                  "evidence",
                  "entities",
                  "relationships",
                  "warnings",
                  "prompt"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "receipt",
              "packet"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_views_retire_request": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "http_views_retire_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "name": {
                "type": "string"
              },
              "retired": {
                "type": "boolean",
                "const": true
              }
            },
            "required": [
              "id",
              "name",
              "retired"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_brains_list_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "schema": {
                "type": "string",
                "const": "penumbra.project-brains"
              },
              "version": {
                "type": "number",
                "const": 1
              },
              "organization": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "slug",
                  "name"
                ],
                "additionalProperties": false
              },
              "project": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "slug": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "slug",
                  "name"
                ],
                "additionalProperties": false
              },
              "brains": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "name": {
                      "type": "string"
                    },
                    "purpose": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "view": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "name": {
                          "type": "string"
                        },
                        "head_version_number": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "created_version_number": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "retired": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "head_version_number",
                        "created_version_number",
                        "retired"
                      ],
                      "additionalProperties": false
                    },
                    "kit": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "name": {
                              "type": "string"
                            },
                            "version_id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "version_number": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "retired": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "version_id",
                            "version_number",
                            "retired"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "instance_instructions": {
                      "type": "string"
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "updated_at": {
                      "type": "string"
                    },
                    "retired_at": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "doors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "brain_id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "client",
                              "connection",
                              "api_key",
                              "invitation",
                              "app"
                            ]
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "active",
                              "moved",
                              "closed"
                            ]
                          },
                          "label": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "subject_id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "credential_id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "connection_id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "kit_version_id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "invitation_id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "view": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "boundary_id": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "retired": {
                                    "type": "boolean"
                                  },
                                  "mode": {
                                    "type": "string",
                                    "enum": [
                                      "follow",
                                      "pinned"
                                    ]
                                  },
                                  "pinned_version_id": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "graph_mode": {
                                    "type": "string",
                                    "enum": [
                                      "backed",
                                      "types"
                                    ]
                                  }
                                },
                                "required": [
                                  "boundary_id",
                                  "id",
                                  "name",
                                  "retired",
                                  "mode",
                                  "pinned_version_id",
                                  "graph_mode"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "assistants": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "kit",
                                    "consent"
                                  ]
                                },
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "added_at": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "brain_id",
                          "kind",
                          "state",
                          "label",
                          "subject_id",
                          "credential_id",
                          "connection_id",
                          "kit_version_id",
                          "invitation_id",
                          "view",
                          "assistants",
                          "added_at"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "purpose",
                    "view",
                    "kit",
                    "instance_instructions",
                    "created_at",
                    "updated_at",
                    "retired_at",
                    "doors"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "schema",
              "version",
              "organization",
              "project",
              "brains"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_brains_create_request": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 200
          },
          "purpose": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 4096
              },
              {
                "type": "null"
              }
            ]
          },
          "view_id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "kit_version_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              {
                "type": "null"
              }
            ]
          },
          "instance_instructions": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "view_id"
        ],
        "additionalProperties": false
      },
      "http_brains_create_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "name": {
                "type": "string"
              },
              "purpose": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "view": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "head_version_number": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_version_number": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "retired": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "head_version_number",
                  "created_version_number",
                  "retired"
                ],
                "additionalProperties": false
              },
              "kit": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version_id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "version_number": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "retired": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "version_id",
                      "version_number",
                      "retired"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "instance_instructions": {
                "type": "string"
              },
              "created_at": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "retired_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "doors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "brain_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "client",
                        "connection",
                        "api_key",
                        "invitation",
                        "app"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "active",
                        "moved",
                        "closed"
                      ]
                    },
                    "label": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "subject_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "credential_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "connection_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "kit_version_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "invitation_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "view": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "boundary_id": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "name": {
                              "type": "string"
                            },
                            "retired": {
                              "type": "boolean"
                            },
                            "mode": {
                              "type": "string",
                              "enum": [
                                "follow",
                                "pinned"
                              ]
                            },
                            "pinned_version_id": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "graph_mode": {
                              "type": "string",
                              "enum": [
                                "backed",
                                "types"
                              ]
                            }
                          },
                          "required": [
                            "boundary_id",
                            "id",
                            "name",
                            "retired",
                            "mode",
                            "pinned_version_id",
                            "graph_mode"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assistants": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "kit",
                              "consent"
                            ]
                          },
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "added_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "brain_id",
                    "kind",
                    "state",
                    "label",
                    "subject_id",
                    "credential_id",
                    "connection_id",
                    "kit_version_id",
                    "invitation_id",
                    "view",
                    "assistants",
                    "added_at"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "name",
              "purpose",
              "view",
              "kit",
              "instance_instructions",
              "created_at",
              "updated_at",
              "retired_at",
              "doors"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_brains_get_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "name": {
                "type": "string"
              },
              "purpose": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "view": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "head_version_number": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_version_number": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "retired": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "head_version_number",
                  "created_version_number",
                  "retired"
                ],
                "additionalProperties": false
              },
              "kit": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version_id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "version_number": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "retired": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "version_id",
                      "version_number",
                      "retired"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "instance_instructions": {
                "type": "string"
              },
              "created_at": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "retired_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "doors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "brain_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "client",
                        "connection",
                        "api_key",
                        "invitation",
                        "app"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "active",
                        "moved",
                        "closed"
                      ]
                    },
                    "label": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "subject_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "credential_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "connection_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "kit_version_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "invitation_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "view": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "boundary_id": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "name": {
                              "type": "string"
                            },
                            "retired": {
                              "type": "boolean"
                            },
                            "mode": {
                              "type": "string",
                              "enum": [
                                "follow",
                                "pinned"
                              ]
                            },
                            "pinned_version_id": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "graph_mode": {
                              "type": "string",
                              "enum": [
                                "backed",
                                "types"
                              ]
                            }
                          },
                          "required": [
                            "boundary_id",
                            "id",
                            "name",
                            "retired",
                            "mode",
                            "pinned_version_id",
                            "graph_mode"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assistants": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "kit",
                              "consent"
                            ]
                          },
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "added_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "brain_id",
                    "kind",
                    "state",
                    "label",
                    "subject_id",
                    "credential_id",
                    "connection_id",
                    "kit_version_id",
                    "invitation_id",
                    "view",
                    "assistants",
                    "added_at"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "name",
              "purpose",
              "view",
              "kit",
              "instance_instructions",
              "created_at",
              "updated_at",
              "retired_at",
              "doors"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      },
      "http_brains_update_request": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 200
          },
          "purpose": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 4096
              },
              {
                "type": "null"
              }
            ]
          },
          "kit_version_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              {
                "type": "null"
              }
            ]
          },
          "instance_instructions": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "http_brains_update_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "name": {
                "type": "string"
              },
              "purpose": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "view": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "head_version_number": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_version_number": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "retired": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "head_version_number",
                  "created_version_number",
                  "retired"
                ],
                "additionalProperties": false
              },
              "kit": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "name": {
                        "type": "string"
                      },
                      "version_id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "version_number": {
                        "type": "integer",
                        "minimum": -9007199254740991,
                        "maximum": 9007199254740991
                      },
                      "retired": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "version_id",
                      "version_number",
                      "retired"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "instance_instructions": {
                "type": "string"
              },
              "created_at": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "retired_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "doors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "brain_id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "client",
                        "connection",
                        "api_key",
                        "invitation",
                        "app"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "active",
                        "moved",
                        "closed"
                      ]
                    },
                    "label": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "subject_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "credential_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "connection_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "kit_version_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "invitation_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "view": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "boundary_id": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "name": {
                              "type": "string"
                            },
                            "retired": {
                              "type": "boolean"
                            },
                            "mode": {
                              "type": "string",
                              "enum": [
                                "follow",
                                "pinned"
                              ]
                            },
                            "pinned_version_id": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "graph_mode": {
                              "type": "string",
                              "enum": [
                                "backed",
                                "types"
                              ]
                            }
                          },
                          "required": [
                            "boundary_id",
                            "id",
                            "name",
                            "retired",
                            "mode",
                            "pinned_version_id",
                            "graph_mode"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assistants": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "kit",
                              "consent"
                            ]
                          },
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "name"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "added_at": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "brain_id",
                    "kind",
                    "state",
                    "label",
                    "subject_id",
                    "credential_id",
                    "connection_id",
                    "kit_version_id",
                    "invitation_id",
                    "view",
                    "assistants",
                    "added_at"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "name",
              "purpose",
              "view",
              "kit",
              "instance_instructions",
              "created_at",
              "updated_at",
              "retired_at",
              "doors"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_brains_doors_attach_request": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "client"
              },
              "subject_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            },
            "required": [
              "kind",
              "subject_id"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "connection"
              },
              "connection_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            },
            "required": [
              "kind",
              "connection_id"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "api_key"
              },
              "credential_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            },
            "required": [
              "kind",
              "credential_id"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "invitation"
              },
              "invitation_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              }
            },
            "required": [
              "kind",
              "invitation_id"
            ],
            "additionalProperties": false
          }
        ]
      },
      "http_brains_doors_attach_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "brain_id": {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              "kind": {
                "type": "string",
                "enum": [
                  "client",
                  "connection",
                  "api_key",
                  "invitation",
                  "app"
                ]
              },
              "state": {
                "type": "string",
                "enum": [
                  "active",
                  "moved",
                  "closed"
                ]
              },
              "label": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "subject_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "credential_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "connection_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "kit_version_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "invitation_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "view": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "boundary_id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "id": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "name": {
                        "type": "string"
                      },
                      "retired": {
                        "type": "boolean"
                      },
                      "mode": {
                        "type": "string",
                        "enum": [
                          "follow",
                          "pinned"
                        ]
                      },
                      "pinned_version_id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "graph_mode": {
                        "type": "string",
                        "enum": [
                          "backed",
                          "types"
                        ]
                      }
                    },
                    "required": [
                      "boundary_id",
                      "id",
                      "name",
                      "retired",
                      "mode",
                      "pinned_version_id",
                      "graph_mode"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "assistants": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "kit",
                        "consent"
                      ]
                    },
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "name": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "name"
                  ],
                  "additionalProperties": false
                }
              },
              "added_at": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "brain_id",
              "kind",
              "state",
              "label",
              "subject_id",
              "credential_id",
              "connection_id",
              "kit_version_id",
              "invitation_id",
              "view",
              "assistants",
              "added_at"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_brains_doors_remove_request": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "http_brains_doors_remove_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "brain": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "view_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "retired_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "name",
                  "view_id",
                  "retired_at"
                ],
                "additionalProperties": false
              },
              "door": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "kind": {
                    "type": "string",
                    "enum": [
                      "client",
                      "connection",
                      "api_key",
                      "invitation",
                      "app"
                    ]
                  },
                  "subject_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "credential_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "invitation_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "result": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "revoked",
                          "already_closed",
                          "failed",
                          "unchanged"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "code": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "permission_denied",
                          "pending_invitation",
                          "owner_protected",
                          "door_changed",
                          "door_unresolved",
                          "revoke_failed"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "required": {
                    "anyOf": [
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "organization_admin",
                            "project_admin"
                          ]
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "assistants_revoked": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "connection_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "accepted_subject_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "removed_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "kind",
                  "subject_id",
                  "credential_id",
                  "invitation_id",
                  "result",
                  "code",
                  "required",
                  "assistants_revoked",
                  "connection_id",
                  "accepted_subject_id",
                  "removed_at"
                ],
                "additionalProperties": false
              },
              "already_removed": {
                "type": "boolean"
              }
            },
            "required": [
              "brain",
              "door",
              "already_removed"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      },
      "http_brains_receipts_response": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "brain_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "door_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "boundary_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "operation": {
                  "type": "string"
                },
                "door": {
                  "type": "string",
                  "enum": [
                    "person",
                    "connection",
                    "api_key",
                    "app"
                  ]
                },
                "slice_version_id": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "version_number": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "returned_count": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "request_digest": {
                  "type": "string"
                },
                "returned_digest": {
                  "type": "string"
                },
                "created_at": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "brain_id",
                "door_id",
                "boundary_id",
                "operation",
                "door",
                "slice_version_id",
                "version_number",
                "returned_count",
                "request_digest",
                "returned_digest",
                "created_at"
              ],
              "additionalProperties": false
            }
          },
          "page": {
            "type": "object",
            "properties": {
              "has_more": {
                "type": "boolean"
              },
              "next_before": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "has_more",
              "next_before"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "data",
          "page"
        ],
        "additionalProperties": false
      },
      "http_brains_retire_request": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "http_brains_retire_response": {
        "type": "object",
        "properties": {
          "request_id": {
            "type": "string"
          },
          "outcome": {
            "type": "string",
            "const": "applied"
          },
          "replayed": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "properties": {
              "brain": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "name": {
                    "type": "string"
                  },
                  "view_id": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "retired_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "name",
                  "view_id",
                  "retired_at"
                ],
                "additionalProperties": false
              },
              "doors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "client",
                        "connection",
                        "api_key",
                        "invitation",
                        "app"
                      ]
                    },
                    "subject_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "credential_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "invitation_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "result": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "revoked",
                            "already_closed",
                            "failed",
                            "unchanged"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "code": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "permission_denied",
                            "pending_invitation",
                            "owner_protected",
                            "door_changed",
                            "door_unresolved",
                            "revoke_failed"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "required": {
                      "anyOf": [
                        {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "organization_admin",
                              "project_admin"
                            ]
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "assistants_revoked": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "connection_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "accepted_subject_id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "kind",
                    "subject_id",
                    "credential_id",
                    "invitation_id",
                    "result",
                    "code",
                    "required",
                    "assistants_revoked",
                    "connection_id",
                    "accepted_subject_id"
                  ],
                  "additionalProperties": false
                }
              },
              "already_retired": {
                "type": "boolean"
              }
            },
            "required": [
              "brain",
              "doors",
              "already_retired"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "request_id",
          "outcome",
          "replayed",
          "data"
        ],
        "additionalProperties": {}
      }
    }
  }
}
